Raspberry Pi UPS HAT
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
- UPS HAT
- 3.7V 450mah Li-Ion rechargeable battery with XHP-2 connector
- 12mm brass standoff and screw set
Script file to power off raspberry pi automatically can be downloaded using the following command:
git clone https://github.com/buyapi/ups
To power your Pi from external +5V using screw terminals: Stacking the Raspberry Pi UPS HAT and Prototyping Plate
1 Review Hide Reviews Show Reviews
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!