The Adafruit MicroLipo Charger USB Type C is a compact and versatile charging module specifically designed for lithium polymer (LiPo) batteries. This module simplifies the process of charging single-cell LiPo batteries by providing a USB Type-C port for power input. It is ideal for DIY electronics enthusiasts and professionals who require a reliable and easy-to-use charging solution for their projects. Common applications include portable electronics, wearables, and small-scale robotics.
Pin Name | Description |
---|---|
BAT | Battery connection (+) |
GND | Ground connection |
5V | USB Type-C 5V input |
STAT | Charging status indicator (low when charging) |
BAT
pin and the negative terminal to the GND
pin.STAT
LED indicator will be lit when the battery is charging and turns off when the charging is complete.BAT
and GND
pins.Q: Can I charge multiple batteries at once?
Q: What should I do if the battery gets hot during charging?
The following example demonstrates how to read the charging status using an Arduino UNO.
// Define the STAT pin connected to the Arduino
const int STATpin = 7;
void setup() {
pinMode(STATpin, INPUT);
Serial.begin(9600);
}
void loop() {
// Read the charging status from the STAT pin
int chargingStatus = digitalRead(STATpin);
// If the STAT pin is LOW, the battery is charging
if (chargingStatus == LOW) {
Serial.println("Battery is charging...");
} else {
Serial.println("Battery is not charging or charge is complete.");
}
// Wait for a second before reading the status again
delay(1000);
}
Remember to connect the STAT
pin of the Adafruit MicroLipo Charger to digital pin 7 on the Arduino UNO. This code will output the charging status to the Serial Monitor.
Note: This documentation is for educational purposes and the actual product should be used in accordance with the manufacturer's datasheet and guidelines.