Rackmounting the Raspberry PIs

My stack of Raspberry PIs was getting a little tippy… A bracket from Germany and some 3D printing later and it's good to go.

There are affiliate links below that I may earn a commission from.


My Raspberry PIs had been just sitting on a shelf in the server rack. They were mounted together, but the stack of them would often slide around on the shelf. The stack can be seen below sitting on top of the switch. Getting the ethernet cables to cooperate in this orientation was not pretty.

raspberry pi stack

As mentioned in server rack update, I bought a bracket from a random german store. Well it finally arrived, but then I had to actually get the mounts to put in.

Mounting the PIs

I had the .stl from here printed using makexyz.com. It was pretty convenient and arrived in like a week. The actual quality of the print wasn't the greatest with some significant artifacts on the face.

After lining it up to the rack, I realized it was also too tall to align with the screw holes. On top of that, it seemed the holes in the bracket weren't actually tapped, so the included screws didn't fit.

I ended up buying a taps set. That tap was able to thread the holes for M4. It was easy enough, but took some time.

tapping holes

The next issue was the actual mount was too big. Only one screw was able to be attached. I ended up buying a 3D printer instead of using a service. I got the Creality CR6-SE. Now able to print my own parts, I bought a digital caliper and modified the mount in FreeCAD to match the dimensions. After 2 iterations, I ended up with a good fit.

raspberry pi mount

I attached the Raspberry PIs to the mount using the top part of this heatsink case. The screws that came with easily fit through the 3D printed part. I did notice a few degree difference with and without the heatsink so it's not just to look good ๐Ÿ˜‰.

raspberry pi case

With all of that done, I now have all of the Raspberry PIs mounted. I bought a full length shelf that holds the switch for the pis and a thinkcentre pc. My entire rack is able to be pulled out from the wall now without worrying about something toppling.

server rack