HomeRaspberry PiBetter safe than sorry - UPS Pro for Raspberry Pi

Better safe than sorry – UPS Pro for Raspberry Pi

A couple of weeks ago, I got my hands on a UPS for a Raspberry Pi. I don’t think I ever appreciated the UPS until I started to run my own automation server. Running a custom automation server means that the server isn’t completely useless when the power supply is down. Granted, WiFi won’t be available, but your Zigbee stuff should be alright. Let’s talk UPS Pro for Raspberry Pi form 52pi.

UPS Pro HAT from 52pi

If your Raspberry Pi isn’t protected from a power loss, you are risking data loss, file corruption, SD card failure, and the obvious effects like – the stuff is not going to work. Fortunately, as soon as the power is restored the Raspberry Pi board will reboot itself. I talked about power HATs from 52pi before. And the company offers an array of HATs for your Raspberry Pi:

UPS Pro HAT from 52pi aims to fix this. The HAT is designed for Raspberry Pi 2B/3A+/3B/3B+. Despite the dimensions fitting Raspberry Pi 4B boards, the power delivery isn’t strong enough. In my tests, the Raspberry Pi 4B board would hang after some time. There is an updated version available now that supports Raspberry Pi 4 with a USB-C charging port!

Buy 52pi UPS Pro

Buy it using these links to support NotEnoughTech.


I actually spoke to PR at 52pi and they confirmed that a new UPS Pro HAT for Raspberry Pi 4 is being considered as well. Until then, let’s take a look at the existing functions of the UPS Pro HAT from 52pi:

  • UPS based on 2 x 18650 Li-ion cells
  • 4 LED charge indicator
  • Unobstructed power delivery (via 5V|GND GPIO)
  • Charging and power on the circuit
  • 2 USB-A ports to charge other devices
  • Power button

Powered by 2 x 18650 Li-ion cells the UPS Pro HAT can last up to several hours depends on the power draw of the Raspberry Pi and the capacity of the 18650 Li-ion cells.


Unfortunately, one important function didn’t make the cut. The UPS Pro HAT from 52pi will continue running your Raspberry Pi until 2 x 18650 Li-ion cells have the juice. Once the batteries are drained, there is no way of letting the Raspberry Pi know that the UPS Pro HAT from 52pi is running out of power.

The HAT delays the unsafe shutdown problem rather than delays it. I will play with the board a little bit to come up with a system that would shut down Raspberry Pi safely when the power is low, but this will be a subject of another write-up.


The UPS Pro HAT from 52pi can be a nice extension to your project. The extra USB ports can be used to power up SSD drives or recharge other devices and the design of the HAT keeps all the GPIO pins available for other projects.

I’d like to see cases that would actually accommodate this design as having an extra bit of juice could be the difference between collecting your data and losing it.

Buy 52pi UPS Pro

Buy it using these links to support NotEnoughTech.


I’d be really tempted to fix the issue with battery reporting so I could get the notification when the UPS is active, receive the updates on battery levels, and be able to safely shut down the Raspberry Pi when the batteries are low. I had good luck with modding the 52pi’s Cooling tower, perhaps I will have the same luck with this HAT too. Let me know what do you think about this HAT in this Reddit thread.


Nothing says "Thank you" better than keeping my coffee jar topped up!


Support me on Patreon and get an early access to tutorial files and videos.


Bitcoin (BTC)

Use this QR to keep me caffeinated with BTC: 1FwFqqh71mUTENcRe9q4s9AWFgoc8BA9ZU


Programable, ESP32 based awesome dev platform with 4.7 e-ink display by M5Stack

More HATs


Argon One M.2

Enclose Raspberry Pi 4 inside this great case with custom I/O, cooling and GPIO and M.2 SSD support

More cases on


Best Raspberry Pi Projects

How to use Raspberry PI as WOL (wake on lan) server

While you could wake up your PC from a mobile directly, having a dedicated server capable of doing so is the best solution. The reason is simple. You can hook up as many devices as you wish with a single endpoint. This is why Raspberry Pi is perfect for this.

Slow Internet Warning

From time to time my Internet grinds to a stop. Since Raspberry Pi 4 comes with a 1Gbps Ethernet, I decided to take advantage of it and create a reporting system in NodeRED that will monitor and report when the ISP is not keeping the contractual agreements. Works with Alexa, Google Home, Android and Windows 10.

How fast Raspberry Pi NAS is?

Let's see how fast Raspberry Pi NAS really is?

Argon18: Argon ONE SSD modification

Argon One case just got better - now you can boot it from USB without ruining the design thanks to Argon 18: Argon One SSD modification


It took me 2 months to boot CM4 from NVMe

Complete beginners guide to Compute Module 4 boot from NVMe.

Raspberry Pi Zero 2 W vs other Zero boards

It's time to test the Raspberry Pi Zero 2 W against other Raspberry Pi boards from Zero series: power, WiFi, temperature and core performance

C/C++ and MicroPython SDK for Raspberry Pi Pico on Windows

A guide to SDK toolchain for Raspberry Pi Pico and C/C++ , Micropython on Windows.

A comprehensive guide to Grafana & InfluxDB

How to use Grafana and InfluxDB on Raspberry Pi for IoT sensors in home automation

How to boot Raspberry Pi 4 from USB

How to set up and boot Raspberry Pi 4 from USB drive - headless guide.