Digital Logic
Bits, gates and Boolean algebra, then adders, flip-flops, counters and state machines, built and tested in an on-screen Logic Lab. 10 lessons to work through.
- Bits and Binary: Count with only two digits. Set bits to make numbers, find out what one more bit adds, and send symbols along a noisy wire.
- Logic Gates: Turn a rule into a circuit. Wire NOT, AND and OR gates together in the Logic Lab, then check every row of the truth table.
- Truth Tables and Boolean Algebra: Write down what a circuit does, then make it smaller. Prove laws row by row, and build anything from NAND gates alone.
- Gates Made of Transistors: Open up a gate. Build NOT, NAND and NOR from two kinds of transistor in the Transistor Lab, and find out why AND costs more.
- Adders: Add binary numbers in columns, then build half and full adders in the Logic Lab and watch a carry ripple along a row of them.
- Multiplexers and Decoders: Choose one signal from many, and switch on one output from a number. Then make a multiplexer act as any gate.
- Latches and Flip-Flops: Feed a gate back to itself and it remembers. Build an SR latch, a D latch and a quiz buzzer, and see why a flip-flop waits for the clock edge.
- Clocks and Counters: A steady tick, and flip-flops that count on it. Divide a clock by two, build ripple and synchronous counters, and find out why a watch crystal runs at 32 768 Hz.
- State Machines: Run a traffic light with a circuit that knows which step it is on. Draw states and arrows, then build a traffic light, a turnstile and a crossing from flip-flops and gates.
- Project: The Digital Dice: A fast clock, six states and seven lights that roll a number. Design the pips, build the dice in the Logic Lab, and test whether it is fair.