In this video, I have described how the digital clock DIY kit works.
This is a simple DIY digital clock kit for beginners.
It is based on AT89C2051-24PU. It has basic functions like hour and minute display, minute and second display and 2 alarms set up.
There is a buzzer which works like an alarm. You will hear 3 beeps when the clock reaches hours…like 1:00, 12:00, etc. The beep is optional.
You can use a 3.3V to a 6V battery to operate this kit.
There are two switches to set up time and alarm- S1 and S2. The display is with 4 digit seven segment display.
How to set up time?
There are two switches S1 and S2 on the kit. After you turn on the kit, you will see hour and minute displayed on the display. Press S2 to see the minute and second, and press S2 once again to go back to see the hour and minute display.
To set time, press S1 until you hear 2 beeps at the same time (beep-beep, very quickly) and then, you will see A displayed on the seven segments. A means hour on the display. Then, press S2 to increase the hour number. After that, press S1 once to see B which means minute setting, you will see 00 by default. Keep on pressing S2 to set the minute. After you reach the required minute setting, press S1 again and you are done.
How to set up alarm?
You can set up two alarms in the kit. Before learning how to set up alarm, you need to learn to set up the time. Then only you will know how to set up the alarm.
While setting up the time, you will notice A and B displayed on the seven segment display.
As you keep on pressing switch S1, you will see C, D, E, F, G, H and I. However, there are some conditions.
Meaning of the text is given below:
C- Three beeps when the clock display hours, for example, it will beep three times when the clock reaches 1:00, 02:00, 12:00, etc. – Press S2 to turn it ON or OFF. If you turn it OFF, you won’t hear the beep.
D- You will see D when you press S1. It is the first alarm- Press S2 to turn it ON or OFF
G- Second Alarm- Press S2 to turn it ON or OFF.
If you have turned ON D, then, you will see E and F.
E means hour setting for the first alarm and F means minute setting for the first alarm.
Likewise, if you have turned ON G, you will see H and I.
H means hour setting for the second alarm and I means minute setting for the second alarm.
Press S2 to increase hour and minute in both alarms.