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
ClockRebuild.ino17.21 kB2596
pitches.h1.97 kB2737
AnalogMatrixKeypad.cpp4.36 kB2683
AnalogMatrixKeypad.h1.19 kB3771
DS3232RTC.h5.94 kB4282
DS3232RTC.cpp13.97 kB2176
TimeAlarms.cpp8.97 kB2513
TimeAlarms.h6.83 kB4696

Bill of Material

QtyValueDevicePackagePartsDescriptionMFMPNAliexpress or Ebay link
14.28Arduino UnoAliExpress: https://www.aliexpress.com/item//32656985498.htm...
11.80NRF24L01+AliExpress: https://www.aliexpress.com/item//32584314773.htm...
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//2025804061.html
50.466*6*4.3mm Switch Push Button Tactilepack of 30AliExpress: https://www.aliexpress.com/item//32631542760.htm...
11.050.36" LED 4-Digit DisplayAliExpress: https://www.aliexpress.com/item//32533714278.htm...
11.5960mm White 15 LED 1210/3528 SMD DC12Vset of 2AliExpress: https://www.aliexpress.com/item//32469907846.htm...
13.08AC 100-240V to DC 12V 1A Power Supply Converter AdapterAliExpress: https://www.aliexpress.com/item//32599654361.htm...
10.82DS3231 High Precision Real-Time Clock Module (3.3~5.5V)AliExpress: 1pcs DS3231 AT24C32 IIC Module Precision Clock M...
10.10Capacitor - 4.7uFAliExpress: https://www.aliexpress.com/item//32326602415.htm...
11.45Speaker - 0.5w/8ohmset of 3AliExpress: https://www.aliexpress.com/item//32615785330.htm...

Gateways

Sensors & Actuators

Related Content

Comments