16-Bit Mini

This is the README that comes in the download. The files it names are in the zip.

16-Bit Mini — Raspberry Pi 4 case, with or without the camera

115 W × 100 D × 66 H mm (plus feet). Every part prints without supports.

With camera Without camera
with camera without camera

The two versions are the same case with a different front panel. Print the cream and lavender plates once, then the purple panel you want. The panel slides out, so a case printed without the camera can get one later by printing the other panel.

Files

File What it is
3mf/plate_1_cream.3mf base, body and top, in print orientation (both versions)
3mf/plate_2_lavender.3mf deck outline and the two shoulder blocks (both versions)
3mf/plate_3_purple_with_camera.3mf front panel with the lens hole and snap-in camera mount
3mf/plate_3_purple_no_camera.3mf plain front panel
stl/ the same parts one by one. accent.stl is printed twice
step/mini16_with_camera.step, mini16_no_camera.step assembled CAD models incl. a reference Pi, camera, fan and button, for Fusion / FreeCAD / Onshape
mini16_case.py parametric source. uv run mini16_case.py regenerates everything above
preview/ renders: both versions, rear, exploded, inside, the microSD opening, print plates

Printing

One plate per filament colour, so nothing changes colour mid-print.

Plate Colour Parts Time Filament
1 cream base, body, top 3 h 26 min 125 g
2 lavender deck outline, 2 shoulder blocks 7 min 2 g
3, with camera dark purple front panel + camera mount 27 min 12 g
3, without camera dark purple plain front panel 10 min 8 g

Times and weights are Bambu Studio 2.9's own estimates for the P2S, 0.4 mm nozzle, "0.20mm Standard" with 3 walls, Bambu PLA Basic. PETG HF came out within ten minutes of these.

In Bambu Studio, for each plate:

  1. File → Import → Import 3MF/STL/STEP… and pick the plate file. It will say the file was not made by Bambu Studio and only the geometry is loaded: that is expected. If it asks whether to load it as one object with multiple parts, answer no.
  2. Process "0.20mm Standard". Under Strength set Wall loops to 3. Leave supports off.
  3. Choose the filament, Slice plate, Print plate.

The parts are already turned the right way up. Don't auto-orient them:

Part How it lies on the bed
base floor down
body upside-down, deck on the bed
top upside-down, vent face on the bed
front panel face down (camera mount pointing up)
deck outline visible face down
shoulder block standing on one end

The deck, the top, the panel face and the outline all print against the plate, so the surfaces you look at get the plate's finish. On the textured plate that is an even matte grain.

PETG is the safer choice next to a Pi 4, and tougher for the snap arms. PLA works if the case is not in the sun.

Hardware

Qty Screw Where
4 M3 × 8 pan head base → body (2 front, 1 back, 1 left side)
4 M3 × 8 pan head body → top, from inside the body (never seen)
4 M2.5 × 6 Pi → base posts
4 M2 × 6 (optional) camera → panel posts; the camera snaps in, so these are only a backup
4 12 mm stick-on rubber feet recesses under the base
1 12 mm momentary push button, panel mount (M12 thread) power button, back of the body
1 CanaKit Raspberry Pi Fan (RSP-FAN, 30 × 30 mm) under the top vents

All screws thread straight into the plastic (pilot holes are sized for that). The button, fan, feet and camera are the same ones the Arcade Wedge case uses; its README has the button and fan wiring.

Assembly

