Arduino Leonardo Countdown Watch Project

by MacLife0316 in Circuits > Arduino

244 Views, 0 Favorites, 0 Comments

Arduino Leonardo Countdown Watch Project

Screen Shot 2021-04-13 at 2.52.45 AM.png

Source: https://www.instructables.com/Arduino-Stopwatch-Us...

In this project, I change the original Arduino Uno into Arduino Leonardo. By doing so, I created a countdown watch with buttons and an alarm. There are two buttons on the countdown watch, a start/restart button, and a stop button. Along with the countdown watch projected on the LCD screen. The countdown watch is easy to make and use.

Supplies

1. Arduino Leonardo

2. Breadboard

3. Jumper wires

4. Two buttons

5. Four 330k resistor

6. LCD display with 12C module

7. Round Micro Speaker Diameter 28mm 8Ohm 8R 2W for Arduino

Connecting the LCD

Screen Shot 2021-04-13 at 2.34.05 AM.png
Screen Shot 2021-04-13 at 2.34.11 AM.png
Screen Shot 2021-04-13 at 2.34.20 AM.png

Connect the LCD to the breadboard using jumper wires, be sure that the positive and negative sides are plugged in correctly. The SDA and SCL must be connected to the Arduino Leonardo at SDA and SDL. Refer to the pictures for details

Connecting the Controls/buttons

Screen Shot 2021-04-13 at 2.36.59 AM.png

Place the buttons on the breadboard, and connect two jump wires each. The button on the left is the start button and should be connected to pin A8, the button on the right is the stop button which should be connected to pin A9. Refer to picture as guidance

Connecting the Speaker

Screen Shot 2021-04-13 at 2.40.51 AM.png
Screen Shot 2021-04-13 at 2.40.56 AM.png

Connect the positive and negative strand of the round speaker to the Arduino Leonardo as shown in the picture

Codes

Screen Shot 2021-04-13 at 11.40.45 AM.png
Screen Shot 2021-04-13 at 11.40.56 AM.png
Screen Shot 2021-04-13 at 11.41.03 AM.png

Upload the codes by the USB port to your computer, or click the link to view the code.

https://create.arduino.cc/editor/maclife0316/bbdbfc20-ba76-410c-9c54-6763687a7b9a/preview

You're Done! Enjoy the Countdown Watch!

Arduino Countdown Watch_Michael Huang

Here is an example video of the final product