TP4056 Alternatives: Li-Ion Charger Cross-Reference

TP4056 Alternatives: Li-Ion Charger Cross-Reference

TP4056 Alternatives: Li-Ion Charger Cross-Reference

The one-amp linear charger on millions of USB boards — what to match, what to add for safety, and when a linear charger is simply the wrong choice.

Sourcing guide · Battery charging · Power IC inventory · More sourcing guides

TL;DR

  • TP4056 is a 1 A linear lithium-ion charger in SOP-8 with an exposed pad, charging to 4.2 V with a programmable current.
  • It contains no battery protection. A safe design adds a protection IC and dual MOSFET (DW01 plus 8205) between the cell and the system.
  • Pin-compatible second sources exist, but the thermal pad and the TEMP pin handling differ.
  • Linear charging at 1 A from 5 V dissipates about 1.3 W — the package, not the current rating, sets the limit.
  • Above roughly 1 A, or with high input voltage, a switching charger such as TP5100 is the correct architecture.

1. Why this charger is everywhere

The TP4056 solves a common problem cheaply: charge a single lithium-ion cell from a 5 V USB source, with a status output and no inductor. It needs a programming resistor, a few capacitors and a thermal pad, and it works.

That simplicity made it the default in power banks, Bluetooth speakers, small robots, handheld instruments and countless hobby boards. The part is a commodity, sourced from several manufacturers under the same number, and that is where substitution questions start.

Its limitations are equally well known: it is linear, so it wastes the input-voltage difference as heat, and it has no protection function. Both are reasons to look at the circuit around it, not only at the part number.

2. How the charge cycle works

The charger runs a constant-current, constant-voltage cycle. It first limits current to the programmed value while the cell voltage rises. When the cell reaches 4.2 V, it holds that voltage and the current tapers. Charging terminates when the current falls below a fraction of the programmed value.

The current is set by a resistor from the PROG pin to ground. The relationship is not linear across the whole range, and the vendor's table is the authority; a common starting point is about 1 A with a 1.2 kΩ resistor, and lower currents with larger values.

Two open-drain status pins report the state: one active during charging, one active when the cycle completes. Their polarity and behaviour are worth checking when substituting, because the LED wiring assumes them.

What the cell actually sees

In the constant-current phase, the charger holds current steady and lets the cell voltage rise. That is the phase that matters for charge time: a 2000 mAh cell at 1 A takes roughly two hours to reach 4.2 V.

In the constant-voltage phase, the charger holds 4.2 V and the current tapers. This phase is slower and cannot be shortened without exceeding the float voltage — which damages the cell.

That is why a charger rated at 1 A does not charge a large cell in one hour. The last 20–30% of capacity arrives at decreasing current, and the total time is dominated by the CV phase.

3. Pin functions and what to match

Pin Function Substitution note
1 TEMP — battery temperature input Some variants omit it; check how it is disabled
2 PROG — current setting resistor Formula and range differ between families
3 GND Also the thermal pad connection
4 VCC — input supply Input range and absolute maximum must match
5 BAT — cell connection Float voltage is the critical parameter
6–7 STDBY, CHRG — status outputs Polarity must match the LED circuit
8 CE — chip enable Active-high on most variants

The float voltage is the parameter that decides whether the substitution is safe. A part that charges to 4.25 V instead of 4.20 V reduces cycle life and, in a sealed product, increases risk. Check the tolerance, not just the nominal value.

Choosing the PROG resistor

The programming resistor sets the CC current. The vendor table is the authority, and the relationship is not perfectly linear. Two practical rules apply regardless of the exact formula.

Never exceed the cell's rated charge current. A 1 A setting on a 500 mAh cell is a design error, not a fast-charge feature.

Use a 1% resistor. The current tolerance follows the resistor tolerance, and a 5% part moves the charge current by 5% — enough to matter at the top of a cell's rating.

Changing the resistor is also the easiest way to test a substitute. Set a known current, measure it, and compare with the original. If the values diverge, the formula or the internal reference differs.

4. The family around it

Part Current Package In stock
TP4056 1 A SOP-8 with pad Yes
TP4057 500 mA SOT-23-6 Yes
TP4054 500 mA SOT-23-5 Yes
TP5100 2 A TQFN (switching) Yes
MCP73831 500 mA SOT-23-5 Yes

