🖨️ No printer? We’ll print & post it.From £6.90 · UK delivery from £2.85 · Free Tracked 48 over £40Get an instant quote →
Raspberry Pi DIN Rail Case

Raspberry Pi DIN Rail Case

From £6.90 printed to order · UK postage from £2.85, free over £40 · dispatched in 2–4 working days
Arrives damaged? Free reprint, just film the box being opened. Returns policy
Free community design ♥ 1,573 likes ↓ 20,058 downloads

About this print

A compact enclosure for mounting a Raspberry Pi onto a standard DIN rail, as found in electrical enclosures and control cabinets. The case orients the Pi vertically and sideways on the rail, keeping the SD card slot accessible from above and connectors facing downward and forward. This orientation uses significantly less rail space than flat-mounting alternatives. PETG is recommended for electrical enclosures, as it tolerates the modest heat generated by the Pi better than standard PLA.

From the original design page

Original maker's notes

By mdkendall on Thingiverse · CC-BY-SA

A remix of 0110-M-P's excellent Raspberry Pi case to remove the VESA mounting tabs and replace with a DIN rail mount.

The enclosure mounts the Raspberry Pi on the rail vertically, sideways on, with SD card slot facing up and connectors facing down and to the front. It therefore takes much less space on the rail than other cases that mount the Pi flat against the rail.

The case clips on the rail in the usual way. Hang it over the top of the rail then rotate downwards and it will clip over the bottom. A front-accessible notch at the bottom allows releasing the spring clip in the usual way with a fingernail or screwdriver.

The case was based on the Pi 3 bottom and universal Pi 2/3 top, so it should suit Pi 3 or Pi 2. The pictures show it with a Pi 3. Like the original, the board is secured into the enclosure with M3 x 6mm machine screws, and the two halves of the enclosure are secured together with M3 x 16mm machine screws. The screws self-tap into the plastic. Other similar size screws would likely work fine.

The small gaps between the parts of the spring clip are all at least 0.4mm, so this should be printable on most machines. The example in the photos was printed on a Prusa i3 Mk2 using Boots Industries orange PLA.

Downloadable STEP files are included if you want to make modifications.

Formatting may have been simplified. These are the independent maker's instructions and fitment claims; Hark Tech has not independently verified them.

Printing Raspberry Pi DIN Rail Case

For Raspberry Pi DIN Rail Case we would normally reach for PETG — it is tougher and more heat-resistant than PLA, ideal for parts that take load or live somewhere warm. We set the layer height, wall count, infill and supports to suit the model and how you will use it, and those choices are already priced into your instant quote. Want a specific colour or material? Tell us and we will match it where we can.

Model details

Downloads at source20,058
Likes at source1,573
Original modelView on Thingiverse
Designermdkendall
LicenceCC-BY-SA

More popular Thingiverse models

Got your own design?

You do not have to pick from the catalogue. Upload your own file and the price comes back in seconds, no quote form and no waiting on an email.

  • STL, STEP and 3MF
  • Priced from £6.90
  • Free Tracked 48 over £40
  • Printed in-house in Hampshire
Upload a file and see the price →

Designing it yourself? We print from your CAD export too. Printing from CAD · Business and trade accounts

Before you order

🖨️ Get this printed · from £6.90