Review: UPS HAT For Raspberry Pi Zero WH
By Phil King. Posted

When you have a Raspberry Pi Zero running constantly for an important task, such as to log data from a sensor, there’s nothing more frustrating than a mains power cut. To avoid this, a UPS (uninterruptible power supply) is an essential bit of kit.
Advertisement
Starter electronics: how to build and program circuits with a Raspberry Pi or Raspberry Pi Pico.
This Waveshare UPS HAT is an interesting option, supplied with a 3.7 V 1000 mAh LiPo battery. Fitting onto a sticky strip on the board, the battery has a short cable that plugs into the board’s mini JST socket.
With the battery installed, the board connects to a Raspberry Pi WH in a novel way: six springy pogo pins connect to the solder on the underside of the GPIO header for power, ground, and I2C pins. This leaves the GPIO header free for connecting other HATs on top.

Note that the UPS HAT will also work with any Raspberry Pi Zero with a soldered header – so long as your soldering isn’t too messy and has regular peaks to make good connections.
Battery power
Once fitted to a Raspberry Pi Zero with I2C enabled, you can power the HAT via its micro USB socket, then flick its on-board switch to power up Raspberry Pi – or just leave it off to charge up the battery for a while.
If the mains power goes off, it’ll instantly switch to battery power. A fully charged battery should provide power for up to seven hours, depending on the Raspberry Pi Zero’s workload. Naturally, the addition of any connected devices will reduce that time.
You can monitor the battery level by installing a simple Python program. This shows the real-time load voltage, current (negative if battery power is being used), power, and percentage. While we’ve seen more sophisticated power management features, such as on the PiJuice, it’s a handy tool.
Verdict
8/10
With a LiPo battery included, it represents very good value for money if you need to keep your Raspberry Pi Zero running during a power outage.

When not editing books and contributing to The MagPi, Phil enjoys playing the piano (badly), astronomy, and watching classic sitcoms.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles

Dual-screen cyberdeck
Twin screens mean you can code on one screen while watching David Bowie’s 1978 Musikladen show on the other.
Read more →

Flexible PCB watch
That’s some snazzy wearable tech on your wrist there.
Read more →

German word clock
Somehow we feel we’d be more punctual if we told the time in German.
Read more →
Sign up to the newsletter
Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.