Only the TP4056 variants are pin-compatible with each other. The smaller parts are different packages and pinouts; they are functional alternatives for low-current designs, not drop-ins.

Parallel cells do not help. The charger current splits between them, but the total charge time and the total heat are unchanged, and mismatched cells share unevenly. Match the charger to the pack, not to each cell individually.

5. Thermal math: why 1 A is not always 1 A

A linear charger burns the difference between input and cell voltage as heat. At 5 V in and a 3.7 V cell, 1 A dissipates about 1.3 W. Near the end of the cycle, when the cell reaches 4.2 V, it is about 0.8 W.

Charge current Dissipation at 3.7 V cell Practical note
0.5 A 0.65 W Comfortable with a pad
1.0 A 1.3 W Requires copper and airflow
1.5 A 1.95 W Beyond the package in most designs

Most parts in this family include thermal regulation: when the die gets hot, they reduce current rather than fail. That is why a 1 A design can charge slowly in a warm enclosure and never show a fault. It is also why the measured charge current is often lower than the programmed value.

If the product needs 2 A, a linear charger is the wrong architecture. A switching charger such as TP5100 reduces dissipation by an order of magnitude, at the cost of an inductor and more layout work.

USB-C and input current

Modern designs use USB-C rather than micro-USB, and that changes two things. A USB-C source may advertise 500 mA, 1.5 A or 3 A depending on the resistor on the CC lines; the charger does not negotiate, it simply draws current.

If the source cannot supply the programmed current, the input voltage collapses. The charger may restart repeatedly, which looks like a faulty unit. Check the source capability before blaming the part.

Also check reverse-current behaviour when the input is removed while a cell is connected. Some chargers block it; others rely on external components. A battery that drains into an unpowered USB port is a common field complaint.

6. Battery protection is a separate circuit

The charger controls current and voltage. It does not protect the cell from over-discharge, over-current or a shorted output. That protection is a separate IC, usually paired with a dual N-channel MOSFET in the negative path.

The common combination is a protection IC (DW01 family) plus an 8205 dual MOSFET. The protection IC monitors cell voltage and current, and drives the MOSFETs to disconnect the cell.

Skipping the protection circuit is common in hobby designs and unacceptable in products. A single fault — a shorted USB input, a damaged cell, a connector short — turns a cheap charger into a fire risk.

Thermal design details

The exposed pad is the only meaningful thermal path. Solder it to a copper area with vias to an inner ground plane; a pad connected only to a thin trace will overheat long before the current rating is reached.

Keep the charger away from the cell. A cell heated by its own charger ages faster, and in a sealed enclosure the two heat sources compound.

If the enclosure is small, derate the charge current rather than adding airflow. Thermal regulation will do this automatically, but at the cost of unpredictable charge time.

Reading the status pins in firmware

The two open-drain outputs are usually wired to LEDs, and sometimes also to a microcontroller. Three details matter when a second source is introduced.

Polarity. Both pins are open drain and active low on the common variants, but not on every clone. A reversed indication makes a charging product look idle.

Pull-up voltage. If the pins are pulled to the battery rail instead of the logic rail, the microcontroller sees a voltage above its supply when the battery is high. Pull them to the logic rail instead.

Behaviour at termination. Some parts toggle the status pins briefly during a restart cycle, which firmware can misread as a fault. Debounce the input, or poll at a slow rate.

7. What to check before substituting

Check Why
Float voltage and tolerance Cycle life and safety
PROG resistor formula Charge current must stay within the cell rating
TEMP pin handling Some parts disable differently; floating it can stop charging
Status pin polarity LED behaviour and firmware indication
Thermal pad Dissipation path; required for 1 A
Input absolute maximum USB hot-plug transients

The TEMP pin deserves a note. If the design does not use a thermistor, the pin must be biased in the way the datasheet specifies for "temperature sensing disabled". Floating it can be interpreted as an out-of-range temperature and stop charging — a failure that looks like a dead charger.

Certification and cell safety

Products with lithium cells are subject to transport and safety rules that depend on the cell, the protection circuit and the enclosure. The charger is one part of that system, and a substitution changes the system.

If the product has a certification file, a charger change may require a delta test. Check with the certification body before assuming a pin-compatible part is administratively equivalent.

