
Screen
benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.
Battery is an open-source printed circuit board by benanderman, from the benanderman/spork-8 repository on GitHub, published under the MIT licence. It is a 2-layer board of 99.6 × 59.9 mm with 23 parts on 27 nets, routed with 110 tracks and 6 vias.
It is built around the TP4056 and SS-3235D-03-L2. Its parts include 5 resistors, 3 diodes, 2 capacitors, 2 connectors and 1 IC. It belongs with the power and retro computing and games boards of this library.
This is an 8-bit computer project, inspired by Ben Eater's 8-bit breadboard computer. It's made out of modular PCBs that plug into each other, and contain mostly 74HC-series chips (original 74LS). It runs code from an EEPROM (so it's only programmable from a computer), and has separate memory. It's meant to display what's happening, when running on a 555-timer or manually stepping, but also be capable enough to implement some sort of game, when using an oscillator as a clock.
For details about programming the Spork-8, see Programming.md.
The project was originally completed in 2021 and mostly worked with 74LS-series chips, but it had some issues (see RevisionLog), and used way too much power.
In 2025, it was rebuilt with 74HC-series chips, and several improvements, an emulator, and peripheral boards. It had some issues, but mostly worked well.
In 2026, reliability was improved by adding ground planes to the bus boards and control board, the instruction set was improved, and much more complex programs were made.
In general, any of the 16 module slots can input from or output to the bus, so most modules could go in any position. However, some of them have to go in specific slots, because:
Top left: The program counter goes in the top to use the first pair of custom signals (for count and byte select), plugging into the program memory below it. Below that is the clock (in the 0th position), and Register C.
Top right: The ALU goes one slot down from the top, to use the second pair of custom signals (for add/subtract and bit-wise AND), with register A and B as its operands above and below. Then the shift / rotate module goes at the bottom plugging into register B. These need to be on the right side to avoid the 0th position. The shift module shares custom signals with the ALU, which is okay because only one is used at a time, and the signals don't have an effect if that module isn't outputting.
Bottom left: The battery takes the top 0th slot, and then the stack and swap registers, and input / output A module after that. Other than the battery, the positions are arbitrary.
Bottom right: The output A register goes at the top and the RAM goes below it. The memory address register goes in the next position to get the first pair of custom signals (for count and byte select), and plugs into the RAM above it. The input / output B module goes at the bottom. The memory address could instead go where output A is, and RAM just needs to be next to it. The other two could go anywhere.
These images show the layout of the modules in the 16 slots, the functions of each of the signals, and a parts list.






| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | MountingHole_2.2mm_M2_DIN965_Pad | MountingHole:MountingHole_2.2mm_M2_DIN965_Pad | HOLE1, HOLE2, HOLE3, HOLE4, HOLE5, HOLE6, HOLE7, HOLE8 |
| 2 | 10k | Resistor_SMD:R_0603_1608Metric | R2, R5 |
| 2 | 10uF | Capacitor_SMD:C_0603_1608Metric | C1, C2 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric | R3, R4 |
| 1 | 1.2k | Resistor_SMD:R_0603_1608Metric | R1 |
| 1 | Battery | Connector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_Horizontal | BT1 |
| 1 | Conn_01x16 | Connector_PinHeader_2.54mm:PinHeader_1x16_P2.54mm_Horizontal | J1 |
| 1 | GREEN | LED_SMD:LED_0603_1608Metric | D1 |
| 1 | LED | LED_SMD:LED_0603_1608Metric | D3 |
| 1 | RED | LED_SMD:LED_0603_1608Metric | D2 |
| 1 | SS-3235D-03-L2 | SS-3235D-03-L2:SS3235D03L2 | S1 |
| 1 | TP4056 | TP4056:SOP127P600X175-9N | U1 |
| 1 | USB_C_Receptacle_PowerOnly_6P | updated_libs:USB_C_Receptacle_G-Switch_GT-USB-7010ASV | J4 |

benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

benanderman/spork-8
An 8-bit CPU, made with TTL chips on custom, modular PCBs. Includes board designs, and Arduino code to program its instruction set and programs.

JGAguado/Smart_Plant
The Smart Plant is a board that can be plugged directly on the soil, close to the plant, that allows the measurement of the environment (soil moisture, environment temperature & illuminance), and presents the…


hhuysqt/esp32s3-keyboard
USB/BLE keyboard driver based on ESP32S3-WROOM-1


jerry20091103/Teensy_Grovebox
A portable synth and music multi-tool made with Teensy 4.1


It measures 99.6 × 59.9 mm and has 2 copper layers, 1.6 mm thick.
23 parts, built around the TP4056 and SS-3235D-03-L2. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the benanderman/spork-8 repository on GitHub, at the commit this page was made from: the board is Battery/Battery.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).