Stacking on top os an Authomation phat?


#1

Hi,

I want to stack an Inky pHAT on top of an Automation pHAT. I saw the pHAT Stack and looks really cool but due to space constrains I need to do it vertically… If I get one of those stacking headers that have 10 mm pins will that be enough to clear the relay on the Automation pHAT? one like this:

If not, what would be the best way to do it?

Thanks!


#2

Yes, I’ve used those many times. It will work as long as their isn’t a conflict with which GPIO pins are used by each pHat or Hat.


#3

The Automation Hat and pHat come withe the 40 pin connector soldered on. You can use the Adafruit extension headers on Hats between the Pi and the a
automation hats. Also remember that “true” Hats have an EEPROM that can cause conflicts if both are enabled. Adafruit had a jumper on their Hats that can be cut to disable the EEPROM on that Hat


#4

I don’t think the header is pre soldered on the automation pHat. Not according to this, https://shop.pimoroni.com/products/automation-phat


#5

I took a quick look at the pinouts here, and didn’t see any conflicts. You may want to double check though.



#6

Thanks for the info and confirmation! as both pHATs are from Pimoroni I used the pHAT Stack Configurator to check and everything looked right…

https://pinout.xyz/phatstack

What I was concerned about is the height of that relay on the Automation pHAT and that the 10 mm in the stacking header will be enough to clear it and put the Inky pHAT on top, I think the board is 1.5 mm so the pins will only go 8.5 mm high from the Automation pHAT…


#7

Try this one instead, https://www.adafruit.com/product/1979 , its the one I’ve been using.
And or this one on back side of the inky pHat. https://www.adafruit.com/product/1992


#8

Awesome, I think that last one will do the trick fine, thanks!


#9

Seeing as this is the Pimoroni forums,


and


#10

Yeah, the extra tall female (not stacking) header on the Inky pHat, and any of the other stacking headers on the automation phat should do it.

EDIT, which header you use affects which stand offs you’ll need. ;)
You might need some tall ones,


#11

One more thing, I’m now also thinking I could use a Touch pHAT on the project too (already check and no conflicts), of course both the Inky and the Touch would need to be on the top of the stack…

The Touch only needs 5 pins so I think maybe I can solder 5 cables to one of those boards and install it besides the Inky, is there a better solution for that?


#12

There are a couple of ways that might work?
Put the inky pHat and touch pHat on this, . https://www.adafruit.com/product/2337 Using at least one stacking header and stack it on top of the automation pHat.
Or maybe do something with this, https://shop.pimoroni.com/products/pico-hat-hacker ?


#13

Here is a link to my Raspberry Pi projects, https://1drv.ms/f/s!AjOYwiwlwDtpgUMsp2qnevKpGEHb
The Rover uses the min black hacker board to attach multiple pHats. My Pirate Radio and Weather clocks have proto hats stacked in them that I use to run wires to other boards. I just use female to female jumpers.


#14

Great idea! how about making the stack like this:

Inky pHAT…Touch pHAT
|---------------------------|
Mini Black HAT Hack3r using ribbon cable
|
Automation Phat
|
11mm – 2x20 pin Female GPIO Header
|
Raspberry Pi Zero WH

Is this sound?

Some very cool projects you have there BTW…


#15

Yeah, I’ve had a lot of fun building my stuff. Some head scratching and head banging, but mostly fun. ;)

If you use a stacking header in the mini black hat board, under the inky pHat.
The automation phat can plug in from underneath with no need to use a ribbon cable. your way will work too.
Inky pHAT…Touch pHAT
|---------------------------|
Mini Black HAT Hack3r
|
[Stacking header]
|
Automation Phat
|
[stacking header]
|
Raspberry Pi Zero WH


#16

Signing off for tonight. Will check back tomorrow morning if you have any more questions.


#17

Thanks a lot for your help, order placed and now to wait for delivery, then the fun begins…


#18

If its going to run headless, you could stack two on top and two on bottom. Use two stacking headers.
Inky pHAT…Touch pHAT
|---------------------------|
Mini Black HAT Hack3r
Pi Zero W…Automation Phat
The Pi Zero’s HDMI and USB will be blocked by the Automation pHat. Power can be feed in via the GPIO by the way. +5V to pin 2 or pin 4 and ground to pin 6. I’ve done it that way on a few of my projects. My Rovers for example. The Pi Zero doesn’t have a poly fuse anyway so it doesn’t care if it comes in via the USB or GPIO. They both feed the onboard 3.3V regulator. You could use that extra row of GPIO on the Mini black hat board that doesn’t have a header soldered in. Or (double check it) I think there is a 5V in connection on the automation pHat.