Skip to content
DINPi - Raspberry Pi DIN Rail Mount PCB. Use multiple HATs or pHATs with a single Pi.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


DINPi Animated

Created for use with some of our home automation HATs, DINPi allows plug and play connection for Raspberry Pi add-on boards in a DIN rail mountable package. Multiple boards can be daisy-chained to create an array of connected HATs or pHATs. Simply solder whichever headers / sockets you require for your project.

Multiple Uses

DINPi Array on DIN Rail

DINPi can be used in a number of ways depending on your requirements. The "ribbon cable" style board design allows DINPi boards to be used in reverse or upside down without issue. The mirrored pinout (see below) allows multiple boards to be connected together using right-angle headers & sockets and can also be used to mount a Raspberry Pi upside-down while maintaining correct GPIO pinout.

Build Your Own


DINPi is open hardware, you can order the PCBs directly from our board manufacturer; PCBWay. We earn a small kickback if you sign-up using this link.

Order your DINPi boards here.

Alternatively you can buy a DINPi kit from us.

Device Compatibility

DINPi is fully compatible with all 40-way Raspberry Pi models and clones.

Device Model Compatibility
Raspberry Pi Model A
Raspberry Pi Model B
Raspberry Pi 1 Model A+ ✔️
Raspberry Pi 1 Model B ✔️
Raspberry Pi 1 Model B+ ✔️
Raspberry Pi 2 Model B ✔️
Raspberry Pi 3 Model B & 3+ ✔️
Raspberry Pi 4 ✔️
Raspberry Pi Zero ✔️
Asus Tinker Board ✔️
Orange Pi ✔️
Odroid ✔️

Parts List

  • 2×20 pin header (generic)
  • 2×20 pin 90 degree header (generic)
  • 2×20 pin 90 degree socket (generic)
  • DIN rail adaptor (Phoenix Contact 1201578 or generic) – x2

Gerber Files

You can download the Gerber files for DINPi here.


Mechanical Drawing

License: MIT

You can’t perform that action at this time.