The Adafruit PowerBoost 500 Shield is a versatile power management solution designed for Arduino and compatible microcontroller boards. This shield allows users to power their projects with a rechargeable lithium polymer (LiPo) battery, providing the convenience of portability and the flexibility of untethered operation. Additionally, the shield includes an integrated charging circuit, enabling the battery to be charged while the board is powered via a USB connection.
Pin Number | Name | Description |
---|---|---|
1 | GND | Ground connection |
2 | BAT | Connection to the battery positive terminal |
3 | 5V | Regulated 5V output |
4 | EN | Enable pin for the regulator |
5 | USB | USB input for charging and power |
6 | CHG | Charging status output (low when charging) |
7 | VSYS | System voltage (unregulated battery voltage) |
Connecting the Battery:
Powering the Arduino:
Charging the Battery:
Shield not powering on:
Battery not charging:
Can I use a different type of battery?
How do I adjust the charging current?
What is the maximum output current the shield can provide?
// Example code to monitor charging status with Adafruit PowerBoost 500 Shield
const int CHG_PIN = 7; // Charging status pin connected to pin 7 on Arduino
void setup() {
pinMode(CHG_PIN, INPUT);
Serial.begin(9600);
}
void loop() {
// Read the charging status pin
int charging = digitalRead(CHG_PIN);
// Check if the battery is currently charging
if (charging == LOW) {
Serial.println("Battery is charging...");
} else {
Serial.println("Battery is not charging.");
}
// Wait for a second before checking again
delay(1000);
}
This example code sets up the Arduino to monitor the charging status of the battery connected to the PowerBoost 500 Shield. It reads the CHG pin and outputs the charging status to the Serial Monitor.