Random Alarm Clock (Arduino Leonardo)

Introduction: 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

Step 1: Connect the Wires

Connect the wires according to the picture provided.

Step 2: 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.

Step 3: 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.

Be the First to Share

    Recommendations

    • Organization Contest

      Organization Contest
    • Micro:bit Contest

      Micro:bit Contest
    • Back to School: Student Design Challenge

      Back to School: Student Design Challenge

    Comments