Overview
The TP4056 module is the most-used small lithium-ion / LiPo battery charger on the maker market. Plug a 3.7V LiPo or 18650 cell into the B+/B- terminals, connect a 5V supply (USB phone charger, USB-A from a computer) to the IN+/IN- terminals or the onboard Micro USB port, and the TP4056 IC handles the entire constant-current / constant-voltage charging cycle automatically. Two LEDs indicate charging in progress (red) and full charge (green / blue).
This particular variant adds a current protection IC (DW01 + dual MOSFET) on the OUT+/OUT- side that protects the cell from over-discharge, over-charge, and short-circuit conditions — load-side protection that's essential for safe LiPo usage. Use OUT+/OUT- to power your project; never connect a load directly to B+/B- without protection.
Charging current is set by R3 (default ~1A with the supplied 1.2 kΩ resistor; can be lowered for smaller cells by changing the resistor). Use it to power-bank a Pi Zero, run an ESP32 sensor node from a battery, build a portable speaker, or any project where 3.7V Li-ion convenience and recharging are needed.
At a Glance
Specifications
| Parameter | Value |
| Charge IC | TP4056 |
| Protection IC | DW01A + 8205A dual N-channel MOSFET |
| Input Voltage | 4.5V - 5.5V (USB nominal 5V) |
| Input Connector | Micro USB + screw / solder pads (IN+/IN-) |
| Output Voltage | 2.5V - 4.2V (battery direct, with protection) |
| Charge Current | 1A typical (set by R3 = 1.2 kΩ); range 130 mA - 1 A |
| Charge Method | Linear CC then CV with auto-recharge |
| Charge Voltage Cutoff | 4.2V ± 1% |
| Discharge Cutoff | ~2.4V (DW01 detection) |
| Over-Current Cutoff | ~3 A |
| Status Indicators | Red = charging; Green/Blue = full |
| Operating Temperature | -10°C to +85°C |
| Dimensions | ~28 × 17 mm |
Pinout Diagram
Pad Descriptions
| Pad | Function |
| Micro USB / IN+ / IN- | 5V input from USB or wall adapter |
| B+ / B- | Battery positive and negative (connect cell here) |
| OUT+ / OUT- | Protected battery output (connect load here) |
| R3 (1.2 kΩ) | Charge current setting resistor |
Wiring Guide
| Connection | Wire To |
|---|---|
| Battery + lead | B+ |
| Battery − lead | B- |
| Load + (e.g., ESP32 VIN) | OUT+ |
| Load − (load GND) | OUT- |
| 5V charger / USB | Micro USB or IN+ / IN- |
Adjusting Charge Current
The charge current is set by R3 (the SMD resistor labeled "122" = 1.2 kΩ on the default board). To use a smaller cell that shouldn't be charged at 1A, replace R3:
| R3 Value | Charge Current | Best For |
| 10 kΩ | 130 mA | Small 130-300 mAh cells |
| 5 kΩ | 250 mA | 500-1000 mAh cells |
| 2 kΩ | 580 mA | 1200-2500 mAh cells |
| 1.2 kΩ (default) | 1 A | 2500+ mAh cells (e.g., 18650) |