Circuit Clock

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
PowerBattery / VCC+VGNDTiming SourceQuartz + Inverters+VGND32.768 kHzDivider÷2¹⁵ (15 T-FF)32.768 kHz1 HzMOD-24 ResetHT=2 AND HU=4HU senseHT senseRESET outCounters (BCD digits)HT HU : MT MU : ST SUPer-digit Decoder Chips + 7-Segment DisplaysEach lane: BCD (b3..b0) -> Decoder -> segments (a..g)HT0..2HUMOD-10*MTMOD-6MUMOD-10STMOD-6SUMOD-10Decoder HTBCD -> 7-segb3b2b1b0abcdefgDisplay HTDecoder HUBCD -> 7-segb3b2b1b0abcdefgDisplay HUDecoder MTBCD -> 7-segb3b2b1b0abcdefgDisplay MTDecoder MUBCD -> 7-segb3b2b1b0abcdefgDisplay MUDecoder STBCD -> 7-segb3b2b1b0abcdefgDisplay STDecoder SUBCD -> 7-segb3b2b1b0abcdefgDisplay SUabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgRESET buscarry pulses

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