Supplier photo of an assembled radio kit with a purple circuit board, telescopic antenna and clear case.
Supplier photo
Temu affiliate offer · Project idea

Build a radio

Soldering required. Check the supplied parts and board revision.

View kit on Temu

Tricky Circuit may earn a commission through these links. Product ideas have not been bench-tested by Tricky Circuit and are not verified lesson parts lists.

🔋 TP4056: The Ultimate Guide

“Everything you need to know about charging lithium batteries without accidentally burning down your house.”


🧠 What is TP4056?

TP4056 is a popular linear battery charger IC designed specifically for single-cell Li-Ion and Li-Polymer batteries.
It charges the cell with constant current (CC) followed by constant voltage (CV), ensuring safe and efficient charging.


⚡ Key Features

  • 🛜 Input voltage: 4V – 8V (typically powered by USB 5V)
  • ⚡ Charging current: up to 1A (programmable)
  • 🔋 Full-charge voltage: 4.2V
  • 📈 Charging method: Constant Current / Constant Voltage
  • 🧠 Built-in safety:
    • Over-temperature protection
    • Under-voltage lockout
    • Automatic recharge
  • 🚦 Charging status outputs (LED indicators)

📦 Typical Applications

  • USB battery chargers (DIY power banks)
  • Wearable electronics
  • Bluetooth devices
  • Arduino, ESP32 portable projects
  • Emergency LED lamps

📏 Standard Pinout

PinNameFunction
1TEMPTemperature sense (usually tied to GND)
2PROGProgram charging current via resistor
3GNDGround
4VCCInput voltage (4-8V, usually 5V USB)
5BATBattery connection
6STDBYStatus: Charge complete (LED)
7CHRGStatus: Charging (LED)
8CEChip Enable (active low, usually tied low)

🧰 How to Set the Charging Current

You define the current using a resistor connected to the PROG pin.

Formula:

Desired CurrentResistor Value (Rprog)
1000mA1kΩ
500mA2kΩ
100mA10kΩ

🛡️ About TP4056 Modules with Protection

Some TP4056 modules come with additional protection chips like:

  • DW01A: battery protection IC
  • FS8205A: dual MOSFET for cut-off control

These protect against:

  • Overcharge
  • Over-discharge
  • Short circuit
  • Reverse polarity

Modules with protection usually have 6 terminals instead of 4:

  • IN+, IN-, B+, B-, OUT+, OUT-

Always connect the load across OUT+ and OUT-, not B+ and B-.


🧪 Example Circuit (Basic Setup)

For a simple USB Li-Ion charger without external load:

No magic. Just wire properly and don’t burn the house.


🛠️ Advanced Setup: Full-Protected Power Module

Components:

  • TP4056 charger IC
  • DW01A + FS8205A protection circuit
  • USB or DC input
  • Load connected to OUT+, OUT-
  • Bypass capacitors (10µF at input/output)
  • Optional PTC resettable fuse for USB input (500mA typical)

⚠️ Common Mistakes to Avoid

MistakeWhy it’s a problem
Connecting load directly to B+Bypasses protection, risks overdischarge
No bypass capacitorsCauses instability or resets
Using low-quality USB powerCan cause undervoltage, slow or failed charge
Using too high Rprog valueLeads to very slow charging or fake “charging complete” detection
Overheating the chip (>100°C)TP4056 may go into thermal shutdown (or die)

🚀 Pro Tips

  • Always add a heatsink pad under the TP4056 if charging >500mA.
  • Use a 2kΩ Rprog to charge gently at ~500mA — saves battery life.
  • Prefer modules with a real DW01+FS8205 combo for serious projects.
  • Always triple-check wiring before connecting batteries — Li-Ion cells are not forgiving.

🎯 Conclusion

TP4056 is cheap, versatile, and robust — if you respect its limits.
For small Li-Ion projects, it’s hard to beat its simplicity and performance.

🔋
It’s not just a charger. It’s your battery’s best friend.
Unless you mess up — then it’s your firestarter. 😄

📡Broadcast the signal — amplify the connection.

Leave a Reply

Temu affiliate offers

Find your next electronics project

Explore these do-it-yourself project kits. Check the selected option, included parts and instructions on each offer.

Tricky Circuit may earn a commission if you buy through these Temu affiliate links. These are product ideas; they have not been bench-tested by Tricky Circuit and are not verified lesson parts lists.

Supplier photo of an assembled infinity mirror light cube illuminated on a dark background.

Supplier product photo

Build an infinity light cube

Listing specifies 5-volt direct current. Soldering required; battery and glue not included.

View kit on Temu

Supplier photo of a breadboard, jumper wires and assorted electronic components in a plastic storage case.

Supplier product photo

Try breadboard experiments

Breadboard, wires and assorted parts. Arduino controller board not included.

View kit on Temu

Supplier photo of an assembled blue surface-mount soldering practice board with a circular ring of small lights.

Supplier product photo

Solder a chasing-light board

Surface-mount soldering practice. Battery and battery holder not included.

View kit on Temu