About the Relay Computer
The project
This is Joe Allen's Single Board Relay Computer, a kit whose CPU is made of electromechanical relays, with semiconductor memory and a front-panel interface.
I sourced the parts and assembled the board myself.
By the numbers
584
parts
83
relays
3,500+
solder joints
8
livestreams
The official bill of materials lists 584 parts, including 83 relays.
Across the livestream series I described the build as having over 3,500 solder joints.
The build on stream
I assembled the computer over a livestreamed series on my YouTube channel, PenGuinn Tech, called PenGuinn Builds: A Relay Computer — Because Why Not.
The series is eight parts, from January 27, 2025 through September 1, 2025:
- Part 1, January 27, 2025
- Part 2, January 28, 2025
- Part 3, February 1, 2025
- Part 4, February 2, 2025
- Part 5, May 18, 2025
- Part 6, July 28, 2025
- Part 7, August 31, 2025
- Part 8, September 1, 2025 — Buttons, Relays and Power
On August 31, 2025 I also posted a short, It's working!, of the computer running.
-
The board mid-build, with IC sockets installed and relays not yet in place, surrounded by part bags.
-
Soldering a joint on the board, with picture-in-picture views of the workbench.
-
The kit's assembly instructions on installing IC sockets and identifying pin 1.
-
The finished board powered on, with relays, lit LEDs, and the 7-segment display, next to a Fluke 117.
-
Keypad buttons going in, Part 8.
-
Soldering the back side.
Debugging the heat fault
During bring-up I diagnosed and fixed a heat-dependent fault.
Dockerizing the toolchain
In April 2026 I containerized the kit's assembler, simulator, and web documentation tools with Docker, on a dockerize branch of the relay-computer repository on my self-hosted GitLab.
Joe Allen wrote the original assembler, simulator, and HTML documentation. My work was packaging those tools so they can be built in containers.
The tools image compiles the assembler and simulator for both Linux and Windows. The documentation image builds the HTML docs. I used Docker Compose so the build outputs land in a local directory.
The tools image:
# Use a lightweight base image with gcc and mingw-w64
FROM ubuntu:24.04
# Install necessary tools: make, gcc, mingw-w64
RUN apt-get update && apt-get install -y \
make \
gcc \
g++ \
mingw-w64 \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy project files (Makefile and source files)
COPY *.c .
COPY *.h .
COPY Makefile .
# Create build directory and run make
RUN mkdir -p /app/build
ENTRYPOINT ["make", "all"]
The tools Compose file:
version: '3.8'
services:
relay-trainer-tools:
build:
context: .
dockerfile: Dockerfile
volumes:
- ../build:/app/build
The documentation image:
# Use a lightweight base image
FROM alpine:latest
# Install necessary tools: make, sed, and coreutils (for cat)
RUN apk add --no-cache make sed coreutils
# Set working directory
WORKDIR /app
# Copy project files (Makefile, source HTML files, and images)
COPY Makefile ./
COPY *.html ./
COPY *.gif *.jpg ./
COPY entrypoint.sh ./
RUN mkdir -p /app/build
# Run the make command to build HTML files
ENTRYPOINT ["make", "all"]
The documentation Compose file:
version: '3.8'
services:
relay-trainer-htdocs:
build:
context: .
dockerfile: Dockerfile
volumes:
- ../build:/app/build
That repository is not public yet.