The Blinking Computer
An educational computer you can watch think. It is built from discrete transistors, diodes, resistors and LEDs, with no integrated circuits in the processor. Nearly every transistor has an LED on its collector, so the whole state of the machine is visible: the registers, the bus, the arithmetic unit and the phase of the instruction being executed.
A Raspberry Pi Zero, or a Waveshare RP2350-PiZero, provides the memory, the display and a logic analyser; the machine has its own two-transistor clock and waits for the host in every phase, so it runs correctly at any speed from one phase every hundred seconds up to tens of kilohertz. A class can step through a single instruction one phase at a time and see exactly what moves where, or let a program run.
- 16-bit words, 64K words of memory, four registers, sixteen instructions.
- About 800 transistors.
- A Forth-like language, an assembler and an emulator exist for the instruction set, with 247 passing tests. They will be published alongside the hardware design.
Try it
- The machine in the browser: a logic twin of all 887 transistors read from the generator, stepping phase by phase with every LED lit as it would be, the screen the host draws, a logic-analyser view of the signals, and ngspice running in the browser on the components you click. Built 21 Nov 2026, before anything was soldered.
Documents
- Software candidates: what the machine might run, from Pong to Doom, with what each costs.
-
TODO: what the web page has to answer before the boards are committed, in order.
-
From the transistor up: the machine told in the order you would build it and learn it, transistor, gate, cell, bus, arithmetic, control, instruction set, assembler, compiler, program, the way Nand to Tetris, the Megaprocessor and Petzold's Code do. Work in progress.
- Design, 2026: the reference: the architecture, the storage cell, the bus to the host, the instruction set, the phase sequence, the transistor count by block, the simulation results and the rules they taught, and the future extensions.
- References: every outside source cited during the design, with the conversation each came from.
- Design conversations, kept because the reasons for each decision, and the roads not taken, matter to anyone who wants to copy or change it: 13 to 15 Nov 2026, main thread and 14 to 15 Nov 2026, fonts and screen. Each is the discussion that produced the design, kept because the reasons for each decision, and the roads not taken, matter to anyone who wants to copy or change it.