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:
Planned features:
Example video of some of the functionality:
Wiring diagram (to-date)

| Qty | Value | Device | Package | Parts | Description | MF | MPN | Aliexpress or Ebay link |
|---|---|---|---|---|---|---|---|---|
| 1 | 4.28 | Arduino Uno | https://www.aliexpress.com/item/Best-prices-high-quality-UNO-R3-MEGA328P-for-Arduino-UNO-R3-NO-USB-CABLE/32656985498.html?ws_ab_test=searchweb0_0,searchweb201602_2_10091_10090_10088_10089,searchweb201603_1&btsid=33ca7187-32b5-4e79-8ad7-6f266cc24ef9 | |||||
| 1 | 1.80 | NRF24L01+ | https://www.aliexpress.com/item/1pc-NRF24L01-2-4GHz-Antenna-Wireless-Transceiver-Module-For-Microcontrollers-Top-Sale/32584314773.html | |||||
| 2 | 0.10 | Resistor - 100 | ||||||
| 1 | 0.10 | Resistor - 220 | ||||||
| 1 | 0.10 | Resistor - 680 | ||||||
| 1 | 0.10 | Resistor - 1000 | ||||||
| 1 | 0.10 | Resistor - 2200 | ||||||
| 1 | 0.10 | Resistor - 4700 | ||||||
| 1 | 0.39 | N-channel MOSFET | pack of 10 | https://www.aliexpress.com/item/10PCS-FQP30N06-FQP30N06L-30N06L-30N06-60V-N-Channel-MOSFET/2025804061.html | ||||
| 5 | 0.46 | 6*6*4.3mm Switch Push Button Tactile | pack of 30 | https://www.aliexpress.com/item/High-Quality-Arrival-6-6-4-3mm-30-Pcs-for-Tact-Switch-Push-Button-Tactile-Pushbutton/32631542760.html | ||||
| 1 | 1.05 | 0.36" LED 4-Digit Display | https://www.aliexpress.com/item/4-Bits-Digital-Tube-LED-Display-Module-With-Clock-Display-TM1637-for-Arduino-Raspberry-PI/32533714278.html | |||||
| 1 | 1.59 | 60mm White 15 LED 1210/3528 SMD DC12V | set of 2 | https://www.aliexpress.com/item/High-Quality-2X-60mm-White-15-LED-1210-3528-SMD-Car-Auto-Motorcycle-Angel-Eyes-HeadLight/32469907846.html | ||||
| 1 | 3.08 | AC 100-240V to DC 12V 1A Power Supply Converter Adapter | https://www.aliexpress.com/item/J34-Free-Shipping-New-AC-100-240V-to-DC-12V-1A-Switching-Power-Supply-Converter-Adapter/32599654361.html | |||||
| 1 | 0.82 | DS3231 High Precision Real-Time Clock Module (3.3~5.5V) | https://www.aliexpress.com/item/20pcs-lot-DS3231-AT24C32-IIC-Module-Precision-Clock-Module-DS3231SN-for-Arduino-Memory-module-Free-Shipping/1812409775.html?ws_ab_test=searchweb0_0,searchweb201602_2_10091_10090_10088_10089,searchweb201603_1&btsid=545a8356-a770-451f-b33d-f955b8468135 | |||||
| 1 | 0.10 | Capacitor - 4.7uF | https://www.aliexpress.com/item/Free-shiiping-50pcs-Aluminum-electrolytic-capacitor-4-7uF-400V-8-12-Electrolytic-capacitor/32326602415.html?ws_ab_test=searchweb0_0,searchweb201602_2_10091_10090_10088_10089,searchweb201603_1&btsid=e48ab772-d2ff-4877-8cc7-2f0345e64b41 | |||||
| 1 | 1.45 | Speaker - 0.5w/8ohm | set of 3 | https://www.aliexpress.com/item/3Pcs-0-5W-8-Ohm-Internal-Magnet-Mini-Music-Loudspeaker-Speaker-40mm-Dia/32615785330.html |
| Name | Size | # Downloads |
|---|---|---|
| ClockRebuild.ino | 17.21 kB | 3051 |
| pitches.h | 1.97 kB | 3220 |
| AnalogMatrixKeypad.cpp | 4.36 kB | 3138 |
| AnalogMatrixKeypad.h | 1.19 kB | 4225 |
| DS3232RTC.h | 5.94 kB | 4878 |
| DS3232RTC.cpp | 13.97 kB | 2593 |
| TimeAlarms.cpp | 8.97 kB | 3016 |
| TimeAlarms.h | 6.83 kB | 5204 |