Case design · Claude's version

9-key macropad case

Nine Cherry MX keys in a 3 × 3 grid, two rotary encoders stacked on the right, and a Raspberry Pi Pico 2 W inside. Two printed halves held by four M3 screws, with rubber feet and two fold-out legs.

Footprint
× mm
Case height
mm
Key pitch
mm
Tilt on legs
°

Loading the model…

Drag to rotate, scroll or pinch to zoom, right-drag to pan. All measurements are in millimetres.

Dimensioned drawings

Projected from the same 3D model, so they always match it. Select a drawing to open it full size.

Top view with key and encoder positions dimensioned Bottom view with feet, legs and screw positions dimensioned Side view with legs folded Side view with legs open showing the tilt angle Rear view with the USB opening dimensioned Cross-section through the Pico and USB opening Cross-section of the leg hinge, folded and open

Shopping list: one order from Mouser

Every part was in stock at Mouser on 20 November 2026. Mouser was the only store checked that had the header-less Pico 2 W; Adafruit, Digi-Key and Amazon were all out of it. The case is sized to these exact parts.

PartQtyMouser part no.CostIn stock
Raspberry Pi Pico 2 W
SC1633, no headers
1358-SC1633$7.001,778
Key switches, 10-pack
Kailh linear red (Adafruit 4952). Clicky white 485-4955 and tactile brown 485-4954 cost the same
1485-4952$6.958 packs
Keycaps, 10-pack
Relegendable 1u caps with clear label covers (Adafruit 5039)
1485-5039$4.9538 packs
Rotary encoder with push switch
Bourns PEC11R-4220F-S0024: M7 bushing, 6 mm D shaft, 20 mm; nut and washer included
2652-PEC11R-4220F-S24$4.688,103
Encoder knob
Slim 11.5 mm D-shaft knob (Adafruit 5093)
2485-5093$1.50277
M3 brass heat-set insert
SI IUTB-M3, straight wall, 4.55 × 5.74 mm
4IUTB-M3$1.6051,505
M3 × 6 steel pan-head screw
Keystone 29311, slotted, zinc plated
4534-29311$1.884,049
Rubber feet, 4-pack
About 8 mm × 4 mm stick-on bumpers (Adafruit 550)
1485-550$0.9526 packs
Hookup wire, 2 m, black
30 AWG silicone stranded (Adafruit 2003)
1485-2003$0.75213
Hookup wire, 2 m, green
30 AWG silicone stranded (Adafruit 2005)
1485-2005$0.7562
Parts total
Before shipping, sales tax and any import tariff Mouser adds in the cart
$31.01
USB-A to micro-B data cable, 1 m
Same Sky CBL-UA-MUB-1. Skip it if you already have one
1CBL-UA-MUB-1$4.102,044

Download the list as a spreadsheet (CSV)

Key numbers

Outside size × × mm
Height to keycap tops mm from the desk
Height to knob tops mm from the desk
Switch cutouts9 × mm square, mm clip lip, mm pitch
Encoder holes2 × Ø mm, mm apart, mm right of the last key column
USB opening × mm, centred on the rear wall, centre mm up
Walls / deck / base / / mm
Rubber feet4 recesses, Ø × mm deep
Legs × × mm, swing ° to a hard stop
Tilt with legs open°; rear edge sits mm above the desk ( mm when flat)
Room under the switches mm between the Pico and the switch pins

Printing

  • Top shell: upside down, deck on the bed. No supports.
  • Bottom plate: desk side down. The leg pockets bridge about 20 mm; add support there if your printer sags.
  • Legs (print 2): flat. They snap in from below and stay put by friction.
  • PETG is the safer choice for the bottom plate, because the leg sockets flex when the legs snap in.

Check before printing

Files