RETRO CABLE
3 BUILD

Build the box

A Raspberry Pi in a 3D-printed case, connected to the TV with HDMI. The build takes about an hour, plus the print time.

Parts

PartQtyAboutNotes
Raspberry Pi 5 (4 GB) (also)1$110A Pi 4 (4 GB) also works; Pi prices went up in 2026 because of memory costs
Raspberry Pi Active Cooler (also)1$5The Pi 5 runs Chromium all day
Raspberry Pi 27 W USB-C power supply (also)1$12The official supply; weak supplies cause video stutter
Raspberry Pi SD card (32 GB A2) (also)1$10Part SC1628; A2 class for app speed
Micro-HDMI to HDMI cable (also)1$6Use HDMI 0 (the port next to USB-C)
3D-printed case1$4Filament cost; wood-fill PLA for the cover
M2.5 heat-set inserts (M2.5 x 4) (also)6$1CNC Kitchen; the case holes are 3.6 mm for this insert; about $12 for 100
M2.5 x 6 mm socket head screws6$1McMaster 91292A010; 18-8 stainless; sold in packs
Required parts$159
OPTIONAL
FLIRC USB IR receiver1$25Any remote works through it; most TVs work with HDMI-CEC and need no receiver
TM1637 4-digit LED module (0.36 in)1$3The front-panel channel readout; many sellers make the same 42 x 24 mm module
Female-to-female jumper wires1$4A pack of 40; the LED module uses 4

Prices are approximate. Check them before you buy.

Case files

The case: a wood-grain cover over a black faceplate

The cover is the top and both sides, with a wood-grain surface in the model itself, so the grain prints. The body (floor, faceplate and back panel) slides into it from the front. Print settings and assembly are in PRINTING.md.

Printing the case

The case has two parts. Both come from generate.py (see below).

Status. A test print confirms that the cover and the body fit together. The port openings, the insert holes and the LED holder are not yet tested with the real parts.

Part File Material Orientation
Wood-grain cover case-cover.stl Wood-fill PLA or brown PLA Stand it on its front edge
Body (floor, faceplate, back panel) case-body.stl Black PLA or PETG Floor down, as exported

The cover

The body

Assembly

  1. Screw the Pi to the standoffs with four M2.5 x 6 screws. The USB and Ethernet end faces right, and the HDMI edge faces the back.
  2. Slide the TM1637 LED module down into the two slotted posts behind the faceplate window, with the display against the faceplate. Modules differ a little: if yours is loose, use a drop of hot glue.
  3. Optional: cut a 39 x 23 mm piece of red acrylic and glue it in the pocket around the window.
  4. Slide the body into the cover from the front until the faceplate touches the cover.
  5. Put two M2.5 x 6 screws up through the feet into the lock bosses.

The microSD card is under the Pi. Remove the two lock screws and slide the body out to change it.

Change the design

python3 -m venv .venv && .venv/bin/pip install manifold3d numpy
.venv/bin/python generate.py          # both parts
.venv/bin/python generate.py cover    # one part

The sizes are at the top of generate.py. The grain is in woodgrain.py: change ring_mm, the knots, or GRAIN_DEPTH for a different board.

Assemble

The first printed prototype can change these steps.

  1. Print the cover and the body. See PRINTING.md.
  2. Put six M2.5 heat-set inserts into the body with a soldering iron: four in the Pi standoffs and two in the lock bosses, from below.
  3. Attach the active cooler to the Pi. Connect its fan cable to the FAN port.
  4. Attach the Pi to the standoffs with four M2.5 screws. The USB end faces right and the HDMI edge faces the back.
  5. Optional: connect the LED readout (see below). Slide the module down into the posts behind the faceplate window.
  6. Slide the body into the cover from the front. Put two M2.5 x 6 screws up through the feet.
  7. Flash the microSD card and install the software. See Set up the software.
  8. Connect the micro-HDMI cable to HDMI 0 (the port next to USB-C) and to the TV. Connect the power supply last.

Front-panel LED (optional)

A TM1637 4-digit module shows the channel number, like the readout on an old cable box. It shows ---- before the first tune, and a flashing 88 when the box cannot reach its own services.

Module Pi pin
CLK GPIO 23 (pin 16)
DIO GPIO 24 (pin 18)
VCC 3.3 V (pin 17)
GND pin 20

Turn it on with sudo systemctl enable --now box-led.

The remote

License. Build a box for yourself, change it, share your changes. The project is under the PolyForm Noncommercial license: selling boxes needs the author's permission.

Status. The software install is tested in an arm64 Debian container. The kiosk display, HDMI audio, HDMI-CEC and the LED readout are not yet tested on real hardware. A test print of the case confirms that the cover and the body fit together. The port openings and the insert holes are not yet tested with the real parts.