Series · 12 parts

Logic on a Breadboard

A practical course in the gates inside every computer, built on a breadboard from a 5 volt supply, a handful of 74HC chips, buttons and LEDs, with a simulator for every circuit so you can check it on screen before you wire it.

16 interactives Beginner friendly Published Nov 2026
ABY 001011101 101 A 1B 0Y 1 74HC00 AB1847 · 1964Y
A 74HC00 across a breadboard, two buttons and an LED. Above it, one of the four NAND gates inside the chip and its truth table: press A and leave B up, and the LED lights.

Inside every phone, laptop and washing machine are billions of tiny switches, each one either on or off. On their own they decide nothing. Wired together in a few simple patterns, called logic gates, they can compare, count, add and remember. Everything a computer does is built from those patterns, repeated.

This series builds them by hand, one at a time. You will start with a bare breadboard and an LED, learn the trap that catches almost every beginner, then meet the seven gates and see how a handful of transistors inside a chip makes each one. You will write rules as Boolean algebra and turn them into circuits, wire real chips from the 74HC family, and finish with a circuit that remembers, a clock that ticks, and a small machine that adds two numbers and shows the answer in lights.

Every part has a parts list, a wiring diagram, a “what you should see” check and a box for when things go wrong. Every circuit also has a simulator on screen. Readers without parts can follow the whole series in the browser. Readers with parts can try a circuit on screen first, then wire it with confidence.

If you have followed the series Resistors, Capacitors and Transistors, you already have the parts and the multimeter, and you know what a transistor does. This series puts those parts to work as systems. If you have not, start here anyway: parts 2 and 3 recap what you need, with links back to the longer explanations.

The route

Read in order. Each part stands on its own.
  1. 01
    Part 01

    Your Starter Kit

    The shopping list and why each part is on it, five chips from the 74HC family, how a breadboard is joined up underneath, and a safe 5 volt supply.

    7 sections · 1 interactive
  2. 02
    Part 02

    First Circuit: Light an LED

    Power, ground and the loop between them, why every LED needs a resistor, reading 330 Ω and 10 kΩ from their colour bands, and which way round an LED goes.

    6 sections · 1 interactive
  3. 03
    Part 03

    Inputs: Buttons and the Floating-Pin Trap

    High and low at 5 volts and the gap between them, why a released button leaves an input floating, and how a pull-down or pull-up resistor fixes it, the number one beginner mistake.

    6 sections · 1 interactive
  4. 04
    Part 04

    What Is a Logic Gate?

    Inputs, an output and a fixed rule; only 1 and 0; NOT, AND, OR, NAND, NOR, XOR and XNOR with their symbols, truth tables and everyday examples; and your first real gate on the breadboard.

    7 sections · 1 interactive
  5. 05
    Part 05

    How a Gate Works Inside

    The transistor as a switch worked by a voltage, switches in series for AND and in parallel for OR, the CMOS pairs inside a 74HC chip, and why a NAND needs four transistors and an AND six.

    7 sections · 2 interactives
  6. 06
    Part 06

    Boolean Algebra Made Simple

    AND, OR and NOT as ·, + and ′, the handful of rules worth knowing, De Morgan's laws as "flip the gate, invert everything", turning a sentence into an expression, and simplifying it so the circuit needs fewer gates.

    7 sections · 1 interactive
  7. 07
    Part 07

    Reading a Chip

    Pin 1, the notch and the anticlockwise count, the power pins, an interactive pinout, how to read a datasheet without panic, and why a 100 nF capacitor sits beside every chip.

    6 sections · 1 interactive
  8. 08
    Part 08

    The Basic Gates, Hands-On

    The test rig from part 4 with NOT, AND, OR, XOR and NAND chips in turn, filling in each truth table by testing, a mystery chip to identify, and a methodical way to find faults.

    7 sections · 1 interactive
  9. 09
    Part 09

    One Chip Does It All: NAND

    NOT, AND, OR, NOR and XOR rebuilt from the four NAND gates of a single 74HC00, the reason it works, and why one universal gate is worth more than seven different ones.

    7 sections · 1 interactive
  10. 10
    Part 10

    Memory: a Latch You Can Build

    Feedback, the SR latch from two NANDs with active-low inputs and pull-ups, its forbidden state, and the D flip-flop that copies its input only at the instant the clock rises.

    7 sections · 2 interactives
  11. 11
    Part 11

    Adding a Clock

    Why logic needs a clock, the 555 timer as a square-wave clock with its timing set by R1, R2 and C, a flip-flop that divides by two, and contact bounce with its three classic cures.

    7 sections · 2 interactives
  12. 12
    Part 12

    Final Project: a Machine That Adds and Counts

    Adding in binary, the half adder and full adder, a two-bit adder from XOR, AND and OR chips with its answer on three LEDs, and a ripple counter clocked by a 555, with where to go next.

    7 sections · 2 interactives

More in Electronics

View all
Menu

Gears & Signals · Static site · No trackers