Clock using Arduino UNO, 16 x 2 LCD Display, and Switches

My research project on microcontrollers, using a Arduino UNO R3 and other components.

Mar 2, 2022

6657 views

0 respects

Components and supplies

1

Single Turn Potentiometer- 10k ohms

3

Resistor 10k ohm

1

Arduino UNO

3

Pushbutton switch 12mm

1

Alphanumeric LCD, 16 x 2

1

Resistor 220 ohm

Project description

Code

Code for Arduino

arduino

This code allows the clock to constantly count seconds while allowing you to press buttons to change the hour or the minute.

Code for Arduino

arduino

This code allows the clock to constantly count seconds while allowing you to press buttons to change the hour or the minute.

Downloadable files

Replace the tilt sensor in project 11 with the switch from project 9

Looking at the code, the way the button works in project 9 will allow you to use a switch, for this project the switch will adjust hour and minutes.

Replace the tilt sensor in project 11 with the switch from project 9

Image

Use project 9 and 11 from projects book

Use project 9 and 11 from projects book

Image

Replace the tilt sensor in project 11 with the switch from project 9

Looking at the code, the way the button works in project 9 will allow you to use a switch, for this project the switch will adjust hour and minutes.

Replace the tilt sensor in project 11 with the switch from project 9

Image

Comments

Only logged in users can leave comments