Random Alarm Clock (Arduino Leonardo)
by tedchou in Circuits > Arduino
375 Views, 0 Favorites, 0 Comments
Random Alarm Clock (Arduino Leonardo)
Partial credit: https://create.arduino.cc/projecthub/EvdS/led-dice...
This alarm clock uses Arduino dice to decide whether or not its alarms will blare. When the dice rolls a 6, the alarm clock rings for around 5 seconds. If it doesn't roll a 6, it waits 5 minutes and then rolls again.
Supplies
> LEDs (generic) x6
> Jumper wires (generic)
> Resistor 221 ohm x6
> Buzzer x1
> Arduino Leonardo Board x1
> Breadboard x1
Connect the Wires
Connect the wires according to the picture provided.
The Coding
You can get the code from this link, or download it: https://create.arduino.cc/editor/tedchou621/8862fe...
This version has no 6 hour delay.
Downloads
Thanks for Reading
If you want to actually use this project, you have to delay it by a few hours depending on how late you want to wake up. You can also make an exterior for it to fit in.