aaditya b. singh

Discrete-Logic Quartz Clock

digital logic · Logic ICs, BCD, ECE 210

A 24-hour digital clock with no microcontroller and no code: a quartz crystal divided down to 1 Hz drives BCD counters, decoders and six 7-segment displays. More work than expected.

  • ▸Quartz crystal ("the boss"): a stable reference signal, divided down to a precise 1 Hz pulse.
  • ▸Seconds and minutes: pairs of 0–59 counters; rolling over from 59 sends a carry pulse to the next stage.
  • ▸Hours: 00–23. "24" only exists when tens = 2 AND units = 4, so gates detect exactly that state and reset both counters.
  • ▸BCD-to-7-segment decoders ("the face") drive all six digits; a DC-DC step-down ("the supplier") feeds everything a clean 5 V.
  • ▸Time-set mode: a switch pauses the 1 Hz clock, and two buttons pulse the minutes and hours.

open it on the computer in my room →

← all projects

cheers, aaditya

努力は才能に勝る