Skip to main content

Worldwide Shipping · Secure Payments

AI Summary

The Waveshare UPS HAT (D) is a 5V uninterruptible power supply for Raspberry Pi that uses two 21700 Li batteries (not included) to keep your board running during power loss. Its pogo pin connector and I2C monitoring make setup and battery management straightforward.

Key Highlights

  • Provides 5V uninterruptible power for Raspberry Pi via pogo pins
  • Accepts two 21700 Li batteries in parallel (batteries not included)
  • I2C bus enables real-time voltage, current, power, and capacity monitoring
  • Onboard protection against overcharge, over-discharge, over-current, and short circuit
  • LED indicators for battery and power status
  • Supports charging and power output simultaneously

Ideal For

  • Raspberry Pi enthusiasts building home automation systems
  • Makers creating portable or remote IoT devices
  • Educators and students learning about power management
  • Professionals needing reliable backup power for Pi-based equipment

Buying Tip

Remember to purchase two 21700 lithium batteries separately and a 5V Type-C charger, as neither is included with the HAT.

Elecvora expert review

Our verdict

The Waveshare UPS HAT (D) offers a practical, well-protected UPS solution for Raspberry Pi users who need reliable backup power. Its pogo pin connector and I2C monitoring simplify installation and battery management, though the need to source batteries and a charger separately adds to the overall cost.

AI-assisted analysis based on the manufacturer's specifications. Not a hands-on lab test.

Pros

  • Solderless installation with pogo pins
  • Comprehensive battery protection circuits
  • Real-time monitoring via I2C
  • Supports simultaneous charging and power output
  • Compact dimensions and mounting holes

Cons

  • Batteries and charger not included
  • Limited to 5V output (no 12V or other voltages)
  • Requires basic I2C configuration for monitoring

Best for

Raspberry Pi users needing a reliable, compact UPS with battery monitoring

Not ideal for

Projects requiring higher output voltages or those without 21700 batteries

Specifications

Item TypeHAT
CompatibilityPi Series
HAT TypePower Management HAT
Output Voltage5V
ProtocolI2C
Batteries Required21700 Li battery × 2 (in parallel, NOT included)
Supported5V (Type-C port) Charger
Dimensions (L x W x H) mm56 × 85mm
Mounting Hole Diameter (mm)3.0mm
Shipping Weight0.103 kg
Shipping Dimensions14 × 10 × 5 cm

What's in the box

  • 1 x Waveshare UPS HAT (D) for Raspberry Pi

Frequently Asked Questions

What batteries does the UPS HAT (D) require?
It requires two 21700 lithium batteries connected in parallel. Batteries are not included, so you will need to purchase them separately.
Is a charger included?
No, a 5V Type-C charger is not included. You will need to provide your own compatible charger.
Which Raspberry Pi models are compatible?
The HAT is compatible with Raspberry Pi 3, 3B+, 4B, and other models with a 40-pin GPIO header.
How do I monitor the battery status?
The HAT communicates over I2C, allowing you to read battery voltage, current, power, and remaining capacity using software on the Raspberry Pi.
Can the HAT charge the batteries while powering the Pi?
Yes, it supports charging and power output at the same time, thanks to dynamic path management.
What protections are built in?
The HAT includes overcharge, over-discharge, over-current, and short circuit protection circuits for safe operation.

Overview

The Waveshare UPS HAT (D) is a power management HAT designed to provide uninterrupted 5V power to Raspberry Pi boards. It connects via a pogo pin connector, eliminating the need for soldering or complex wiring. The board holds two 21700 lithium batteries (not included) in parallel and uses a boost converter to deliver a stable 5V output. Whether you are running a home server, a remote sensor node, or a portable project, this HAT helps prevent unexpected shutdowns and data loss during power interruptions.

Key Features

  • Pogo pin connector: Easy, solderless installation on compatible Raspberry Pi models.
  • Battery flexibility: Supports two 21700 Li batteries in parallel (batteries not included), allowing you to tailor capacity.
  • Real-time monitoring: I2C communication lets you read battery voltage, current, power, and remaining capacity.
  • Comprehensive protection: Overcharge, over-discharge, over-current, and short circuit protection circuits safeguard both the battery and your Pi.
  • Intelligent management: Onboard MCU detects power connection and can boot the Raspberry Pi automatically when power is restored.
  • Status indicators: LED indicators show battery operating status at a glance.
  • Simultaneous charge and output: The HAT can charge the batteries while powering the Pi, thanks to dynamic path management.

Specifications Explained

Output Voltage (5V): Matches the standard input voltage of Raspberry Pi boards, ensuring safe and reliable operation.

Battery Requirement: Two 21700 lithium batteries are required but not included. They are connected in parallel to increase capacity, giving you longer runtime between charges. Always use matched cells from the same batch for best results.

I2C Protocol: The HAT communicates with the Raspberry Pi over the I2C bus, enabling software to read battery data and display remaining capacity in the system.

Charging Input: A 5V Type-C charger is supported for charging the batteries. The board manages charging and power output simultaneously.

Dimensions: The HAT measures 56 × 85 mm and features 3.0 mm mounting holes for secure installation.

Compatibility and Requirements

The UPS HAT (D) is compatible with Raspberry Pi 3, 3B+, 4B, and other models with a 40-pin GPIO header. It requires two 21700 lithium batteries (not included) and a 5V Type-C charger (not included) for charging. The pogo pin connector design means no soldering is needed, but the HAT must be properly aligned with the GPIO pins. Ensure your Raspberry Pi is powered off before installation.

Typical Uses

  • Home automation hubs that must stay online during power cuts.
  • Portable Raspberry Pi projects such as weather stations or cameras.
  • Remote monitoring setups where power reliability is critical.
  • Educational projects and DIY builds that benefit from battery backup.
  • Any application requiring real-time battery status monitoring via I2C.

What's in the Box

1 x Waveshare UPS HAT (D) for Raspberry Pi (batteries and charger not included).

Quick specs

Item Type
HAT
Compatibility
Pi Series
HAT Type
Power Management HAT
Output Voltage
5V
Protocol
I2C
Batteries Required
21700 Li battery × 2 (in parallel, NOT included)
See all specifications