Circuit Wizardry Part U3 · Rev 2026.11

MintyDeck - Linux Cyberdeck in an Unmodified Altoids Tin

Render of MintyDeck with the lid open: the display in the lid, the 53-key keyboard in the base

Overview

MintyDeck is a handheld Linux computer that lives inside a stock Altoids tin with nothing cut, drilled or glued to it. Closed, it's a mint tin at the tin's own 20.8 mm height. Open the lid and a Hall sensor boots a Raspberry Pi Zero 2 W; close it and the Pi halts cleanly before the 5V rail drops, so there is no power button. A 2.8 inch 320 by 240 display sits in the lid, a 53-key metal-dome keyboard sits in the base, and one 0.12 mm polyimide flex crosses the hinge between them, because a flex thin enough to pass over the rolled rim is the only route from lid to base that doesn't modify the tin. A 6-pin magnetic pogo port charges it and carries USB and a UART console, and a 14-pin header along the hinge takes accessory boards. I own the electrical design in KiCad and the mechanical design in SOLIDWORKS, and it's the next Circuit Wizardry product, planned as a DIY kit where you bring your own Pi. The rev D main board is 6 layers, 0.8 mm thick, 104 placed parts, laid out for two-sided assembly at JLCPCB so a kit buyer only hand-solders the pogo port, the header and one slide switch. As of November 2026 the order files are done and nothing has been ordered yet.

What I learned

  1. Four layers wouldn't route. I made four full attempts on a 4-layer board and every one stalled in the same corner, where the charger, the boost converter, the service switch and the haptic motor all want the same 15 mm. Going to six layers at 0.8 mm cost almost nothing on a board this size, and the last nets closed in an evening. I now pick the layer count from the densest corner of the board, not from the part count.
  2. Place and route at the same time. On the 2-layer attempts I placed every part first and routed second, and by the time the power corner proved impossible I'd already spent days on it. Now I move parts while I route, and the test points go on last, because they're the first thing to give up space.
  3. Measure the thing you're designing around. The STEP model of the tin I started from is 1.3 mm taller than a real tin. Trusting it would have put the keycaps into the display with the lid shut. Every clearance now comes from a tin I measured myself: 20.8 mm closed, a 93.5 by 58.4 mm base, and 1.16 mm between the keycaps and the glass.
  4. A kit changes the design before the schematic does. If a buyer assembles it, no SMD part can be hand-soldered, so the fab places everything on both sides and the buyer touches three through-hole parts. That one rule decided more of the layout than any electrical constraint did.
  5. Let someone else read the board before ordering. Five separate review passes on rev D (electrical, layout, mechanical, docs, privacy) failed three the first time: the cell return and the boost ground each went through a single via, and a leaky Schottky sat on the lid sense line. All cheap to fix on a screen, all expensive on 5 assembled boards.
  6. The lid is the power switch, and that means the deck has to be safe shut in a bag. With the lid closed it draws about 30 uA, so a charged deck keeps for months, and a hidden NORMAL/SERVICE switch keeps it running closed for bench work. Designing the off state took as long as designing the on state.