Published On Jul 14, 2019
Hello everyone.
In this video we have made a Digital Clock using Nano, I have explained its working and also explained the programming.
I have talked about every necessary component
The program is below in the description, you can use it for your own clock.
Still, if something is missing or you didn't get it, you can ask in the comment section.
//
1. The decimal point is connected to Digital pin 6 of the Arduino.
2. In the program, the decimal point is represented as an 'h' variable
//
-New Version of clock-
Digital clock with RTC: • Digital Clock | Real Time Clock Circu...
List of components used in the project.
1- Arduino Nano
2- 7 segment Display
4- PCB board
5- Push button
6- 220 resistor
Thats it. You are Ready to go
download code for digital clock: (arduino)
Old Code :
https://drive.google.com/file/d/1J9E2...
New Code :
https://drive.google.com/drive/folder...
//you can change time format by
changing ... time_format=24; just write 12 in place of 24 in the code
you can use any 7 segment common anode or common cathode
for common anode display don't change code//
...
..
_________________________________________________________________
for common cathode display just uncomment
first four line as shown below
//#define off 0
//#define on 1
// #define don 0
//#define doff 1
and put below line on comment.
#define off 1
#define on 0
#define don 1
#define doff 0
Now, The code will work for common cathode display.
Share: • Introduction | Arduino tutorial | 1
_________________________________________________________________
Thank you for Watching.
If you like our work, support us by just clicking the SUBSCRIBE button. :)