

PiSugar 3, manufactured by RPi (Part ID: 3), is a compact and versatile power bank designed specifically for Raspberry Pi projects. It provides a rechargeable battery solution, enabling portable operation of Raspberry Pi devices without the need for external power sources. With its seamless integration and robust design, PiSugar 3 is ideal for applications requiring mobility, such as IoT devices, robotics, and portable computing projects.








Below are the key technical details and pin configuration for the PiSugar 3:
| Parameter | Specification |
|---|---|
| Input Voltage | 5V (via USB-C port) |
| Output Voltage | 5V (regulated for Raspberry Pi) |
| Battery Capacity | 5000mAh (varies by model) |
| Charging Current | Up to 2A |
| Output Current | Up to 3A |
| Dimensions | 65mm x 56mm x 15mm |
| Weight | ~50g |
| Battery Type | Lithium Polymer (LiPo) |
| Protection Features | Overcharge, over-discharge, short-circuit protection |
The PiSugar 3 connects directly to the GPIO pins of the Raspberry Pi. Below is the pin configuration:
| Pin Number | Pin Name | Description |
|---|---|---|
| 2 | 5V Power Out | Supplies 5V regulated power to the Raspberry Pi |
| 6 | Ground (GND) | Common ground connection |
| 8 | UART TX | Optional UART communication (for advanced use) |
| 10 | UART RX | Optional UART communication (for advanced use) |
The PiSugar 3 can communicate with the Raspberry Pi via UART for battery status monitoring. Below is an example Python script:
import serial
ser = serial.Serial('/dev/ttyS0', 9600, timeout=1)
try: while True: # Send a command to request battery status ser.write(b'BATTERY_STATUS\n')
# Read the response from PiSugar 3
response = ser.readline().decode('utf-8').strip()
if response:
print(f"Battery Status: {response}")
else:
print("No response from PiSugar 3. Check connections.")
except KeyboardInterrupt: print("Exiting program.") finally: ser.close()
pyserial library using pip install pyserial before running the script.Raspberry Pi Does Not Power On
Battery Drains Quickly
No UART Communication
Overheating
Q: Can I use the PiSugar 3 with Raspberry Pi Zero?
A: Yes, the PiSugar 3 is compatible with Raspberry Pi Zero and other Raspberry Pi models.
Q: How long does it take to fully charge the PiSugar 3?
A: Charging time depends on the input current but typically takes 2-3 hours with a 2A charger.
Q: Can I use the PiSugar 3 while charging?
A: Yes, the PiSugar 3 supports pass-through charging, allowing you to power the Raspberry Pi while charging the battery.
Q: Is the PiSugar 3 compatible with non-Raspberry Pi devices?
A: While designed for Raspberry Pi, the PiSugar 3 can power other 5V devices with similar power requirements. However, GPIO integration may not be supported.
Q: How do I update the PiSugar software?
A: Visit the official PiSugar website for the latest software updates and installation instructions.