exploded

  1. Press the lavender outline into the groove on the deck, and a shoulder block into the pocket on each side (the same block fits both: turn it so its slope follows the body's). They are a press fit. If one is loose, a drop of superglue holds it.
  2. Turn the top over. Push the fan onto the square collar, label side facing you, until both arms click over it (see "Fan" below).
  3. Set the top on the body, its rim in the groove around the opening, and fix it with 4 screws from inside the body, up through the deck.
  4. Push the power button through the hole in the back of the body from outside and tighten its nut inside.
  5. With camera: snap the camera onto the back of the panel, ribbon connector toward the panel's square edge, lens through the hole. Plug the ribbon into the camera. The panel's bevelled edge is its top.
  6. Turn the body over. Slide the panel into the two rails behind the front window, bevelled edge first, smooth face toward the window, until it stops.
  7. Lay the Pi flat on the four posts in the base, a few mm forward of the holes, with USB and Ethernet over the low part of the left wall and the microSD card's end toward the chute on the right. Slide it back until USB-C, HDMI and the audio jack sit in their openings, then fit the 4 Pi screws. The card can go in now or later.
  8. Plug the ribbon into the Pi's CAMERA connector, the button's plug onto header pins 5 and 6, and the fan's two wires onto pins 4 and 9. Keep the ribbon's slack away from the fan, and every wire out of the chute.
  9. Lower the body onto the base. The panel's bottom edge drops behind the base's front wall, and the body's left wall comes down around the USB and Ethernet sockets. Fit the 4 base screws.
  10. Stick on the feet. With the camera, focus by turning the lens from outside.

The microSD card

microSD opening

The card goes in and comes out through the opening low in the right side, with the case closed. Its end is 23.6 mm in from that side: the board is 85 mm long in a case 115 mm wide, and its USB and Ethernet sockets have to be at the left wall. Behind the opening a chute in the base runs in to the card: a floor level with the bottom of the card's socket, and a wall each side, 20 mm apart. It stops 1 mm short of the card.

Fan

inside

The fan snaps onto a collar under the top vents, above the Pi's processor: two spring arms (front and back) hold it and two lips (left and right) keep it centred. It pulls air in through the top and the air leaves through the side vents.

The arms are not the ones that broke on the Arcade Wedge. They are 1.6 mm thick instead of 1.2 and have a rounded root. They bend about 0.6 mm to click instead of 0.85, because they hold a narrower range of fan thickness, and a rigid rib behind each one stops it at about 0.9 mm. They are still printed upright, the weak direction, so bend them only as far as needed. If one ever breaks, the collar has four screw holes 24 mm apart: four M3 × 12 screws hold a fan with corner holes.

Both of the Arcade Wedge's clips have since snapped, and its arms were redrawn by working out the strain in them (Why the arms look the way they do). By the same sum these arms are strained 0.63 to 0.86 % as the fan goes in: the clips that snapped were at 0.85 to 1.05 %, and the Arcade Wedge's arms now are at 0.26 to 0.35 %. These have not been redrawn, so have the screws ready.

Check before printing the top

The arms hold a fan 30 × 30 mm square and 7.0 to 7.6 mm thick. CanaKit publishes 30 × 30 mm but not the thickness; 7 mm is the figure usually quoted. Measure yours. If it is outside that range, set FAN_T_MIN and FAN_T_MAX to your measurement and 0.6 above it, and re-run the script. Only top changes.

Check before printing the camera panel

The snap-in mount is the Arcade Wedge's, made for a board 39 × 39 mm square and about 1.6 mm thick (InnoMaker CAM-OV5647). Anything from 1.0 to 1.9 mm thick is held. The backup screw holes assume 34.0 × 34.0 mm spacing (CAM_HOLE_PITCH).

What differs from the concept picture

What has been checked

Parameters worth knowing (top of mini16_case.py)

Name Default Effect
H_BASE, H_DECK, H_TOP 20 / 52 / 66 height of the seam, the front deck, the raised top
LENS_Z 27.5 height of the lens and the middle of the window
WIN_W, WIN_H 65 / 24 size of the front window
FIT 0.25 clearance between printed parts; raise it if your printer runs tight
TRIM_FIT 0.1 press fit of the outline and shoulder blocks; raise it if they won't go in
FAN_T_MIN, FAN_T_MAX 7.0 / 7.6 range of fan thickness the arms hold
FAN_HOLE_PITCH 24.0 spacing of the fan screw holes (0 removes the whole fan mount)
CAM_PCB_T, CAM_HOLE_PITCH 1.6 / 34.0 camera board thickness / hole spacing
CAM_STANDOFF_H 13.0 how far the camera sits behind the panel (lens sticks out ~4.5 mm past the case)
SWITCH_HOLE_D 12.4 power button hole (16.4 for a 16 mm button, 0 for no hole)
SWITCH_X, SWITCH_Z 30 / 37 position of the button on the back wall
SD_SLOT_W, SD_SLOT_TOP 20 / 25 width of the microSD opening and its chute (0 for neither), height of the opening's top
SD_LEDGE_DROP 1.5 how far under the Pi's board the chute's floor is (see "What has been checked")
SD_REACH_GAP 1.0 how far short of the card's end the chute stops
M3_PILOT, PI_SCREW_PILOT, CAM_SCREW_PILOT 2.8 / 2.15 / 1.7 self-tapping hole sizes

Redrawing the previews

uv run mini16_case.py --assembled /tmp/mini16_assembled
/Applications/Blender.app/Contents/MacOS/Blender -b -P render_previews.py -- \
    /tmp/mini16_assembled stl preview

Where the dimensions come from