........Which single-board computers can PiPower Pro be used on?
Page 5
About PiPower That’s why we designed PiPower in the first place. PiPower can be used as a second power source for the Raspberry Pi. A USB-C mains power supply plugged into the PiPower will directly power the Raspberry Pi and charge the battery at low current.
Page 6
When integrated with Home Assistant, users can easily access and review all parameter data, as well as configure automation for smart device scenarios. Additionally, PiPower Pro offers external IO interfaces for controlling the on/off state of sub-devices. With its open- source ESPHome configuration, users can customize IO functionalities and expand the system with more sensors.
ASSEMBLE THE PIPOWER After getting familiar with the components in the package, we start to assemble PiPower. In the next steps, there are a lot of details you need to notice, especially the assembly position of the battery and the clear acrylic back cover.
Page 10
SunFounder PiPower 3. Bind the battery wires with a cable tie. 4. Now screw in four sets of standoffs. Chapter 2. Assemble the PiPower...
Page 11
SunFounder PiPower 5. Mount the Raspberry Pi on top.
Page 12
SunFounder PiPower 6. Secure a protective plate at the bottom. Chapter 2. Assemble the PiPower...
Page 13
SunFounder PiPower 7. Plug in the USB-C cable to power the Raspberry Pi.
Page 14
SunFounder PiPower 8. PiPower needs to be activated with the USB-C cable at the charge port the first time you use it or re-plug the battery Chapter 2. Assemble the PiPower...
Page 15
SunFounder PiPower Warning: When you put the battery in for the first time or when the battery is unplugged and put in again, the battery will not work properly, at this time, you need to plug the Type C cable into...
Page 16
SunFounder PiPower Chapter 2. Assemble the PiPower...
USB Type C power, the ESP32 S2 will shut down completely. Switch Power Path PiPower Pro integrates a power path function that automatically switches power paths to ensure maximum output protection. 1. When external power is connected, the 5V output is directly supplied through the external USB Type C and can be turned off using the switch.
Page 19
Adjusted based on input voltage 1. When the switch is in the “Off” state, PiPower Pro does not supply power externally, and the charging current reaches a maximum of 2A, allowing for fast charging. The charging time from 0% to 100% is approximately 2 hours and 10 minutes.
Page 20
SunFounder PiPower You can connect your own battery using the Screw Terminal. The device only supports two 3.7V lithium-ion or lithium- polymer batteries. It’s preferable for the batteries to have a protection board and ensure an output of more than 15W.
SunFounder PiPower reaches the DC-DC protection temperature of 75 degrees Celsius, the DC-DC will shut down to prevent overheating damage. D8 LED The D8 LED is a charging status indicator provided by the IP2326 charging chip. Originally, this light was designed to indicate both the charging status and any abnormalities with the battery.
CHAPTER FOUR START TO PLAY PiPower Pro can be integrated into Home Assistant. To do this, you need to have a Raspberry Pi with HassOS installed. Please follow the link below for setup. 4.1 Install the HassOS This section will guide you in installing the Home Assistant operating system on your Raspberry Pi. Please note that this process will result in the loss of all existing content on your Raspberry Pi system.
Page 24
SunFounder PiPower Step 3 Insert your SD card into the computer or laptop SD card slot. Step 4 In the Raspberry Pi Imager, select the OS that you want to install and the SD card you would like to install it on.
Page 25
SunFounder PiPower 4.1. Install the HassOS...
Page 26
SunFounder PiPower Step 5 Select the SD card you are using. Step 6 Click the WRITE button. Chapter 4. Start to Play...
Page 27
SunFounder PiPower Step 7 If your SD card currently has any files on it, you may wish to back up these files first to prevent you from permanently losing them. If there is no file to be backed up, click Yes.
Page 28
SunFounder PiPower Step 8 After waiting for a period of time, the following window will appear to represent the completion of writing. Chapter 4. Start to Play...
Page 29
SunFounder PiPower Step 9 Next, we will configure WiFi for Pironman. Note: If you intend to use a wired connection for network access, you can skip this step. Open File Explorer and access the SD card named Hassio-boot Create a new folder named CONFIG in the root partition.
Page 30
SunFounder PiPower Inside the network folder, create a new text file named my-network (without extension). In the my-network file, write the following text, replacing MY_SSID and MY_WLAN_SECRET_KEY with your own net- work’s SSID and password: [connection] id=my-network uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3 type=802-11-wireless [802-11-wireless]...
Page 31
SunFounder PiPower Step 11 Next, you will be prompted to create the first account. 4.1. Install the HassOS...
Page 32
SunFounder PiPower The system will prompt you to install some detected devices, but for now, you can skip this by clicking FINISH. Chapter 4. Start to Play...
Step 3 Configure the network for PiPower Pro. Search for Wi-Fi on your phone (or other device) and connect to PiPower Pro Fallback Hotspot. The password is 123456. 4.2. Add PiPower Pro in Home Assistant...
Page 34
SunFounder PiPower Chapter 4. Start to Play...
Page 35
SunFounder PiPower Step 4 Once connected, a configuration page will pop up on your phone. Complete the Wi-Fi configuration for PiPower here. 4.2. Add PiPower Pro in Home Assistant...
Page 36
SunFounder PiPower Chapter 4. Start to Play...
Page 37
SunFounder PiPower If the configuration page doesn’t automatically pop up, you can open a browser and visit pipower-pro.local. Step 5 Open your Home Assistant page, select Configuration from the left sidebar, then select Devices and Services. Step 6 Click on + ADD INTEGRATION at the bottom right.
Page 38
SunFounder PiPower Step 8 Enter pipower-pro.local and submit. Step 9 Choose an area for it and complete the setup. Chapter 4. Start to Play...
SunFounder PiPower Step 10 You have now successfully added PiPower Pro. You can add the PiPower Pro configurations you need on the dashboard. 4.3 Configure Dashboard 1. On the Home Assistant page, click Overview on the left sidebar, which leads you to the control page.
Page 40
SunFounder PiPower 3. Click on the bottom right to add a card, select the desired card from the options, configure it as needed, then save. Chapter 4. Start to Play...
1. After adding any card, you can manually edit the card’s yaml file. Click on SHOW CODE EDITOR on the card editing page. 2. Then directly modify the yaml file. We provide some useful PiPower Pro configurations. Please copy the follow- ing yaml code directly into the box.
(continued from previous page) state_color: true 4.5 PiPower Pro Entity If you are familiar with Home Assistant and want to customize the Card yourself, here is a list of PiPower Pro entities you can use. Basic Information • binary_sensor.pipower_pro_battery_low - Battery low status (bool) •...
Note: If the host running HassOS is set as a sub-device of PiPower Pro, it will also lose its functionality when the host shuts down, and remote power-on will not be possible.
Page 50
Raspberry Pi to shut down. Step 2 • Connect PiPower Pro’s pin 42 to the Raspberry Pi’s gpio-poweroff pin, here using pin 17. • Connect PiPower Pro’s pin 41 to the Raspberry Pi’s gpio-shutdown pin, here using pin 18.
Page 51
You can use the former to check if the Raspberry Pi is working and the latter to power off the Raspberry Pi. Note: PiPower-Pro Sub Device Power can only power off the Raspberry Pi. To power it on, you still need to supply power to the Raspberry Pi (i.e., turn on the main switch on the PiPower Pro Card).
Page 52
SunFounder PiPower 2. Create a new automation. Chapter 4. Start to Play...
Page 53
SunFounder PiPower 3. Click “Edit in YAML.” 4. Replace the existing code with the following code. alias: Safe shutdown RPi description: Turn off Raspberry Pi no external power plug in and battery␣ trigger: platform: state entity_id: binary_sensor.pipower_pro_external_power from: "on" (continues on next page)
Page 55
SunFounder PiPower 7. Go back one level. Now you should see the newly set automation. Note: We need to create a few more automations. Refer to the previous steps to complete them all. Save Power alias: Save Power description: Turn off...
Page 57
SunFounder PiPower (continued from previous page) from: "off" "on" condition: [] action: type: turn_on device_id: a0ee4e356c85c4f69f765ed72baad129 entity_id: switch.pipower_pro_sub_device_power domain: switch mode: single Step 5 We use a simulated low-power state to trigger the test: 1. Open the SERVICES interface in Developer Tools.
You will see the PiPower battery light go off, and the battery level drop to 10% in the overview. The Raspberry Pi will then shut down, and 2 seconds after it completes the shutdown, the PiPower Pro will power off, and the PWR light will go off.
• 4 LEDs all off: 0%, batteries need to be charged. 4.8 Custom Development If you find that the basic functionality of PiPower Pro is not enough for your needs, you can perform custom development on PiPower Pro. All software for PiPower Pro is open source. Below is the basic tutorial and preparation for custom development.
Click “Install” in the upper right corner to install it on PiPower Pro. 4.9 Multiple PiPower Pro Units If you have multiple PiPower Pro units to use in the same Home Assistant environment, you need to modify the YAML settings. Add name_add_mac_suffix: true under “esphome.”...
At this time, you need to plug the Type C cable into the charging port to release the protection circuit, and the battery can be used normally. 5.2 Which single-board computers can PiPower Pro be used on? PiPower Pro compatible single-board computers are shown below. Note: Functionally Compatible means that it can be powered by PiPower Pro normally.
Need help?
Do you have a question about the PiPower and is the answer not in the manual?
Questions and answers