Tekniske ting

Ben Eater Builds the Hours Stage for His Discrete Logic Digital Clock

Ben Eater discrete logic breadboard digital clock displaying hours
Still frame from Ben Eater’s breadboard digital clock project showing the complete hours, minutes, and seconds display.

n

Ben Eater has added the next major functional block to his discrete logic digital clock project: the hours display. Following previous installments that established the timebase, seconds, and minutes counters, his latest build tackles the subtle complexities of counting and formatting hours without resorting to a microcontroller.

In the video, Eater methodically steps through the logic required to implement both 24-hour and 12-hour counting modes. While seconds and minutes neatly reset after 59 (using a divide-by-10 followed by a divide-by-6 stage), hours present a unique architectural challenge: resetting the tens and ones digits after 23:59:59 in 24-hour mode, or sequencing from 12:59:59 back to 1:00:00 in 12-hour mode.

To implement 24-hour mode on a breadboard, Eater pairs standard 74LS-series counter ICs with combinational reset gating to detect the binary state corresponding to the 24th hour. Transitioning to 12-hour mode introduces the notorious “12-hour rollover” puzzle—where the tens digit must clear while the units digit rolls over from 12 to 1 rather than 0. Rather than adding elaborate discrete logic arrays, he demonstrates how arithmetic adder ICs (such as the 74LS283) and 74LS85 4-bit magnitude comparators can cleanly convert between the underlying count and the appropriate 7-segment display output driven by CD4511 decoder/drivers.

For enthusiasts exploring discrete digital electronics and retro design, Eater’s build showcases why working with discrete 7400-series logic remains such a masterclass in computer architecture fundamentals. If you’re prototyping similar classic digital designs or working on 6502-era breadboard computers, having a reliable supply of retro ICs and logic chips is an essential starting point for your bench.

Watch the full build breakdown and schematic walkthrough in Ben Eater’s video below:

Direct video link: Building the hours for my digital clock — Ben Eater

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Powered by: Wordpress