3D print your own Raspberry Pi 5 case
Nicely Packaged
© Lead Image © tom-Geschenk, Fotolia.com
The official Raspberry Pi 5 case is not the perfect solution for all applications, so it makes perfect sense to design and 3D print your own case.
The Raspberry Pi 5 offers many new functions. Unfortunately, the original case that is sold by the Raspberry Pi Foundation is too small to make full use of all the options. This starts with the GPIO header: The 40-pin plug is very awkward to connect. The lid does not close properly, and it covers the fan. The case itself is so tightly dimensioned that the factory-fitted fan struggles to circulate the air. Things get even more cramped if you use the Active Cooler [1]. Apparently no one considered the fact that the battery [2] for the Real Time Clock (RTC) also needs some space. All in all, a usable case needs to offer more space and offer some openings for cooling. Ideally, it should be large enough to provide space for any Hardware Attached on Top (HAT) you choose to install.
My plan was to develop a case to meet even the toughest requirements; it also had to be sufficiently flexible to cope with future requirements. The "Requirements" box summarizes the design goals and describes how I've dealt with some of the problems of the official case. I built the case myself using a 3D printer. To create the model for printing, I used Onshape [3], an online CAD program that is free for private use. Note that all models created with Onshape are publicly accessible. Video tutorials will help you familiarize yourself with the program [4].
Model
Creating a 3D model is an iterative process that usually requires several attempts until everything fits as desired. Precise measurements are a great help here. Let's take a look at the data sheet (Figure 1) of the Raspberry Pi 5 [7]. We can take some measurements for our case from this, such as the space between the mounting holes. But not all of the required dimensions can be found here; you will need a caliper gauge to determine the others.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Linux Mint 22.3 Now Available with New Tools
Linux Mint 22.3 has been released with a pair of new tools for system admins and some pretty cool new features.
-
New Linux Malware Targets Cloud-Based Linux Installations
VoidLink, a new Linux malware, should be of real concern because of its stealth and customization.
-
Say Goodbye to Middle-Mouse Paste
Both Gnome and Firefox have proposed getting rid of a long-time favorite Linux feature.
-
Manjaro 26.0 Primary Desktop Environments Default to Wayland
If you want to stick with X.Org, you'll be limited to the desktop environments you can choose.
-
Mozilla Plans to AI-ify Firefox
With a new CEO in control, Mozilla is doubling down on a strategy of trust, all the while leaning into AI.
-
Gnome Says No to AI-Generated Extensions
If you're a developer wanting to create a new Gnome extension, you'd best set aside that AI code generator, because the extension team will have none of that.
-
Parrot OS Switches to KDE Plasma Desktop
Yet another distro is making the move to the KDE Plasma desktop.
-
TUXEDO Announces Gemini 17
TUXEDO Computers has released the fourth generation of its Gemini laptop with plenty of updates.
-
Two New Distros Adopt Enlightenment
MX Moksha and AV Linux 25 join ranks with Bodhi Linux and embrace the Enlightenment desktop.
-
Solus Linux 4.8 Removes Python 2
Solus Linux 4.8 has been released with the latest Linux kernel, updated desktops, and a key removal.

