A computer that adds 2 + 2 doesn't sound like much—until you have to make its registers, arithmetic circuitry and instruction controls agree on what a signal means. Zaphod shared this 4-bit transistor computer on Hackaday.io, describing it as a way to learn how computers work after mostly working with microcontrollers. Its revealing lesson came at the connections between modules: circuits that worked separately didn't necessarily work together.
This is a completed historical build, not a new launch. The project page was created on March 31, 2014; zaphod reported the first successful multi-instruction program on August 19, 2015, and an October 2017 edit reaffirmed that the project was finished. Older overview text still describes an unfinished machine and carries a warning about obsolete details, so the later logs provide the clearest account of the result.
A shared bus simplified the control logic
In the April 16, 2015 redesign log, zaphod explained why the original architecture needed reworking. Data paths were awkward, conditional branching was limited, and implementing commands would have required too much command-specific control logic.
The replacement organized the computer around a central data bus. Existing major logic blocks could stay, but their connections changed. Instead of designing a separate control arrangement for every instruction, zaphod could reuse a few kinds of control circuit.
The revised instruction-set description, posted April 23, laid out ten commands. These loaded registers, the program counter or RAM; toggled the ALU, ROM and RAM outputs onto the bus; switched between addition and subtraction; and conditionally loaded the program counter when registers B and C matched. Nine logic boards sat on a plywood frame described as roughly briefcase-sized.
That arrangement made data movement explicit. To store an arithmetic result, a program would first enable the ALU's output onto the main bus, then execute the RAM-load command. But output selection used persistent toggles rather than automatically choosing exactly one source. The programmer had to track which outputs were enabled, or risk putting two sources onto the bus together.
Timing was explicit too. The revised design separated the program-counter clock from the load clock: first advance to an instruction, then carry it out. A February log initially reported success with this approach, but an April follow-up acknowledged that problems remained. Splitting the phases was part of the solution, not an instant cure.
Working modules still needed better signals
By July 22, 2015, zaphod had tested the processor modules individually and added a control board to turn decoded instructions into timed load and output-enable signals. The assembled computer's first program nevertheless failed.
The important clue was that the modules behaved when supplied with what zaphod called “good” signals. In the August 21 conclusion, three interface problems—and their repairs—became clear:
Together, those faults had prevented seven of the ten machine-code commands from doing their intended jobs. The problem wasn't simply whether the right logical operation existed on paper; its output also had to be usable by the next circuit.
The Arduino was memory, not a hidden replacement CPU
Despite the project's discrete-transistor title, this wasn't an all-discrete machine. The Arduino supplied RAM and some memory-access logic, while the comparators became part of the final signal-cleanup solution.
Zaphod had chosen Arduino-backed memory to avoid building hundreds more transistors' worth of storage circuitry. It also provided a convenient way to inspect RAM through the Arduino IDE's serial monitor. When a commenter suggested shift registers as an alternative in November 2014, zaphod pointed to that visibility as a reason to keep the Arduino. The later logs confirm that it remained involved in RAM control.
That compromise preserved the central exercise: constructing and coordinating the processor's logic without also having to hand-build every bit of memory.
Four was the result; integration was the achievement
Zaphod's completion test was modest and specific. On August 19, 2015, the computer successfully ran a multi-step, multi-instruction program that added 2 + 2 and stored 4 at RAM address zero. The conclusion also reported that all commands functioned. That demonstrates a working program path, not an exhaustive reliability or performance test.
The useful takeaway is where to look when a homebrew processor's individually tested boards stop cooperating. Check the signals at module boundaries, not just each module's truth table. This build reached its first successful program only after its logical design was matched by electrical signals the receiving circuits could actually use.