

Introducing our own uninterruptible power source for the raspberry pi! The UPS hat is powerful enough to continuously deliver 3 Amps of current to the Raspberry Pi , Ultra lower power STM32 controller is used to make the Raspberry pi last longer when powered with the battery. The Hat also includes real time clock(DS3231), which can easily be accessed using the i2c on the pi. It is compatible with all 40-pin models of the Raspberry pi, even the pi 4! Additional space and holes on the board can be used to properly secure much powerful 18650 battery which can offer longer run time, the whole setup can easily fit inside our HighPi cases. Extra long headers are used to mount other hats on top of the UPS Hat.
The github code below powers the Pi down after a set number of minutes. Once power to the Pi is re-established, the Pi restarts automatically. Approximate run times for the two battery options are;
- Included 450mAh battery: 10-30 minutes
- Optional 18650 battery: 30 minutes - a few hours
INCLUDED
- UPS HAT
- 3.7V 450mah Li-Ion rechargeable battery with XHP-2 connector
- 12mm brass standoff and screw set
RESOURCES
Script file to power off raspberry pi automatically can be downloaded using the following command:
git clone https://github.com/buyapi/ups
USER GUIDE
https://www.pishop.us/raspberry-pi-ups-hat-guide/
TECH TIPS
To power your Pi from external +5V using screw terminals: Stacking the Raspberry Pi UPS HAT and Prototyping Plate
3 Reviews Hide Reviews Show Reviews
-
Works with RPI 2 as well!
... and probably with RPI 1. The first 20 pins of the 40-pin header on the UPS Hat are in fact the same as the 20 pin header on the RPI 2. There are two ways to make this work (I tested both):
- Use an extender (like a couple of single-row wire-wrap pin/sockets) to jack the UPS Hat up above the yellow NTSC RCA video connector
- Or, if you're not going to use the NTSC video out (HDMI will still work) simply snip off the yellow connector. This allows the UPS Hat to sit right where it should.
I ended up using the second option and so far, everything works exactly as it should! -
Nice Hardware - Can Fit with Heatsinks
Nice hardware. Fits in case with CPU & GPU heat sinks with slight mods --
* Clip pins from top of UPS hat, use long standoffs and stacking header to raise UPS hat high enough to clear CPU & GPU heat sinks.
* GPIO Stacking Header for Pi – Extra-long 2×20 Pins
* Brass Standoffs, M2.5 x 15mm, Package of 4
Had to cut a small hole in case cover to allow battery connector "space". Also added a hole to access the button.
The script works, but the init process suggested is a mess. I eventually gave up on the init process and just added it to /etc/crontab:
@reboot root /root/ups && -
Needs Minor Improvements
I just received this UPS HAT and it will work to remove a battery pack and installs inside the RPi4B case very nicely. I had to remove my CPU heat sink because the board does not accommodate the high heat sink space and leans. The main improvement would be to provide battery capacity so that apps can inform users when power is running out of the battery. The Real Time Clock isn't as important as the battery capacity since most computers sync to online time protocols instead of a hardware clock. Regardless, when the battery does run out, all one needs to do is apply power again and the HAT starts the RPi up very smoothly. Now if they only had more in stock I would order another one!