PiJuice HAT for battery-powered Pi Zero
Out in Space

© Lead Image © Anton Brand,123RF.com
The Raspberry Pi Zero is a frugal little computer. But without a power socket, you might be surprised how quickly it can drain a battery. Active power management is the order of the day.
A Raspberry Pi Zero (W) can require upwards of 100mA – depending on what it is doing. This may not sound like much at first, but given a standard industrial LiPo cell rated at 2,200mAh, that computer won't even last a day. This makes it all the more important to use the battery's energy sparingly. HATs (Hardware Attached on Top) by PiJuice, which have been around for some time, have the circuitry to help you do this. In this article, we take a look at the PiJuice Zero [1], a pHAT that is optimized for the Raspberry Pi Zero (Figure 1).
Use Cases
But first, let's take a brief look at potential application scenarios for a power management HAT: A Raspberry Pi that is connected to a power outlet but needs to run continuously requires UPS protection (UPS being an uninterruptible power supply). If worst comes to worst, the back-up battery can step in at lightning speed and bridge the gap until the power grid is available again.
A second use case is in normal battery-based operation, for example when the Pi is running far away from civilization. The HAT must supply the board with a stable voltage, even if the battery voltage gradually drops. Ideally, the HAT also measures the charge status and reports it to the Pi. A monitoring program can then shut down the computer in good time, which in turn protects the battery from deep discharge. In both examples, there is also a requirement for sophisticated charging management. Instead of replacing the battery, in the second case a solar panel typically recharges the battery, while the UPS uses the power grid for this task.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
Blender App Makes it to the Big Screen
The animated film "Flow" won the Oscar for Best Animated Feature at the 97th Academy Awards held on March 2, 2025 and Blender was a part of it.
-
Linux Mint Retools the Cinnamon App Launcher
The developers of Linux Mint are working on an improved Cinnamon App Launcher with a better, more accessible UI.
-
New Linux Tool for Security Issues
Seal Security is launching a new solution to automate fixing Linux vulnerabilities.
-
Ubuntu 25.04 Coming Soon
Ubuntu 25.04 (Plucky Puffin) has been given an April release date with many notable updates.
-
Gnome Developers Consider Dropping RPM Support
In a move that might shock a lot of users, the Gnome development team has proposed the idea of going straight up Flatpak.
-
openSUSE Tumbleweed Ditches AppArmor for SELinux
If you're an openSUSE Tumbleweed user, you can expect a major change to the distribution.
-
Plasma 6.3 Now Available
Plasma desktop v6.3 has a couple of pretty nifty tricks up its sleeve.
-
LibreOffice 25.2 Has Arrived
If you've been hoping for a release that offers more UI customizations, you're in for a treat.
-
TuxCare Has a Big AlmaLinux 9 Announcement in Store
TuxCare announced it has successfully completed a Security Technical Implementation Guide for AlmaLinux OS 9.
-
First Release Candidate for Linux Kernel 6.14 Now Available
Linus Torvalds has officially released the first release candidate for kernel 6.14 and it includes over 500,000 lines of modified code, making for a small release.