The benches
Every lesson is a circuit with no microcontroller: 74HC chips wired point to point on a 5 V supply, slide switches and push buttons (pulled down by 10 k) for inputs, the clock part for clocks, and LEDs on the outputs. Most steps check a chip's own reading: a 74HC74's Q bits, a 74HC161's count, a 74HC194's four stages, or the traffic light's lamps.
Take the course Sequential logic design on /learn.
The lessons
- Flip-flop types: a 74HC74 sampling D on the clock edge and holding it, asynchronous set and reset, the forbidden state, and a toggle flip-flop.
- Counters: a 74HC161 at 4 Hz, terminal count at 15, a decade counter from one NAND on the synchronous load, and a second chip cascaded through TC for eight bits.
- Shift registers: a 74HC194 loading, shifting right, taking serial data, and closing into a ring counter.
- Moore and Mealy: a two-flip-flop button detector with a Moore output (one clock late, one clock long) and a Mealy output (instant, input-dependent).
- State encoding: binary on a 74HC161, Gray code through 74HC86 XOR gates, and one-hot on a 74HC194 ring.
- Hazards: a bouncing button that counts a dozen per press, an RC filter and 74HC14 Schmitt trigger that make it count one, plus glitches, ripple and metastability.
- Boss: a 74HC traffic light: a 74HC161 timer, 74HC04 and 74HC08 decode for green, yellow and red, a 74HC74 WALK latch, then a retimed light of your own.
What is simplified
The chips switch in the simulator's logic model, so nanosecond glitches and metastability are described rather than measured; the button's bounce and the debouncer are real. The boss is a teaching model, not a traffic signal controller: real signals use certified controllers with conflict monitors.
Before and after
The course builds on From gates to a computer and Digital logic and memory. The same sequencing runs in software in PLCs and ladder logic.