Description
I wanted the Pi 5 to sit on the desk as a small computer, with the NVMe HAT and the official cooler inside and nothing hanging off it except cables. This is the case for that. Two printed halves and a little power button, no supports.
It's sized for this stack:
- Raspberry Pi 5, any RAM size
- Official Active Cooler (SC1148)
- Official M.2 HAT+ (SC1166, the full size one on 16 mm spacers) with a 2230 or 2242 NVMe drive
A Pi 5 with only the Active Cooler and no HAT fits too, use four M2.5 nuts in place of the spacers. It's not made for the Pi 4, the M.2 HAT+ Compact, NVMe boards that mount under the Pi, the PoE+ HAT or tower coolers.
The microSD end is the front, so the Pi's own power button and status LED face you. A printed plunger presses the real button and there's a small window for the LED. USB and Ethernet come out the back, power and HDMI on the right side. The SD card sits in an open scoop under the front edge.
The case splits right at the top of the circuit board. Because of that every port opening is an open notch, the shell lifts straight off, and nothing needs supports. A lip keeps the halves lined up and three M3 screws from underneath hold them together. The Pi is clamped by four M2.5 screws that go up through the base and the board into the HAT+ spacers. There are vent slots at cooler height on both long sides and a grille over the SSD. I'm not claiming any temperatures, there's a logger script so you can get your own numbers.
You need, on top of the Pi, cooler, HAT+ and SSD:
- 4 M2.5 x 10 pan head screws
- 3 M3 heat-set inserts, 5.7 mm long
- 3 M3 x 10 socket head screws
- 4 rubber bumpers, 8 mm
- About 45 g of PETG
With a 4 GB Pi, a 256 GB 2230 drive, the official 27 W supply and a micro-HDMI cable it came to about US$209 when I priced it. Pi and SSD prices have been all over the place this year, so check before you order.
Printing: PETG if you can, a busy Pi 5 gets warm. PLA is OK for light use in a cool room. 0.2 mm layers, 3 walls, 20% infill, no supports. Base floor down, shell top face down, the button standing on its small round end. The vent slots bridge 1.8 mm. I like the button in an accent colour.
Putting it together:
- Cooler, stacking header and the four spacers on the Pi.
- Four M2.5 screws up through the base into the spacers.
- Ribbon, SSD and HAT+ on top, with the four top screws from the kit.
- Button in its hole, shell on, three M3 screws from below.
Scripts in slab5_source.zip:
- slab5_health.py prints one page: what it booted from, NVMe link speed, boot order, temperature, fan speed and any under-voltage flags.
- configure_boot.sh sets the bootloader to try NVMe first, then the SD card, then USB. It only shows what it would change unless you run it with --apply.
- thermal_log.py logs temperature, CPU clock, fan speed and throttle flags to a CSV.
They come with 12 tests that run on a normal computer. I haven't run the scripts on a Pi yet.
Where it's at: on the computer the parts sit around the Pi, cooler and HAT+ without any collisions, and every part is a clean single body. It hasn't been printed or built. The port positions are worked out from published drawings, not measured off a board, and the power button is the one I'm least sure about, so the stem is 3.2 mm wide to cover about 1 mm of error. One more thing to look at when you close it: the stacking header pins come up through the HAT+, check they clear the lid.
You'll find a step by step build guide in the same zip, along with the CadQuery source and the plug-in connection table. If you want something small for the same desk, the Totem desk buddy runs on an ESP32 and needs no soldering.
This model is licensed under
Creative Commons Public Domain
This licence allows derivative works. Open it in a tool to build on it — credit is filled in for you when you publish.
Slab 5 mini desktop case for Raspberry Pi 5 with Active Cooler and M.2 HAT+ NVMe
Print Profiles
+Show Print ProfilesDiscussed in
Similar models
phone stand • desk organizer • desk tray
Case-Friendly Phone Stand & Desk Tray — Fits Phones in Cases up to 84 mm Wide, No Supports
MacBook stand • vertical laptop stand • MacBook Air
Slate Vertical MacBook Stand | MacBook Neo, Air 13/15, Pro 14/16 | Swappable TPU Liners
esp32 • esp32-s3 • t-display-s3
Totem ESP32-S3 desk buddy with swappable shells (T-Display-S3, no soldering)
tool holder • hex bit organizer • screwdriver stand
Comments