Chapter 1: DIN Pi Case Assembly - DIN Rail case for Raspberry Pi

The DIN Pi Case is a modular, stackable DIN rail enclosure system that turns a Raspberry Pi and its HATs into cabinet-ready automation equipment:

This assembly shows the DIN Pi Case as a complete stackable DIN rail solution for Raspberry Pi-based automation projects. Stackable design also improves serviceability. Modules can be organized in a predictable order, wiring can be routed more cleanly, and the system remains easier to inspect, upgrade, or adapt later. This is especially useful for automation panels, monitoring systems, data logging, gateways, home automation cabinets, test benches, and industrial prototypes.

Key advantages of the stackable assembly:

The goal of this design is to make Raspberry Pi-based projects easier to integrate into real control cabinets: organized, expandable, serviceable, and mechanically aligned with the way professional automation hardware is installed.

The goal is not to replace a PLC where a PLC is the correct tool. The goal is to make Raspberry Pi-based automation projects easier to integrate into the same professional environment: mounted on DIN rail, protected, organized, stackable, and ready to live inside a real electrical cabinet.

System Modules

Modules align with press-fit pins, snap securely together, and can be separated for maintenance without damage.

Chapter 2: Development Journey in Brief

This project has been evolving for several years.

1. The Tinkercad Prototype

The first version was designed in Tinkercad. It proved the core idea: a modular Raspberry Pi enclosure that mounts on DIN rail. The stackable concept worked, but the printed alignment pins had a serious weakness. Because the pins were printed vertically, they often sheared or delaminated during disassembly:

That single mechanical issue stopped the project for nearly two years.

2. The Injection Molding Attempt

I later worked with a mechanical engineer experienced in automotive plastic parts.

Draft angles, wall thickness, snap fits, ribs, tolerances, moldability.

3. The Crowdfunding Dead End

Chapter 3: The Elegant 3D-Printing Fix

A few months ago, after years of thinking primarily about injection molding, I decided to revisit the original 3D-printed design one last time.

Instead of accepting the weakness of vertically printed pins, I asked a different question:

What if the pins didn’t have to be printed vertically at all?

The solution turned out to be surprisingly simple:

Instead of printing the alignment pins as part of the enclosure, I redesigned them as separate components. They are now printed horizontally, where the layer orientation gives them dramatically higher mechanical strength. The enclosure itself was modified to include precisely sized holes, allowing the pins to be press-fitted into place after printing.

The result completely changed the design.

The new pins are significantly stronger, snap securely into the next enclosure, and withstand repeated assembly and disassembly without the shearing and delamination that plagued every previous prototype.

After nearly seven years, the original problem was finally solved.

The dream of producing the enclosure through injection molding hasn’t disappeared. I still believe that one day the DIN Pi Case will become an injection-molded product.

But until that day comes, the redesigned 3D-printed version has become a practical, reliable solution that I’m proud to offer.

Looking back, this project taught me something I didn’t expect.

The hardest part wasn’t learning CAD. It wasn’t finding manufacturers. It wasn’t even the cost of tooling. The hardest part was refusing to accept that a tiny plastic pin had beaten me.

After years of prototypes, tooling research, crowdfunding research, and mechanical redesign, the project is finally back to the original goal: a modular DIN rail case system for Raspberry Pi and HAT-based automation.



DIN Pi Case - used for Raspberry Pi 3/4/5 model B

DIN Pi Case Extension - to be used with the HATs we manufacture

DIN Pi Case Extension (incl. header) - to be used with HATs from other manufacturers, includes the required 40 pin header, H: 26.5mm

Assembly - DIN Rail case for Raspberry Pi - assembly video