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

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.
- case-body.stl STL · 492 KB
- case-cover.stl STL · 15449 KB
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
- Stand the cover on its front edge. Then the top and both sides are walls, and the grain prints at full nozzle detail. Do not print it flat.
- Use no supports. The vents and the port window bridge less than 20 mm.
- Use a brim on both sides of the wall, 10 mm wide (Bambu Studio: Brim type "Outer and inner brim"). The cover is tall, and its edge touches the bed only along a 3 mm wall, so it can come loose without a brim. Wipe the plate with dish soap, and on a textured plate add glue stick.
- Three thin ties cross the port window in the left side. They hold the strip of wall under the window while it prints. Do not remove them in the slicer. After printing, cut them out with flush cutters and sand the ends.
- Print the outer walls at 40 mm/s or slower, and turn on Z-hop. A fast nozzle can catch on the grain and knock the cover over.
- Use 0.16 mm layers, 3 walls, and turn off "fuzzy skin" and ironing.
- The grain is 0.45 mm deep. A wood-fill filament with a light sanding and an oil stain shows the grain best.
The body
- Print with the floor on the bed. Use no supports.
- Press six M2.5 heat-set inserts: four in the Pi standoffs (from above), and two in the lock bosses (from below, through the floor).
Assembly
- 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.
- 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.
- Optional: cut a 39 x 23 mm piece of red acrylic and glue it in the pocket around the window.
- Slide the body into the cover from the front until the faceplate touches the cover.
- 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.
- Print the cover and the body. See PRINTING.md.
- 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.
- Attach the active cooler to the Pi. Connect its fan cable to the FAN port.
- Attach the Pi to the standoffs with four M2.5 screws. The USB end faces right and the HDMI edge faces the back.
- Optional: connect the LED readout (see below). Slide the module down into the posts behind the faceplate window.
- Slide the body into the cover from the front. Put two M2.5 x 6 screws up through the feet.
- Flash the microSD card and install the software. See Set up the software.
- 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
- TV remote over HDMI-CEC. Turn on CEC in the TV settings. Each brand has its own name for it: Anynet+ (Samsung), SimpLink (LG), Bravia Sync (Sony). The box shows up as RETRO CABLE. Channel ± changes channel, the guide or menu button opens the guide, and the info button shows the banner.
- FLIRC IR receiver. For a TV without CEC, or any remote you like. Plug it in, then use the FLIRC app on a computer to teach it the remote. Map the buttons to these keys: ↑ ↓ ← →, Enter, Esc, Page Up / Page Down, 0–9, G, I, M, B, C, S.
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.