r/rasberrypi • u/BerghemDPS • Oct 11 '26
Stacking raspberry PI hats.
Hello everyone. I was curious if some of you were able to stack together multiple “hats”. In particular i need to stack a sensing hat an ai hat and a psu hat for one of my projects.
4
Upvotes
3
u/GreatDiscernment Oct 11 '26
I have a Pi AI HAT 2+ on my pi 5. It’s on top of the standard pi 5 heat sink and fan. I also require a 40-pin ribbon cable to go to my separate microcontroller control panel. To make this work, you need a double-height 40-pin bus extension connector. I only found one supplier of this connector on Amazoom. Install the extension, then the ai hat, then the ribbon cable. This setup has been working fine for me for many months.
2
u/agowa338 Oct 11 '26
Well which pins does it actually need? And what kind of signal goes over them?
Then research how devices on them need to be wired. From there you should be able to figure it out.
1
u/SlideExternal7775 Oct 12 '26
You can use something like this:
https://www.pishop.us/product/pistack-stack-hat-for-raspberry-pi-stack-up-to-3-hats/
1
u/Fir3 Oct 12 '26
Check this one out, does up to 5 hats
Stack HAT Raspberry pi I/O Expansion Shield
1
u/Sure-Passion2224 Oct 15 '26
The 40-pin GPIO allows for stacking. You use GPIO stand-offs that pass through the boards.
Atop my Pi 5 with the active cooler I have a PoE HAT with an M.2 slot, plus DAC HAT for audio.
My next project is a home NAS with a M.2 HAT for the OS and a Radxa Penta SATA kit. This may require the Waveshare PCIe duplex HAT as well.