# Raspberry Pi PoE HAT & GPIO

**URL:** <https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572>\
**Category:** Product Questions\
**Created:** [12 October 2020 06:02 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572 "2020-10-12T06:02:15Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anthony81763](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Anthony81763](https://forum.core-electronics.com.au/u/Anthony81763)\
**Post date:** [12 October 2020 06:02 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572/1 "2020-10-12T06:02:15Z")

</div>

I have a project where I need to power a Pi 4 using PoE while also using GPIO pins. The Raspberry Pi blog entry that first introduced the PoE HAT ([https://www.raspberrypi.org/blog/introducing-power-over-ethernet-poe-hat/](https://www.raspberrypi.org/blog/introducing-power-over-ethernet-poe-hat/)) says that you can do it, but that you need a stackable, push-fit 2x20 pin header for the GPIO pins _and_ a 4 pin riser for the power connections. You’d probably also need different height standoffs.

I see that Core carry 2 different versions of 40 pin push fit headers from ModMyPi, and https://core-electronics.com.au/40-pin-extra-tall-header-push-fit-version-single-shroud.html look like they’d do the trick for the GPIO, when combined with some 11/12/13 mm standoffs.

I can’t find any 4 pin risers, though. Does Core stock anything suitable?

Has anyone managed to make this work?

---

<div class="post-metadata">

**Author:** ![Anthony81763](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Anthony81763](https://forum.core-electronics.com.au/u/Anthony81763)\
**Post date:** [12 October 2020 06:19 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572/2 "2020-10-12T06:19:19Z")

</div>

Looks like this is what I need: [https://thepihut.com/products/4-40-pin-pin-extra-tall-header-push-fit-version-poe-hat-set](https://thepihut.com/products/4-40-pin-pin-extra-tall-header-push-fit-version-poe-hat-set)

No stock in Australia, as far as I can tell, though. 😕

---

<div class="post-metadata">

**Author:** ![Liam](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/liam/32/3562_2.png) [@Liam](https://forum.core-electronics.com.au/u/Liam)\
**Post date:** [12 October 2020 06:32 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572/3 "2020-10-12T06:32:22Z")

</div>

Hi Anthony,

Just to clarify those 4 pins are used by the POE hat to supply the power, there are some other pins in the GPIO that you can get power from. Have a look over at [pinout](https://pinout.xyz/) too see what each pin does.

Another one of the POE hats doesn’t have the 4 pin pass through that you might be interested in?

Let me know how you go!

Regards,  
Liam.

---

<div class="post-metadata">

**Author:** ![Anthony81763](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Anthony81763](https://forum.core-electronics.com.au/u/Anthony81763)\
**Post date:** [12 October 2020 07:05 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572/4 "2020-10-12T07:05:32Z")

</div>

Yes, the issue is that when you replace the low-profile non-stackable 2x20 pin header on the PoE HAT with a stackable 2x20 pin header the spacing between the Pi and the PoE HAT will increase, so that the included low-profile 4 pin header on the PoE HAT no longer makes good contact with the 4 power pins on the Pi. That’s why the Raspberry Pi blog article recommended using a 4 pin riser (that people in the comments said didn’t work…), and why there is a ModMyPi PoE header set that includes a replacement 4 pin header as well as the 2x20 pin one.

I’m not bothered about passing the 4 power pins through the top side of the PoE HAT (i know I can get power from the GPIO pins instead), I just want to be sure I can pass the GPIO pins through the PoE HAT without breaking the power connection between the PoE HAT & the Pi.

Maybe if I use a stackable 2x20 pin header with 8.5 mm body height (like [https://core-electronics.com.au/stackable-0-100-female-header-2x20-pin-straight.html](https://core-electronics.com.au/stackable-0-100-female-header-2x20-pin-straight.html) or [https://core-electronics.com.au/gpio-header-for-raspberry-pi-b-extra-long-2x20-female-header.html](https://core-electronics.com.au/gpio-header-for-raspberry-pi-b-extra-long-2x20-female-header.html) ) the PoE HAT would still end up close enough to the Pi for a solid power connection, but I need to be sure. Unfortunately I don’t have a PoE HAT and some headers handy to try it out myself, hence the appeal for advice.

The only other PoE HAT that I’m aware of is [https://core-electronics.com.au/pi-supply-pi-poe-switch-hat-power-over-ethernet-for-raspberry-pi.html](https://core-electronics.com.au/pi-supply-pi-poe-switch-hat-power-over-ethernet-for-raspberry-pi.html), which does pass through the GPIO pins (great!) but has a rated power output of only 6.5W (not great!). A Pi 3B+ has a maximum power draw of 12.5W, and a Pi 4B can in theory draw up to 15W, so that HAT seems seriously under-powered for recent B model Pi’s.

The only other alternative that I can see is to use an external PoE splitter (e.g. [https://core-electronics.com.au/poe-splitter-with-microusb-plug-isolated-12w-5v-2-4-amp.html](https://core-electronics.com.au/poe-splitter-with-microusb-plug-isolated-12w-5v-2-4-amp.html) ) instead of a PoE HAT, but I’d prefer to keep everything integrated if I can.

---

<div class="post-metadata">

**Author:** ![Bryce](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/bryce/32/3631_2.png) [@Bryce](https://forum.core-electronics.com.au/u/Bryce)\
**Post date:** [12 October 2020 23:22 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572/5 "2020-10-12T23:22:05Z")

</div>

Hey Anthony,

No worries, to confirm, this was the particular PoE hat that you wanted to use? Making sure to clarify before checking the datasheets and providing a direct response to the wrong question 😅

> **[Raspberry Pi PoE HAT (Official)](https://core-electronics.com.au/raspberry-pi-poe-hat-official.html)**
>
> The Raspberry Pi PoE HAT powers the Raspberry Pi 3 Model B+, and 4 Model B via an Ethernet cable. Power-sourcing equipment is required on the Ethernet network.

Bryce  
Core Electronics | Support

---

<div class="post-metadata">

**Author:** ![Anthony81763](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Anthony81763](https://forum.core-electronics.com.au/u/Anthony81763)\
**Post date:** [13 October 2020 01:08 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572/6 "2020-10-13T01:08:54Z")

</div>

Hi Bryce,

That’s right, the “Official” PoE HAT.

I managed to track down and borrow one today so that I could take a closer look at it. The low profile (~4mm) GPIO & PoE headers are surface mount type, and are not going anywhere.

 ![IMG_20201013_112320](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/1/1a9e0e797f915da0896bc97a29312add42f77009.jpeg)

 ![IMG_20201013_112419](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/d/d9118b01fa407ecdd71286c003ef5f8de1cbeb89.jpeg)

What the original Raspberry Pi blog articles was talking about, I think, is to use a stackable header with _really_ long pins and put it underneath the PoE HAT, with the pins sticking through the existing low profile header and the PCB (~5.2 mm total) with enough sticking out through the top to still connect stuff.

Something like [https://core-electronics.com.au/stackable-0-100-female-header-2x20-pin-straight.html](https://core-electronics.com.au/stackable-0-100-female-header-2x20-pin-straight.html) would have about 5mm of pin sticking out the top, which might _just_ be enough, but the 8.5 mm deep header body would end up increasing the separation between the PoE HAT and the Pi by about 6.2 mm, hence the need for a similar riser for the 4 PoE pins.

The ModMyPi PoE HAT header set ([https://thepihut.com/products/4-40-pin-pin-extra-tall-header-push-fit-version-poe-hat-set](https://thepihut.com/products/4-40-pin-pin-extra-tall-header-push-fit-version-poe-hat-set)) really does look like the way to do it. 2x20 & 2x2 pin headers with 8.5 mm bodies and super long 14.7 mm pins. You attach them both to the corresponding pins on the Pi, then put the PoE Hat on top. That will leave a decent 9.5 mm of pin sticking out though the PoE HAT. Unfortunately I haven’t been able to find anyone stocking this set in Australia, & I need a solution sooner than international shipping will allow.

---

<div class="post-metadata">

**Author:** ![Liam](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/liam/32/3562_2.png) [@Liam](https://forum.core-electronics.com.au/u/Liam)\
**Post date:** [13 October 2020 03:21 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572/7 "2020-10-13T03:21:15Z")

</div>

Hi Anthony,

I had a look around the website and came across this one, if you take the spacers off it gives you the 14.7mm pin length:

> **[Stackable 0.100″ Female Header with Extra 0.3″ Spacer: 2x20-pin, Straight](https://core-electronics.com.au/stackable-0-100-female-header-with-extra-0-3-spacer-2x20-pin-straight.html)**
>
> This extra-tall stackable 40-pin female header features two rows of 20 pins spaced with a 0.1″ (2.54 mm) pitch. It includes three 0.1″-thick spacers for additional clearance, and the extended pins allow multiple units to be stacked as popularized on...

  
In combo with this one:  

> **[0.100](https://core-electronics.com.au/0-100-2-54-mm-female-header-2x3-pin-straight.html?reviews=yes)**
>
> This connector is a double-row, 6-pin (2×3), straight female header strip designed to match 0.1

How does this look?

 ![WIN_20201013_14_16_44_Pro](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/3/3590a1fb17e01f3da6ec5c3c04449f542676b187.jpeg) ![WIN_20201013_14_17_03_Pro](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/d/dd5a4ab35950419343f6fdd9c0b696783ff107b6.jpeg) ![WIN_20201013_14_16_34_Pro](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/8/818e3ba69cabdde502b82b1d3b235bee0deec4d5.jpeg)

You might be able to cut the 2x3 header down to gain access back to the header or swap the sides although it comes into contact with another component on the POE HAT.

Let us know if this helps!

Regards,  
Liam

---

<div class="post-metadata">

**Author:** ![Anthony81763](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Anthony81763](https://forum.core-electronics.com.au/u/Anthony81763)\
**Post date:** [13 October 2020 04:06 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572/8 "2020-10-13T04:06:23Z")

</div>

Hi Liam,

Thanks for taking the time to work this out, your suggested solution looks _almost_ perfect!

When I was searched through the 2x20 pin headers I missed the fact that one had removable spacers. With all of them removed it’s basically identical in dimensions to the ModMyPi/ThePiHut ones

The only thing that would make this better is if that 2x3 header came in a 2x2 version, but I’m sure I can work around that. Looking at it I think I’d just need to clip two of the pins off. I assume the pins on that header feel like they make a good connection with the 2x2 header on the HAT?

---

<div class="post-metadata">

**Author:** ![Liam](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/liam/32/3562_2.png) [@Liam](https://forum.core-electronics.com.au/u/Liam)\
**Post date:** [13 October 2020 04:13 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572/9 "2020-10-13T04:13:14Z")

</div>

Hi Anthony,

Yea, in my dig I sadly didn’t come across any 2x2 headers, it seemed like it caught pretty well but wasn’t able to do any testing with it so cant confirm anything for sure.

Let me know how you go!

Regards,  
Liam.

---

<div class="post-metadata">

**Author:** ![Anthony81763](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Anthony81763](https://forum.core-electronics.com.au/u/Anthony81763)\
**Post date:** [13 October 2020 06:30 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572/10 "2020-10-13T06:30:27Z")

</div>

The final missing part of the puzzle are 16mm M2.5 standoffs to tie it all together. You sell them, but they have a lead time 😕

---

<div class="post-metadata">

**Author:** ![Oliver](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/oliver/32/3315_2.png) [@Oliver](https://forum.core-electronics.com.au/u/Oliver)\
**Post date:** [13 October 2020 07:38 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-poe-hat-gpio/8572/11 "2020-10-13T07:38:11Z")

</div>

Hi Anthony,

If you can’t go metric, go imperial! M2.5 is very close to 3-48 UNC. This is an uncommon size, but you may be able to get away with 2-56 (close to 2.1mm) or 4-40 (close to 2.8mm). FYI an M2.5 clearance hole is about 2.8mm so 4-40 would be a tight fit, but might just go.

5/8" is approximately 16mm (15.875mm to be precise). You may need to combine a few different size standoffs but with a bit of creativity you should be able to get there with our shelf stock.

OR, I’ve just checked and it looks like Littlebird have stock of this M2.5 kit in Sydney:

> **[120Pcs M2.5 Male Female Brass Standoff Spacer set 10x M2.5 6mm Brass...](https://www.littlebird.com.au/products/120pcs-m2-5-male-female-brass-standoff-spacer-set-10x-m2-5-6mm-brass-female-female-spacers)**
>
>  This Brass Standoff Kit includes the following parts: 10x M2.5 6mm Brass Female-Female Spacers 10x M2.5 10mm Brass Female-Female Spacers 10x M2.5 12mm Brass Female-Female Spacers 10x M2.5 15mm Brass Female-Female Spacers 10x M2.5 6mm+6mm Brass...

Regards,  
Oliver  
Support | Core Electronics
