

The PiSugar 3 is a compact and versatile power management board designed specifically for Raspberry Pi devices. Manufactured by Raspberry Pi, this component integrates a rechargeable battery solution, enabling portable and uninterrupted operation of Raspberry Pi boards. It features advanced power monitoring, safe shutdown capabilities, and a user-friendly design, making it an ideal choice for mobile and embedded Raspberry Pi projects.








The following table outlines the key technical details of the PiSugar 3:
| Parameter | Specification |
|---|---|
| Manufacturer | Raspberry Pi |
| Part ID | Sugar 3 |
| Input Voltage | 5V (via USB-C) |
| Output Voltage | 5V (regulated for Raspberry Pi) |
| Battery Capacity | Varies (depending on the model, typically 1200mAh–5000mAh) |
| Charging Current | Up to 2A |
| Output Current | Up to 3A |
| Communication Interface | I2C (for power monitoring and control) |
| Dimensions | Compact, designed to fit Raspberry Pi models |
| Safety Features | Overcharge protection, over-discharge protection, short-circuit protection |
The PiSugar 3 connects to the Raspberry Pi via GPIO pins and USB-C. Below is the pin configuration:
| Pin | Name | Description |
|---|---|---|
| 1 | 5V Power Out | Supplies regulated 5V power to the Raspberry Pi |
| 2 | GND | Ground connection |
| 3 | SDA (I2C) | Data line for I2C communication |
| 4 | SCL (I2C) | Clock line for I2C communication |
| USB-C | Power Input | Used for charging the battery and powering the board |
Physical Installation:
Powering the Raspberry Pi:
I2C Communication:
sudo raspi-config and navigating to "Interfacing Options > I2C".Safe Shutdown:
If you are using the PiSugar 3 with an Arduino UNO for power monitoring, you can use the following example code:
#include <Wire.h> // Include the Wire library for I2C communication
#define PISUGAR_I2C_ADDRESS 0x75 // Default I2C address for PiSugar 3
void setup() {
Wire.begin(); // Initialize I2C communication
Serial.begin(9600); // Start serial communication for debugging
Serial.println("PiSugar 3 Power Monitoring Example");
}
void loop() {
Wire.beginTransmission(PISUGAR_I2C_ADDRESS); // Start communication with PiSugar 3
Wire.write(0x01); // Request battery percentage (example command)
Wire.endTransmission();
Wire.requestFrom(PISUGAR_I2C_ADDRESS, 1); // Request 1 byte of data
if (Wire.available()) {
int batteryPercentage = Wire.read(); // Read the battery percentage
Serial.print("Battery Percentage: ");
Serial.print(batteryPercentage);
Serial.println("%");
}
delay(1000); // Wait 1 second before the next reading
}
Note: Replace the I2C address or commands if they differ for your specific PiSugar 3 model. Refer to the manufacturer's documentation for detailed command sets.
Raspberry Pi Not Powering On:
I2C Communication Fails:
Battery Drains Quickly:
Overheating:
Q: Can I use the PiSugar 3 with Raspberry Pi Zero?
Q: How do I check the battery status?
Q: Is the PiSugar 3 safe for 24/7 operation?
Q: Can I replace the battery?
This concludes the documentation for the PiSugar 3. For further assistance, refer to the official Raspberry Pi documentation or contact the manufacturer.