Skip to the content
2 layers152 × 19.3 mmLEDs, the printed circuit board in 3D

Simulated mainframe computer based on a Raspberry Pi

Size
152 × 19.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
9
Pads
28
Tracks, vias
39, 0
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
12 Sep 2021
Updated
22 Sep 2026

Overview

LEDs is an open-source printed circuit board by BrentSeidel, from the BrentSeidel/Pi-Mainframe repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 152 × 19.3 mm with 11 parts on 9 nets, routed with 39 tracks and 0 vias.

Its parts include 8 diodes and 1 connector.

README

README.md

Pi-Mainframe

Simulated mainframe computer based on a Raspberry Pi

[Alire] (https://alire.ada.dev/crates/blinkenlights.html)

When I was a young lad, computers had complicated panels filled with switches and lights. Sadly, these disappeared as I got older.

This project is an attempt to recreate the feel of old mainframe computers using a Raspberry Pi 3 and some other assorted parts that I had laying around. The actual boxes and panels are 3D printed.

Here is an example system. Note that it is fairly modular and the modules can be attached in different ways. System Front

Back of system System Back

Note

This is still very much a work in progress and things will change.

This project requires 3D printing, making PCBs, soldering, and building software from source. It might be a good project for an undergraduate engineering program.

Power

I originally used a random micro USB power supply for the Pi 3 that is running the simulation. It would complain about low voltage and occasionally reboot. I just replaced it with the official Raspberry Pi power supply and it is not complaining about low voltage. Time will tell if it is more stable.

Ultimately, there will be limits to how much power you can get out of the Raspberry Pi. There are ways to reduce the power needed. The first thing that I would try would be to increase the value of the resistors for the LEDs. This would also reduce the brightness so you may wish to do this as well, if the LEDs are too bright. A little experimentation will be needed to determine the proper value. From a BOM viewpoint, using the same resistors for both the switches and LEDs would be a win.

PCBs

Three printed circuit boards have been designed to eliminate some of the tedious soldering. Using the PCBs make assembly much easier and the resulting project much less of a mess of wires.

IO Board PCB

The I/O board PCB has been created and tested. The schematics and PCB layout have been moved to the Circuits reporitory. Documentation and assembly instructions for it have been created there.

Breakout PCB

A breakout PCB has been developed for breaking out the 10 conductor ribbon cables that are being used for the I2C bus, and other uses. It is also in the Circuits repository.

LED PCB

A PCB has been developed for holding the LEDs. This required some redesign to the panels. However it eliminates the soldering of wires directly to the LED leads. The LED PCB can also be fairly easily added to and removed from panels should you wish to, for example, use LEDs of different colors.

Dependencies

This depends on the following repositories:

If you are actually interested in simulating old computers, you can download and build simh from github at https://github.com/simh/simh.git I was able to get the PDP-11 sim to build (I haven't tried others) and run on a Raspberry Pi. As far as I know, it has no support for blinking lights.

You could, of course run simh in parallel with this project giving a CPU simulation as well as lights and switches. Unfortunately, they would be completely independant. Someday, perhaps this will change.

Assembly

This project will require quite a bit of 3D printing and soldering. The included documentation includes a parts list. Read the documentation first, then download the dependencies repositories. Finally decided how big of a system you want.

  1. Slice the 3D models and start them printing. This will take a while, so start this first and then work on other things while they are printing.
  2. Install Raspberian on the Raspberry Pi and install the following packages:
    • avahi - This allows discovery on your local network
    • gnat - The GNU Ada distribution
    • gprbuild - Used for building Ada software
  3. Build the software. If there are errors about missing "obj" directories, create the directories.
  4. Start soldering the various boards and cables.
  5. As panels come off the printer, install LEDs and switches as appropriate
  6. As the trays come off the printer, install the boards and connectors.
  7. Once everything is printed, put all the pieces together.

Parts

11
QtyValueFootprintReferences
8LEDLED_THT:LED_D5.0mm_ClearD1, D2, D3, D4, D5, D6, D7, D8
2MountingHole_2.5mm_PadMountingHole:MountingHole_2.5mm_PadREF1, REF2
1Conn_02x05_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_HorizontalJ1

Similar boards

  • 2 layers60 × 30 mmController, the printed circuit board in 3D

    Controller

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    11 parts3kApache-2.0
  • 2 layers103 × 30.5 mmTS Front Endcap, the printed circuit board in 3D

    TS Front Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    11 parts1.3kMIT
  • 2 layers26 × 30 mmExpansion Card, the printed circuit board in 3D

    Expansion Card

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    11 parts1.1kCC-BY-4.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    11 parts1kGPL-3.0
  • 2 layers10 × 20 mm2 connector Sensor Board, the printed circuit board in 3D

    2 connector Sensor Board

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    11 parts915
  • 2 layersFet module, the printed circuit board in 3D

    Fet module

    ByteWelder/Decktility

    A handheld PC

    11 parts855CC-BY-SA-4.0
  • 2 layers47 × 33 mmSevensegment led display module, the printed circuit board in 3D

    Sevensegment led display module

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    11 parts803MIT
  • 2 layers42.5 × 36.8 mmDevboard, the printed circuit board in 3D

    Devboard

    basilfx/TRADFRI-Hacking

    Hacking IKEA TRÅDFRI products, such as light bulbs, window blinds and other accessories.

    11 parts743CC-BY-4.0

Questions

How big is the LEDs PCB?

It measures 152 × 19.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the LEDs use?

11 parts. 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.

Where can I download the LEDs KiCad files?

From the BrentSeidel/Pi-Mainframe repository on GitHub, at the commit this page was made from: the board is Schematics/LEDs/LEDs.kicad_pcb and its schematic Schematics/LEDs/LEDs.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the LEDs design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).