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

Note: The UPS hat is only compatible with batteries having XHP-2 connector!

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


There are no reviews yet.

Be the first to review “Raspberry Pi UPS HAT”

Your email address will not be published. Required fields are marked *