LCD Stop-Watch

by edward_chao in Circuits > Arduino

146 Views, 0 Favorites, 0 Comments

LCD Stop-Watch

IMG-5213.jpg
IMG-5212.jpg
IMG-5205.jpg
IMG-5206.jpg

In this project, I will teach you how to make an LCD stopwatch that countdowns from 60 secs. By using two you will be able to control the stopwatch. In addition, there will be a LED light to grab your attention when the time is up. The materials and steps are symbols, so let's get started!

Downloads

Supplies

1. Arduino Leonardo x1

2. Electronics breadboard x1

3. Pushbuttons switch x2

4. 220 Ω resistor x1

5. LCD screen (16 x 2 character) x1

6. multiple jump wires

7. USB cable x1

8. LED light bulb x1

9. Portable charger x1

Assembling the Parts

IMG-5204.jpg
IMG-5201.jpg

First, we have to connect all the buttons and LCD to the Arduino Uno and the breadboard.

First, connect GND and 5V to - and + on the breadboard, respectively. This is for the LED and push-buttons. Then, connect the first bottom to the negative charge row to any place in the breadboard, and to the push button (positive to negative), and to D8 last. Repeat the steps above for the second bottom, but connect the digital read to D9.

For the LED light, connect one jumper wire to any place on the breadboard, to the light bulb, then to the resistor, last to the negative charge row on the board.

Moving on the LCD, connect jumper wires from the positive and negative sides to the positive and negative ends in the LCD. Next, connect SDA and SCL on both Arduino Lenoard and the LCD. You should be able to find the corresponding ends on the back of the LCD.

Congrats, you are done assembly the main parts :)

The Code.

Since the code was already attached to this lesson, I will only mention several points to note.

1. Make sure to select the corresponding board (Leonardo) under Tools → Board →Arduino Leonardo

2. When done, make sure to upload by clicking the arrow on the top left.

Once you upload, the code should start working and words will appear on the LCD. If it does not work, that means there is a problem in either setting or connection of the parts.

Anythig to Know?

Arduino code.JPG

This is a 60-sec countdown, you can always change the time according to your need.

If you want your timer to be fancy, you can design a box to hide all the boards and jumpers, like shown above. Otherwise, your product should be functional! :)

Thanks, and enjoy.

DONE!

The end of the STOPWATCH