# Pi 5 how to onstall AI and UPS hats

**URL:** <https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649>\
**Category:** Raspberry Pi\
**Created:** [14 January 2025 07:11 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649 "2025-01-14T07:11:24Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lee283496](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@Lee283496](https://forum.core-electronics.com.au/u/Lee283496)\
**Post date:** [14 January 2025 07:11 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/1 "2025-01-14T07:11:24Z")

</div>

I have a Pi 5 with Active Cooler , and looking to add the AI Hat and UPS (SupTronics) Hat. It doesn’t seem possible ATM. The UPS hat has hardware that coincides with the USB and ethernet sockets on the Pi 5 board. Can it be done?

---

<div class="post-metadata">

**Author:** ![lia262073](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@lia262073](https://forum.core-electronics.com.au/u/lia262073)\
**Post date:** [14 January 2025 09:18 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/2 "2025-01-14T09:18:47Z")

</div>

> [@Lee283496](#):
>
> have a Pi 5 with Active Cooler , and looking to add the AI Hat and UPS (SupTronics) Hat. It doesn’t seem possible ATM. The UPS hat has hardware that coincides with the USB and ethernet sockets on the Pi 5 board. Can it be done?

Instead of a HAT, consider a USB-based UPS power solution for the Raspberry Pi 5. These devices provide battery backup via a USB connection, eliminating physical conflicts with GPIO or other components.

---

<div class="post-metadata">

**Author:** ![Lee283496](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@Lee283496](https://forum.core-electronics.com.au/u/Lee283496)\
**Post date:** [15 January 2025 01:08 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/3 "2025-01-15T01:08:15Z")

</div>

Thanks for that idea, although earlier today I thought that with long enough standoffs I could mount the UPS hat underneath the pi 5, and figure out a custom case to house the extra height. I could keep peripheral connections as normal. ( A bit messy, but should be viable, I think.) Do you have a particular product in mind for a separate UPS power source? Both ideas add volume to either solution, but I could choose.

---

<div class="post-metadata">

**Author:** ![Samuel](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/samuel/32/11763_2.png) [@Samuel](https://forum.core-electronics.com.au/u/Samuel)\
**Post date:** [15 January 2025 05:18 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/4 "2025-01-15T05:18:08Z")

</div>

Hey @Lee283496,

You will need to be careful and make sure you choose a UPS product that can output 5A, the Pi 5s can be pretty power hungry!

I would suggest an option that works without taking up extra ports on the PI. Something like this UPS module would be able to connect and power the Pi through the GPIO ports made accessible on the top of the AI hat and could be nicely stacked underneath the Pi.

> **[UPS Module with 5V and 3S LiPo Output](https://core-electronics.com.au/uninterruptible-power-supply-module-supports-charging-and-power-output-at-the-same-time-3s-amp-5v-5a-output.html)**
>
> Uninterruptible Power Supply (UPS) Module, Supports charging And Power output at the same time, 3S & 5V 5A Output...

Hope this helps!

---

<div class="post-metadata">

**Author:** ![Lee283496](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@Lee283496](https://forum.core-electronics.com.au/u/Lee283496)\
**Post date:** [15 January 2025 10:09 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/5 "2025-01-15T10:09:19Z")

</div>

I realized I ordered and received a “UPS SHield X1202 V1.1” labelled “Suptronics Technologies” and allowing 4 x 18650 batteries, with a charging port. The supplier was Core electronics. I got a 12V output charger 1.5A, although I have since seen (I think) requirement is 2A for that battery setup. I might have to get a better charger, or change UPS.

---

<div class="post-metadata">

**Author:** ![Lee283496](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@Lee283496](https://forum.core-electronics.com.au/u/Lee283496)\
**Post date:** [8 February 2025 01:06 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/6 "2025-02-08T01:06:07Z")

</div>

I just got back to this and found that the battery pack is not compatible with the pi4, or pi5. The footprints don’t match in any way to support any standoffs. So, might I say the Suptronics UPS Shield is useless. Well, for me anyway. Please correct me if I’m wrong, and illustrate how it can be done.

---

<div class="post-metadata">

**Author:** ![Jeff105671](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jeff105671/32/3729_2.png) [@Jeff105671](https://forum.core-electronics.com.au/u/Jeff105671)\
**Post date:** [8 February 2025 02:15 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/7 "2025-02-08T02:15:22Z")

</div>

> [@Lee283496](#):
>
> I realized I ordered and received a “UPS SHield X1202 V1.1"

Do you mean this one?

> **[SupTronics Technologies](https://suptronics.com/Raspberrypi/Power_mgmt/x1202-v1.1_hardware.html)**
>
> Raspberry Pi, RasPi, RPi, Expansion Board, OEM service,ODM service,System engineering, PCB hardware design, Mechanical design, PCBA Prototyping, manufacturing and Assembly, Integrated component procurement, BOM cost reducation service, Plastic and...

The image shows the unit with a Pi5 mounted on it. In what way is yours different?

---

<div class="post-metadata">

**Author:** ![Lee283496](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@Lee283496](https://forum.core-electronics.com.au/u/Lee283496)\
**Post date:** [8 February 2025 07:34 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/8 "2025-02-08T07:34:23Z")

</div>

Thanks so much. My mistake. The image in your link is the illustration I needed.

---

<div class="post-metadata">

**Author:** ![Lee283496](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@Lee283496](https://forum.core-electronics.com.au/u/Lee283496)\
**Post date:** [8 February 2025 12:30 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/9 "2025-02-08T12:30:12Z")

</div>

Having corrected the mounting, with help from here, thanks, I’m stuck with another problem. Having charged the UPS, I connect to the pi5 using USB-A to USB-C cable from UPS to Pi PWR. On pushing the on button on the UPS, the UPS status indicators don’t quite go through the states that I expect from reading documentation. The 4 battery level indicators are on, as expected. The 5V output indicator is on, as expected, but only briefly. My understanding is that is because the Pi is not detected. That is also indicated by the Pi5 indicator being off. However the indicators on the Pi5 board do come on (briefly) green, then red briefly, then off. My understanding is that means the pi is doing a shutdown. The UPS is fairly new, and was charged 30 minutes prior. The Pi5 runs normally when powered from an AC to DC adapter with 5.1V DC 5A output. I would appreciate if anybody can offer your thoughts.

---

<div class="post-metadata">

**Author:** ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)\
**Post date:** [9 February 2025 04:25 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/10 "2025-02-09T04:25:28Z")

</div>

> [@Lee283496](#):
>
> I connect to the pi5 using USB-A to USB-C cable from UPS to Pi PWR

Note the safety warning.  
7. Do not apply power to your Raspberry Pi via the Type-C USB socket.

I have one of these and it works nicely. Read through the DFRobot wiki document.

> **[Raspberry Pi 5 UPS-DFRobot](https://wiki.dfrobot.com/Raspberry_Pi_5_UPS_SKU_FIT0992_)**
>
> A UPS expansion board designed specifically for Raspberry Pi 5

The only issue I had was after installing it on a 2GB Pi 5; I realised I needed an 8GB Pi 5. The I2C connection did not work after that. Removing and reinstalling very carefully to get the pins aligned correctly fixed it. I use a plug pack to charge it via the DC socket. Runs for about 5 hours, in idle.

Cheers  
Jim

---

<div class="post-metadata">

**Author:** ![Lee283496](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@Lee283496](https://forum.core-electronics.com.au/u/Lee283496)\
**Post date:** [9 February 2025 06:31 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/11 "2025-02-09T06:31:48Z")

</div>

Thanks. I will look at an alternative power connection. Note the page for the link you provided does not contain a warning about applying power via the USB-C plug.

---

<div class="post-metadata">

**Author:** ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)\
**Post date:** [9 February 2025 22:25 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/12 "2025-02-09T22:25:18Z")

</div>

> [@Lee283496](#):
>
> Note the page for the link you provided does not contain a warning about applying power via the USB-C plug.

The Warning is on the Core Electronics Web page for the DFRobot board.

> **[Raspberry Pi 5 18650 Battery UPS HAT (5.1V 5A)](https://core-electronics.com.au/raspberry-pi-5-18650-battery-ups-hat-51v-5a.html)**
>
> The 5.1V 5A Raspberry Pi 5 power supply UPS HAT features a 4-cell 18650 battery holder for extended operation. Offers seamless power switching, automatic...

There is a USB-C connector on the UPS board which is labelled ‘Type C Powered Input 5Vdc 5A’. Just below the camera connectors on the Pi 5. Suggest that would be ideal place to connect the USB-C power.

Regards  
Jim

---

<div class="post-metadata">

**Author:** ![Lee283496](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@Lee283496](https://forum.core-electronics.com.au/u/Lee283496)\
**Post date:** [14 February 2025 08:31 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/13 "2025-02-14T08:31:45Z")

</div>

The only USB-C port on my UPS is labelled “PWR”, which I fail to understand, because input power to UPS for charging is the 6 to 18V DC socket. There’s two 2-pin headers labelled 5V Out, so I’m looking at connecting from 1 of those to the pi. I read that it’s not advisable to power via GPIO.

---

<div class="post-metadata">

**Author:** ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)\
**Post date:** [15 February 2025 03:24 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/14 "2025-02-15T03:24:47Z")

</div>

> [@Lee283496](#):
>
> The only USB-C port on my UPS is labelled “PWR”, which I fail to understand, because input power to UPS for charging is the 6 to 18V DC socket

This pic shows the USB-C socket and what it is to be used for. I connected a USB-C power pack to this port and the board powers up normally and begins to charge. The 6 to 18V DC socket is for when you used a different power source, makes the board more flexible.

There should be no need to connect power the the Pi when attached to the UPS. The two pogo pins near the 5V0 led and the mounting stud connect power from the UPS to the Pi. Careful placement of the Pi is need to ensure the pins line up correctly.

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

Regards  
Jim

---

<div class="post-metadata">

**Author:** ![Lee283496](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@Lee283496](https://forum.core-electronics.com.au/u/Lee283496)\
**Post date:** [15 February 2025 07:12 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/15 "2025-02-15T07:12:58Z")

</div>

Thanks. That works for me now. Looking at the position of the pogo pins, it looks to be powering the pi via GPIO, which I thought is warned against in other documentation/dialog I’ve read. Something I’d like the manufacturer to consider is ability to connect an external button for power on, and something for ability to disconnect power to the pi. That seems counter-intuitive to most people regarding a UPS, but I’m working on a design for a wearable device that needs to power on and off simply by the user. Now I’m off the topic of the original post here, so maybe I should separately look into options for the on/off. Thanks for your patience and help.

---

<div class="post-metadata">

**Author:** ![Dan](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/dan/32/10815_2.png) [@Dan](https://forum.core-electronics.com.au/u/Dan)\
**Post date:** [17 February 2025 01:49 UTC](https://forum.core-electronics.com.au/t/pi-5-how-to-onstall-ai-and-ups-hats/21649/16 "2025-02-17T01:49:04Z")

</div>

Hi @Lee283496

The UPS hat will power the Pi5 both via the GPIOs and also video the pads for the USB-C input for the Pi, being that these are from the same source it would be fine. As for an external power button, there is a header on the board available for that.

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/5/50333678e4a8deb4caa609d5a45f0786f84ec89e.jpeg)
