The Adafruit BQ24074 Solar-DC-USB Lipo Charger is a versatile charging module designed for lithium polymer (LiPo) batteries. It supports charging via solar panels, DC power sources, or USB connections, making it ideal for portable and renewable energy projects. This module features built-in battery management, overcharge protection, and status indicators, ensuring safe and efficient power management.
Below are the key technical details of the Adafruit BQ24074 Solar-DC-USB Lipo Charger:
Parameter | Value |
---|---|
Input Voltage Range | 4.4V to 6.2V |
Recommended Solar Panel | 6V, 1W to 2W |
Battery Charging Voltage | 4.2V (LiPo standard) |
Maximum Charge Current | 1.5A |
Input Current Limit | 1.5A (adjustable via resistor) |
Operating Temperature Range | -40°C to +85°C |
Status Indicators | LEDs for Power, Charging, and Done |
Dimensions | 25mm x 25mm x 4mm |
The Adafruit BQ24074 module has the following pinout:
Pin Name | Type | Description |
---|---|---|
VIN | Input | Main power input (4.4V to 6.2V). Connect to a solar panel, USB, or DC power. |
GND | Ground | Ground connection for the circuit. |
BAT | Input/Output | Battery connection. Connect to a single-cell LiPo battery. |
LOAD | Output | Regulated output for powering your circuit. |
EN | Input | Enable pin. Pull low to disable the LOAD output. |
PG (Power Good) | Output | Open-drain output. Low when power is good at VIN. |
CHG (Charging) | Output | Open-drain output. Low when the battery is charging. |
DONE | Output | Open-drain output. Low when charging is complete. |
Connect the Power Source:
VIN
pin. Connect the Battery:
BAT
pin. Connect the Load:
LOAD
pin. Monitor Status Indicators:
CHG
and DONE
pins or onboard LEDs to monitor the charging status. PG
pin can be used to check if the input power is good.Optional Configuration:
EN
pin to enable or disable the LOAD
output as needed.The Adafruit BQ24074 can be used to power an Arduino UNO via the LOAD
pin. Below is an example of how to monitor the charging status using the Arduino:
// Pin definitions for the BQ24074 status outputs
const int CHG_PIN = 2; // CHG pin connected to Arduino digital pin 2
const int DONE_PIN = 3; // DONE pin connected to Arduino digital pin 3
void setup() {
pinMode(CHG_PIN, INPUT); // Set CHG pin as input
pinMode(DONE_PIN, INPUT); // Set DONE pin as input
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int chargingStatus = digitalRead(CHG_PIN); // Read CHG pin status
int doneStatus = digitalRead(DONE_PIN); // Read DONE pin status
if (chargingStatus == LOW) {
Serial.println("Battery is charging...");
} else if (doneStatus == LOW) {
Serial.println("Battery charging is complete.");
} else {
Serial.println("No charging activity detected.");
}
delay(1000); // Wait for 1 second before checking again
}
Module Overheating:
Battery Not Charging:
No Output on LOAD Pin:
EN
pin is pulled low or no input power. EN
pin state and ensure a valid power source is connected.Status LEDs Not Working:
Can I use a higher voltage solar panel?
No, the input voltage must not exceed 6.2V to avoid damaging the module.
What happens if the battery is fully charged?
The module will stop charging and the DONE
LED will light up, indicating the battery is full.
Can I power my circuit without a battery connected?
Yes, the module can power your circuit directly from the input source via the LOAD
pin.
How do I adjust the charging current?
The charging current can be adjusted by changing the onboard resistor. Refer to the datasheet for resistor values and corresponding current limits.