Technical Details

Hardware specifications

  • Microchip ATSAMD21G18 ARM® Cortex®-M0+ Microcontroller
  • Texas Instruments bq25703A Multi-Chemistry Battery Buck-Boost Charge Controller With System Power Monitor and Processor Hot Monitor
  • Texas Instruments bq27441-G1 System-Side Impedance Track™ Fuel Gauge
  • Texas Instruments INA219 Zerø-Drift, Bidirectional Current/Power Monitor


Pinout image altPinout image alt


Layout image altLayout image alt

Layout image altLayout image alt


Dimension image altDimension image alt

3D Files

You can download the 3D design files of the Sixfab Power Management UPS HAT from Github Repository.

Power Inputs/Outputs

J2Micro USB 5V 2.5A max.
J3USB Type-C 5V 3A max.
J4Terminal Block 5V to 21V.
J75V rated 2.6A max output, solderable pads on the bottom side.
Power Supply/Adapter Selection
  • The recommended input voltage is 5V and the input current is 2A minimum. For the 12V input voltage, the minimum is 1.5A. We recommend the official Raspberry Pi power supply.

You can connect an external device to J7 for 5V output(underneath the HAT) and always check the polarity when you source via J7.

  • Use only one of these three inputs(J2, J3, J4) at a time, i.e. do not plug a USB(J2, J3) adapter while the power source is inserted through the terminal block(J4) or the other way.

  • The UPS HAT has several Battery input options such as J5, J9. Do not use multiple batteries at a time.

Battery(Not Included)

The HAT comes with an integrated 18650 Flat Top Li-on battery holder without a battery. It can be breakable if needed to use it in a different placement. Then you need to use the battery cable included in the package to connect the battery to the mainboard via JST- SFH connectors(J5 and J10)

You can plug an external single-cell 3.7V Li-on or Li-po rechargeable batteries when bigger capacities or special dimensions needed. Use JST-SFH connector(J5) with a suitable battery cable with it or you can solder cables to battery header(J9) by paying attention to the polarity.


There are two right-angle programmable push buttons(S1,S2) at the edge of the HAT.
The default behaviors of the buttons are as follows.

S1(Long Press)Hard shutdown by cutting power of Raspberry Pi.
S1(Short Press)Hard boot-up by powering Raspberry Pi.
S2(Long Press)Soft shutdown via I2C then power off.
S2(Short Press)Power on if power conditions are alright. (The pogo pin needs to be soldered)*

*Click for UPS HAT pogo pin details


There are three LEDs on the HAT as two of them are programmable RGB.

PWRThis red LED is ON when the Raspberry Pi is powered.
L1Can be programmed as shows temperature level or heartbeat for the system.
L2Used for battery charging level and status by default. Blinks if charging the battery, steady if the system powered by battery or fully charged
  • Blinks if charging the battery, steady if the system powered by battery or fully charged.
  • The color shows the percentage of the battery.
    • RED when the lower than 30%.
    • YELLOW between 30% and 60%.
    • GREEN when the battery is charged more than 60%.

Qwiic Connector
The Qwiic cable and the qwiic connectors(J1-J11) on board are used to read the temperature of the battery holder card when battery holder broke off from UPS HAT. This feature is under development.

I2C Address
The UPS HAT uses 0x41 I2C address. The sensor on the battery uses 0x48 i2c address. Make sure it is not conflicting with another device using the same address.

Updated 13 days ago

Technical Details

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.