Detailed 7-Segment 24-Hour Clock
Power from the battery (VCC) and ground (GND) feeds the timing source, where a crystal oscillator produces a very fast, steady tick. That tick goes into a divider made from flip-flops, which repeatedly halves the frequency until it becomes a clean 1-pulse-per-second signal. Each 1 Hz pulse advances the BCD counters for seconds, minutes, and hours, and every digit's BCD lines feed a decoder that turns them into the seven segment signals used to light up seven segment displays.
1.00 Hz
Click inside components to learn how each part of the clock works.
Circuit Diagram
LOW HIGH PULSE
7-Segment Output
1.00Hz RESET
Time
00:00:00
HT HU
0 0
MT MU
0 0
ST SU
0 0
HT BCD
0000
HU BCD
0000
MT BCD
0000
MU BCD
0000
ST BCD
0000
SU BCD
0000
SU->ST Carry pulse
0
ST->MU Carry pulse
0
MU->MT Carry pulse
0
MT->HU Carry pulse
0
HU->HT Carry pulse
0
MOD-24 detect (HT==2 AND HU==4)
0