Smart Alarm Clock

I always thought it would be cool to have a smart alarm clock, so I decided to build one for my kids rooms. I'm still working on this project, but I thought I would share it with the community.

I eventually plan on building it into some sort of cool case, like a toy t-rex or something.

I've used a few external libraries, and in some cases I had to modify them. Below are the links to the source, and I've attached my edited files to this project:

History:

  • v0.0.2 === Small updates to functionality ( updated ClockRebuild.ino file )

Planned features:

  • Time Display | [DONE]
  • Time update from controller plus onboard RTC | [DONE]
  • Alarm | [DONE]
    • Set from controller | [DONE]
    • Set locally (using 3 buttons) | [IN-PROGRESS]
    • Turned on/off locally or remotely | [DONE]
    • Play music | [PART 1 DONE, PLAYS TONES. PART 2 WILL PLAY ACTUAL MUSIC]
    • Wake-up light | [DONE]
  • Night light (locally or remotely) | [DONE]
  • Bed Occupancy Sensor | [NOT STARTED] Source: https://www.openhardware.io/view/65/Bed-Occupancy-Sensor
  • Smart snooze | [NOT STARTED]
  • Control room lights | [NOT STARTED]

Example video of some of the functionality:

Wiring diagram (to-date) enter image description here

Images

Source Code

NameSize# Downloads
pitches.h1.97 kB59
AnalogMatrixKeypad.cpp4.36 kB68
AnalogMatrixKeypad.h1.19 kB50
DS3232RTC.h5.94 kB62
DS3232RTC.cpp13.97 kB70
TimeAlarms.cpp8.97 kB74
TimeAlarms.h6.83 kB60

Bill of Material

QtyValueDevicePackagePartsDescriptionMFMPNAliexpress or Ebay link
14.28Arduino UnoAliExpress: https://www.aliexpress.com/item/Best-prices-high...
11.80NRF24L01+AliExpress: 1pc NRF24L01+ 2.4GHz Antenna Wireless Transceive...
20.10Resistor - 100
10.10Resistor - 220
10.10Resistor - 680
10.10Resistor - 1000
10.10Resistor - 2200
10.10Resistor - 4700
10.39N-channel MOSFETpack of 10AliExpress: https://www.aliexpress.com/item/10PCS-FQP30N06-F...
50.466*6*4.3mm Switch Push Button Tactilepack of 30AliExpress: https://www.aliexpress.com/item/High-Quality-Arr...
11.050.36" LED 4-Digit DisplayAliExpress: 4 Bits Digital Tube LED Display Module With Cloc...
11.5960mm White 15 LED 1210/3528 SMD DC12Vset of 2AliExpress: High Quality 2X 60mm White 15 LED 1210/3528 SMD ...
13.08AC 100-240V to DC 12V 1A Power Supply Converter AdapterAliExpress: https://www.aliexpress.com/item/J34-Free-Shippin...
10.82DS3231 High Precision Real-Time Clock Module (3.3~5.5V)AliExpress: https://www.aliexpress.com/item/20pcs-lot-DS3231...
10.10Capacitor - 4.7uFAliExpress: D0036 free shipping 50pcs Aluminum electrolytic ...
11.45Speaker - 0.5w/8ohmset of 3AliExpress: https://www.aliexpress.com/item/3Pcs-0-5W-8-Ohm-...

Gateways

Sensors & Actuators

Related Content

Comments