

The TP4056 Type-C is a lithium battery charger IC designed for charging single-cell lithium-ion batteries. It provides a constant current/constant voltage (CC/CV) charging profile, ensuring safe and efficient charging. The inclusion of a Type-C interface allows for modern connectivity and reliable power delivery, making it a popular choice for portable electronics, DIY projects, and battery-powered devices.








The TP4056 Type-C module is compact and highly efficient. Below are its key technical details:
| Parameter | Value |
|---|---|
| Input Voltage Range | 4.5V to 5.5V |
| Charging Voltage | 4.2V ± 1% |
| Maximum Charging Current | 1A (adjustable via resistor) |
| Charging Method | Constant Current / Constant Voltage (CC/CV) |
| Interface Type | USB Type-C |
| Battery Type Supported | Single-cell lithium-ion/lithium-polymer |
| Operating Temperature | -10°C to +85°C |
| Dimensions | ~25mm x 19mm |
The TP4056 Type-C module has several pins and solder pads for connectivity. Below is a detailed description:
| Pin/Pad | Description |
|---|---|
| IN+ | Positive input voltage (4.5V to 5.5V). Connect to the positive terminal of the power source. |
| IN- | Negative input voltage (GND). Connect to the ground of the power source. |
| BAT+ | Positive terminal for the lithium battery. Connect to the positive terminal of the battery. |
| BAT- | Negative terminal for the lithium battery. Connect to the negative terminal of the battery. |
| OUT+ | Positive output voltage. Can be used to power a load directly from the battery. |
| OUT- | Negative output voltage (GND). |
| PROG | Used to set the charging current by connecting a resistor to GND. |
| STAT1 | Charging status indicator (active low). Connect to an LED for visual feedback. |
| STAT2 | Charging complete indicator (active low). Connect to an LED for visual feedback. |
| CE | Chip enable pin. Pull low to disable the module, or leave floating for normal operation. |
IN+ and IN- pins. Ensure the input voltage is within the 4.5V to 5.5V range.BAT+ and BAT- pins. Ensure correct polarity to avoid damage.OUT+ and OUT- pins. Note that the load should not exceed the module's current rating.PROG pin to set the desired charging current. The formula is:
[
I_{CHARGE} = \frac{1200}{R_{PROG}}
]
For example, a 1.2kΩ resistor sets the charging current to 1A.STAT1 and STAT2 pins for visual feedback:STAT1: Lights up during charging.STAT2: Lights up when charging is complete.The TP4056 Type-C can be used to charge a battery that powers an Arduino UNO. Below is an example of how to monitor the charging status using Arduino:
// TP4056 Status Monitoring with Arduino UNO
// Connect STAT1 to Arduino pin 2 and STAT2 to pin 3
const int stat1Pin = 2; // STAT1 pin connected to Arduino pin 2
const int stat2Pin = 3; // STAT2 pin connected to Arduino pin 3
void setup() {
pinMode(stat1Pin, INPUT); // Set STAT1 as input
pinMode(stat2Pin, INPUT); // Set STAT2 as input
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int stat1 = digitalRead(stat1Pin); // Read STAT1 pin
int stat2 = digitalRead(stat2Pin); // Read STAT2 pin
if (stat1 == LOW) {
Serial.println("Charging in progress...");
} else if (stat2 == LOW) {
Serial.println("Charging complete!");
} else {
Serial.println("No battery connected or idle state.");
}
delay(1000); // Wait for 1 second before checking again
}
Module Overheating
PROG resistor value. Ensure proper airflow around the module.Battery Not Charging
LEDs Not Lighting Up
Output Voltage Too Low
Can I use the TP4056 Type-C to charge multiple batteries in series?
What happens if I exceed the input voltage range?
Can I adjust the charging voltage?
Is it safe to leave the battery connected after charging is complete?
This concludes the documentation for the TP4056 Type-C module. Follow the guidelines above for safe and efficient operation!