Digital logic
4-bit CPU from logic gates
Advanced120 min
Build a simple processor from transistors and gates, to see what is really inside a chip.
What you get
A 4-bit CPU executing instructions step by step, with visible registers, adder and clock.
Parts (simulated)
- Built-in logic lab
- Transistors and gates
- Clock and logic probes
Nothing to buy: every component here is simulated in the browser.
Project steps
- 01Build the basic gates from transistors.
- 02Assemble a flip-flop, then a 4-bit register.
- 03Build a full adder in cascade.
- 04Add the clock and the instruction sequencer.
- 05Run a small program step by step.
What you learn
- From transistor to logic gate
- Storage with flip-flops
- Binary addition
- Instruction cycle
Other projects
- ⌚ Smartwatch
Build a complete watch: OLED screen, DS3231 real-time clock, navigation buttons, then the printed board that goes with it.
- 📺 Mini colour TV (SPI TFT)
The finish line of a 10-project display series: from a single pixel to a colour panel driven over SPI.
- 📻 Digital PMR446 walkie-talkie
A full radio link on the PMR446 band: modulation, channel, noise, demodulation and quality measurement.
- 📱 4G/LTE cellular phone
Understand how a phone attaches to a cell: OFDM modulation, mobility, echoes and useful throughput.