Overview
The TP4056 is a 1.0 Amp standalone linear Lithium-Ion and Lithium-Polymer (LiPo) battery charger IC manufactured by NanJing Top Power. Sold worldwide as a cheap red or blue breakout module with Micro-USB or USB-C connectors (and frequently paired with a DW01A battery protection IC and FS8205A dual MOSFET for over-charge, over-discharge, and short-circuit protection), it safely charges single-cell Li-Ion / 18650 / LiPo cells to a target voltage of .
Operating on a standard USB power supply, the TP4056 implements a complete Constant-Current / Constant-Voltage (CC/CV) charging profile with programmable charge current (up to ), thermal regulation, automatic recharge, and dual open-drain LED status outputs (/CHRG and /STDBY).
Quick reference
| Charger Type | Constant-Current / Constant-Voltage (CC/CV) Linear Charger |
| Package | 8-pin SOP-8 with exposed bottom thermal pad / Breakout Board |
Input Supply Voltage (VCC) | 4.0 V to 8.0 V DC (5.0 V USB nominal) |
| Final Float Charge Voltage | DC ( accuracy) |
| Max Programmable Charge Current | (, set by resistor) |
| Precharge Trickle Threshold | (Trickle charge at current for deeply discharged cells) |
| Charge Status Indicators | Red LED (/CHRG pin 7) = Charging / Blue or Green LED (/STDBY pin 6) = Fully Charged |
| Battery Protection Pair | DW01A protection IC + FS8205A dual N-MOSFET (on protected modules) |
Pinout (SOP-8 Package & Module Terminals)
┌───┴───┐
TEMP ─┤ 1 8 ├─ VCC
PROG ─┤ 2 7 ├─ /CHRG
GND ─┤ 3 6 ├─ /STDBY
BAT ─┤ 4 5 ├─ CE
└───────┘
| Module Pin Label | Name | Type | Description |
|---|---|---|---|
IN+ / USB | VCC | Power | Positive DC power input from USB |
IN- | GND | Power | Ground reference (0 V) |
BAT+ / B+ | BAT | Battery Connection | Connects to positive lead of 3.7V Li-Ion / LiPo battery |
BAT- / B- | GND / Protection | Battery Connection | Connects to negative lead of battery (via DW01A MOSFET on protected boards) |
OUT+ | OUT+ | Load Power Output | Regulated load output (+) on protected module boards |
OUT- | OUT- | Load Power Output | Load output ground (-) (cuts off at 2.4V battery protection threshold) |
Specifications
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions |
|---|---|---|---|---|---|---|
| Input Supply Voltage | 4.0 | 5.0 | 8.0 | V | USB 5.0V input | |
| Regulated Output Voltage | 4.137 | 4.200 | 4.263 | V | ||
| Charge Current () | 900 | 1000 | 1050 | mA | RPROG = 1200 Ω | |
| Trickle Charge Threshold | 2.8 | 2.9 | 3.0 | V | rising | |
| C/10 Termination Current | — | 0.1 | — | Charge cycle termination threshold | ||
| Shutdown Supply Current | — | 55 | 100 | µA | disconnected |
Charge Current Programming ( Resistor Table)
The continuous charge current () is programmed by resistor connected between Pin 2 (PROG) and GND:
| Resistor Value | Programmed Charge Current () | Recommended Battery Capacity |
|---|---|---|
| (Default on modules) | () | (e.g. 18650 cell) |
| (small LiPo cells) |
CC/CV Charging Profile Stages
Voltage (V) / Current (A)
4.2V ─────────────────────────────┐ (Constant Voltage Stage)
│ │ ╲
│ (Constant Current) │ ╲ Current Drops
2.9V ─┼───────────────────────────┤ ╲ to C/10
(0.1A)│---(Trickle Precharge)---- │ └── Charge Complete (STDBY LED ON)
0V └───────────────────────────┴─────────────────────── Time
- Trickle Precharge: If battery voltage , the charger outputs of programmed current () to safely recover deeply discharged cells.
- Constant Current (CC): Once , full programmed current () is delivered to the battery while voltage rises toward .
- Constant Voltage (CV): When reaches , voltage is held constant while charge current decays.
- Charge Termination: When current drops to (), charging terminates, the red LED turns OFF, and the blue/green LED turns ON.
Wiring (Protected TP4056 Breakout Module)
| TP4056 Module Pin | → | Power Source / Battery / Load | Notes |
|---|---|---|---|
IN+ / USB | +5V USB Power Supply | Charge power input | |
IN- | USB GND | Charge ground | |
B+ | Li-Ion / 18650 Battery (+) | Battery positive lead | |
B- | Li-Ion / 18650 Battery (-) | Battery negative lead | |
OUT+ | MCU / System Load 5V/3.3V LDO | Load power positive output | |
OUT- | MCU System Ground | Load power ground output |
Common mistakes
- Charging small LiPo batteries (<500mAh) at the default 1A rate: Default TP4056 modules come pre-soldered with a resistor ( charge rate). Charging small or LiPo cells at ( rate) causes severe overheating and fire hazards. Desolder the resistor and replace it with a or resistor for small LiPo cells.
- Connecting battery in reverse polarity: Connecting battery
+toB-and-toB+instantly destroys the TP4056 IC.
Notes
- TP4056 vs MCP73831 vs BQ24160: TP4056 is a low-cost 1A linear charger; MCP73831 is Microchip's 500mA linear charger; BQ24160 is a TI switch-mode charger.
Assets & downloads
- datasheetdatasheet
- product-pagereference