Getting Started

This section will lead you through the hardware setup of the Power HAT.

Keeping this pocket-sized computer Raspberry Pi alive all the time is mandatory for most of the projects. Having them on the edge need to always self-powered and recovery ability when things went wrong with the electricity.

Sixfab Power Software and UPS HAT are designed to prevent any data loss when the power is gone. If you just need an uninterruptible power supply(UPS) for your Raspberry Pi built, you just need to insert a battery to HAT and you are clear to go right out of the box. The UPS HAT will not let your operating system freeze or resets while switching the source between the battery and main supply.

This section explains how you can get your HAT up ready working with your Raspberry Pi. In order to get a device connected please follow the following steps.

Hardware Prerequisites

We will need the following parts to setup our hardware

Hardware Setup

1. Attach the cooling fan to the HAT.

2. Attach 40 pin header to the HAT that comes with the HAT.

3. Attach the HAT to the Raspberry Pi.

4. Insert the battery into the battery holder

5. Connect power to the UPS HAT.

Use the power input of the UPS HAT to power your system. For power input options check the technical details.

Warning: Do not power both the Raspberry Pi and Power HAT. Only supply power to the Power HAT.

You can also detach the battery holder from the Power HAT and use it. 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 Power HAT.

Software Setup

Setting up a Device on Power Software

One of the biggest problems of remote projects is keeping the devices all-time-powered on the edge and knowledge of the power status. While stacking the UPS HAT with a battery solves the problem as standalone. The user can manage the UPS HAT via the Sixfab Power Software remotely.

The detailed diagnostics about the battery and main power source available here and ease the maintenance. An ultra-lightweight service agent works on the Raspberry Pi and communicates with the platform if you have an Internet connection via ethernet, Wi-Fi, or Cellular.

Click for features of the power software.

By the end of this section, you will see your device status from our power management platform.

Follow these steps to get connected:

Create a new account and log into with your credentials.


Here click on "Create New Device" on the right side of the screen.


While creating a new device, you will need to fill 4 fields. These are;


Device Name: Give a name to your device.
Device ID: Give an ID to your device.
Raspberry Pi Version: Select your Raspberry Pi version.
Fleet Group: Select the default fleet(Customers can use fleets to configure their devices in bulk.

Click "Create Device" which will show the installation command with generated key.
Copy this key which will be used in the next step.


Open a terminal and paste the command that is copied in the previous step. This step may take a few minutes.

pi@raspberrypi:~ $ curl | sudo sh -s <TOKEN_HERE>
.&@&. %% .%@% #@@@% *&@@@&. %@@@# &@@&. .&@@% .%@@@@@%/. .%@@&. ,&@@% %@@&. /@@@# *&@@@@&&&@@@@&, %@@&* .&@@& /@@@* .@@@# &@@&( (@@@% #@@&, *@@@* %@@&. #@@&. (@@@, ,&@@( .@@@( &@@# %@@&. #@@&. /@@@, *&@@( .@@@( &@@# *@@@* .&@@# %@@@# %@@@# #@@&, /@@@, %@@&, *@@@% .&@@@@@@@@@@@%. .&@@&, ,&@@% %@@&* %@@# *#%%%#* #@@% *&@@% (@@@&. .&@@&/ #@# #@# _____ _ __ _ ______ / ___(_) / _| | | | ___ \ \ `--. ___ _| |_ __ _| |__ | |_/ /____ _____ _ __ `--. \ \ \/ / _/ _` | '_ \ | __/ _ \ \ /\ / / _ \ '__| /\__/ / |> <| || (_| | |_) | | | | (_) \ V V / __/ | \____/|_/_/\_\_| \__,_|_.__/ \_| \___/ \_/\_/ \___|_| ========================================================== 100 11710 100 11710 0 0 16469 0 --:--:-- --:--:-- --:--:-- 16469 [INFO] Updating system package index... [INFO] Creating Sixfab root directory on /opt... [INFO] Directory already exists, skipping. [INFO] Enabling i2c... [INFO] I2C enabled. [INFO] Cloning agent source... [INFO] Agent source cloned. [INFO] Installing agent dependencies from PyPI... [INFO] Environment file exists, updated token. [INFO] Downloading request service... [INFO] Service downloaded. [INFO] Initializing systemd service for request service... [INFO] Enabling and starting service. [INFO] Service initialized successfully. [INFO] Initializing systemd service for agent... [INFO] Enabling and starting service. [INFO] Service initialized successfully. [DONE] Installation complated successfully, connecting to cloud... pi@raspberrypi:~ $

Once the installation is complete, go back to Under devices section you will find the device you have recently created.


Select the device and you can observe the details of the HAT and Raspberry Pi.


Go to the Configuration tab and find the Firmware Update and Software Update section. Keep them up-to-date to have a better experience.


Note: Please check the release notes page for the list of all the changes made in each release.
Please also watch the video attentively to follow all the steps.

UPS HAT with other HATs from Sixfab

You can also use UPS HAT with other HATs from Sixfab.

UPS HAT + Cellular IoT HAT


What’s Next