Input protection and ESD

The input pin sees the outside world through a connector, which means ESD and hot-plug transients. Three measures are common: a TVS diode at the connector, a small series resistor or ferrite, and a capacitor close to the pin.

The capacitor value is not arbitrary. Too much capacitance at the input can cause a hot-plug current spike that pulls down the USB source; too little leaves the input exposed. The datasheet's recommended value is a starting point, not a target to exceed.

If the product is used with third-party cables and chargers, add the TVS. A charger that survives the bench and dies at a customer's desk is usually an ESD path, not a silicon defect.

8. Test plan

Step Test Pass criteria
1 Float voltage at termination 4.20 V within tolerance at 25 °C
2 Charge current in the CC phase Matches the programmed value
3 Case temperature at 1 A in the enclosure Below the thermal-regulation threshold
4 Termination and restart behaviour Stops, then restarts on voltage drop
5 Protection IC trip and recovery Cell disconnects and recovers
6 Hot-plug and reverse connection No damage to charger or cell

Testing cells and suppliers

Cell quality matters more than charger quality. A cell with a high internal resistance will heat during charge, and the charger will enter thermal regulation earlier, making the product look slow.

Measure the charge curve on a sample from each cell lot: current, voltage and case temperature over time. A curve that flattens early means the cell or the charger is limiting, and the two are distinguishable by measuring the input current.

Deeply discharged cells

A cell that has been stored for months may sit below the minimum voltage. Some chargers enter a trickle mode at low current; others refuse to start.

If the product must recover a deeply discharged cell, confirm the behaviour of the substitute before shipping. A charger that refuses to start looks identical to a dead cell to the user, and the return is expensive.

9. Cost, supply and safety

These chargers cost cents, and second sources are plentiful. The parameters that matter commercially are not the price but the documentation and the consistency of the float voltage.

For a product with a lithium cell, safety is a system property: charger, protection IC, cell, enclosure and certification. A cheaper charger that charges 50 mV high, paired with a protection IC that trips late, is a bad combination even if each part passes its own test.

Purchase cells and protection parts from traceable channels. The failure mode of a counterfeit cell is not a failed test; it is a fire, and no charger specification protects against it. Document the cell part number, the protection IC and the charger as one approved assembly.

Power-path and load sharing

A charger alone does not let a device run from USB while the battery charges. That requires a power-path controller, which switches the system load to the input when present and to the battery otherwise, and which keeps the charge current independent of the system load.

Designs that simply connect the load across the cell work, but they keep charging the cell while it discharges, extend charge time and, in the worst case, keep the cell at a high float voltage for long periods. If the product runs while plugged in, consider a power-path part rather than adding a second charger.

10. FAQ

Is TP4057 a drop-in for TP4056?

No. It is a 500 mA part in a SOT-23-6 package. It is a functional alternative for low-current designs, not a pin-compatible replacement.

Can I charge at 1 A from a USB port?

Only if the port can supply it and the cell is rated for it. Many USB sources limit current, and the charger will simply draw what is available.

Do I need a protection IC with TP4056?

Yes, for a product. The charger does not protect against over-discharge, over-current or a shorted output.

Why is my charge current lower than programmed?

Usually thermal regulation: the die is hot, so the part reduces current. Improve copper area or airflow before changing the resistor.

Can I leave the TEMP pin unconnected?

Only if the datasheet says that disables temperature sensing. On some parts, floating it stops charging.

When should I use a switching charger?

Above about 1 A, or when the input voltage is far from the cell voltage. TP5100 is the common 2 A option.

11. Sources

  • Microchip MCP73831 documentation: microchip.com
  • Battery University charging references: batteryuniversity.com
  • Vendor datasheets for TP4056 family: TOP POWER, UMW, MSKSEMI.

About the author — Published by the Chip-Seek Supply Chain Intelligence Team. We track component availability, substitutions and qualification risk for hardware engineers and procurement teams. Read our quality and traceability process.

Designing a charger circuit?

Tell us the cell capacity, charge current and input source. We will quote the charger, protection IC and MOSFETs together.

Check TP4056 stockRequest samples

Check stock by part number

Turn this insight into a sourcing decision.

Need pricing or a drop-in alternative? Submit a BOM / RFQ or talk to our team.