Zbotic Logo Zbotic Logo
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

  • Shop
  • About Us
  • Contact Us
  • Reseller
  • Blogs
020 69134444
1800 209 0998
[email protected]
Help Desk
Facebook Twitter Instagram Linkedin YouTube
Zbotic Logo Zbotic Logo
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

All departments
  • 3D Print Service
  • 3D Printer
  • Batteries & Chargers
  • Development Boards
  • Drone Parts
  • EBike parts
  • Sensor Modules
  • Electronic Components
  • Electronic Modules
  • IoT and Wireless
  • Mechanical Parts and Workbench Tools
  • Motors & Drivers & Pumps & Actuators
  • DIY and Robot Kits
  • Show more
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
Return to previous page
Home Batteries & Power

TP4056 Lithium Charger Module: Complete Wiring & Safety Guide

TP4056 Lithium Charger Module: Complete Wiring & Safety Guide

March 11, 2026 /Posted byJayesh Jain / 0

The TP4056 charging module wiring is one of the most searched topics among Indian electronics hobbyists — and for good reason. This tiny, inexpensive module is the foundation of countless DIY projects: power banks, Arduino portable builds, IoT sensor nodes, solar lanterns, and more. But wire it incorrectly, and you risk damaging your battery, your circuit, or worse. This guide covers everything from pinout basics to full protection circuit wiring, so you can build safely and confidently.

Table of Contents

  • What Is the TP4056 IC?
  • Module Variants: With and Without Protection
  • TP4056 Module Pinout Explained
  • Basic Wiring: Charging Only
  • Full Wiring: Charging + Load with DW01A Protection
  • Setting the Charging Current (RPROG)
  • Safety Considerations
  • Common Wiring Mistakes to Avoid
  • Project Ideas Using TP4056
  • FAQ

What Is the TP4056 IC?

The TP4056 is a complete constant-current/constant-voltage (CC/CV) linear charger IC for single-cell lithium-ion batteries. Manufactured by NanJing Top Power ASIC Corp, it is designed specifically for charging 3.7 V Li-Ion or Li-Polymer cells to a final voltage of 4.2 V.

Key specifications of the TP4056 IC:

  • Input voltage: 4 V to 8 V (typical 5 V USB)
  • Charge voltage: 4.2 V (±1% accuracy)
  • Maximum charge current: 1,000 mA (set by external RPROG resistor)
  • Package: SOP-8 (on most breakout modules)
  • Thermal regulation: Built-in — reduces current automatically if the die exceeds 120°C
  • Charge completion: Automatic — terminates when current drops to 1/10 of the programmed charge current
  • LED indicators: CHRG pin (charging) and STDBY pin (charge complete) — driven by the module PCB

The TP4056 does NOT include battery protection (over-discharge, over-current, short-circuit). That is why modules come in two variants — with and without the DW01A protection IC.

Module Variants: With and Without Protection

TP4056 Without Protection

This is the basic module containing only the TP4056 IC. It handles charging only. The output pins (B+ and B-) connect directly to the battery. There is no protection against:

  • Over-discharge (draining battery below 2.5 V damages it)
  • Over-current from the battery
  • Short-circuit on the output

Use case: Applications where the downstream circuit already has its own protection, or you are using a separate BMS. Also used for educational purposes or where load and charging are never simultaneous.

TP4056 With Protection (DW01A + 8205A)

This is the recommended module for most projects. It adds the DW01A protection IC and two 8205A N-channel MOSFETs. The combined circuit provides:

  • Over-charge protection: Cuts off charging if cell voltage exceeds ~4.28 V
  • Over-discharge protection: Cuts off load if cell voltage drops below ~2.4 V
  • Over-current protection: Cuts off if discharge current exceeds ~3 A
  • Short-circuit protection: Near-instant cut-off

Use case: The vast majority of DIY projects. Always prefer this variant unless you have a specific reason not to.

TP4056 1A Li-Ion Battery Charging Board Micro USB with Protection

TP4056 1A Li-Ion Battery Charging Board Micro USB with Protection

Complete TP4056 module with DW01A over-charge, over-discharge, and short-circuit protection. Micro USB input, 1A charge rate, red/blue status LEDs. The safest choice for single-cell 3.7V Li-Ion projects.

View on Zbotic

TP4056 1A Li-ion Lithium Battery Charging Module With Protection Mini USB

TP4056 1A Li-ion Charging Module with Protection – Mini USB

Mini USB variant of the popular TP4056 protection module. Ideal for retro-style projects or where Micro USB connectors are preferred. Full DW01A protection included.

View on Zbotic

TP4056 Module Pinout Explained

The standard TP4056 breakout module (with protection) has the following pads:

Pin Label Description Notes
IN+ / VCC Positive supply input (5 V from USB) 4 V to 8 V acceptable
IN- / GND Ground / negative supply input Common ground
B+ / BAT+ Battery positive terminal Connect to cell positive
B- / BAT- Battery negative terminal Connect to cell negative
OUT+ (protection modules only) Protected load output positive Connect your circuit here, NOT to B+
OUT- (protection modules only) Protected load output negative Connect your circuit here, NOT to B-

Basic Wiring: Charging Only

For a basic no-protection TP4056 module used purely for charging:

  1. Connect USB 5 V to IN+ and IN- (or use the built-in USB connector)
  2. Connect B+ to the positive terminal of your 3.7 V Li-Ion cell
  3. Connect B- to the negative terminal of your 3.7 V Li-Ion cell
  4. Connect your load circuit to B+ and B- as well

Warning: With no-protection modules, you must NOT discharge the cell below 3.0 V. Set a low-voltage cutoff in your firmware (e.g., using ADC monitoring on an Arduino).

Full Wiring: Charging + Load with DW01A Protection

This is the correct wiring for most DIY projects using the protection module:

  1. Power input: USB 5 V → IN+ and IN- (or the module’s built-in USB socket)
  2. Battery connection: Cell positive → B+, Cell negative → B-
  3. Load connection: Your project circuit → OUT+ and OUT- (NOT B+ and B-)
  4. Important: OUT+ and OUT- are the protected outputs routed through the DW01A MOSFETs. Using B+ and B- for your load bypasses the protection entirely.

Can you charge and use the load simultaneously? Yes — the TP4056 charges the battery via the B+/B- path, while the DW01A routes battery power to OUT+/OUT-. Both can operate at the same time. However, note that total available current at OUT is the battery’s discharge capacity, not the USB input current.

Setting the Charging Current (RPROG)

Most breakout modules come with a 1.2 kΩ RPROG resistor, setting the charge current to approximately 1,000 mA (1 A). The formula is:

I_CHG = 1000 / RPROG (in kΩ) mA

Examples:
  1.2 kΩ → 1000 mA (1 A)
  2 kΩ   → 500 mA
  4 kΩ   → 250 mA
  10 kΩ  → 100 mA

For smaller batteries (under 500 mAh), always reduce the charge current. Charging a 300 mAh LiPo at 1 A (over 3C!) will cause rapid heating, gas venting, and possible fire. General rule: charge at 0.5C maximum — a 500 mAh cell should be charged at 250 mA max.

To change RPROG on a module: desolder the existing SMD resistor and replace it with the correct value. This requires basic SMD rework skills.

Safety Considerations

  • Never charge damaged or swollen batteries with a TP4056. Inspect cells before connecting.
  • Do not leave charging unattended in enclosed spaces, especially for large cells. The TP4056 generates heat during charging — mount it with ventilation.
  • Use the correct battery chemistry. The TP4056 is calibrated for 4.2 V Li-Ion/LiPo. It will overcharge LiFePO4 cells (which charge to only 3.65 V).
  • Input polarity matters. Reversing the IN+/IN- will likely destroy the module immediately.
  • Battery polarity matters. Reversing B+/B- will also destroy the module.
  • Heatsinking: At full 1 A charge on a 5 V supply, the TP4056 dissipates up to 800 mW as heat. On a bare module, this is manageable, but embedding it in a sealed enclosure risks thermal shutdown and reduced charge efficiency.

Common Wiring Mistakes to Avoid

Mistake 1: Connecting Load to B+ Instead of OUT+

The most common mistake. If you connect your Arduino or project circuit to B+ and B-, you bypass the protection circuit entirely. Any over-current event will not be caught by the DW01A.

Mistake 2: Using TP4056 for LiFePO4 Cells

LiFePO4 has a different charge curve — nominal 3.2 V, full charge 3.65 V. The TP4056 terminates at 4.2 V and will over-charge LiFePO4, degrading it rapidly. Use a dedicated LiFePO4 charger IC.

Mistake 3: Charging While Drawing Heavy Load

While simultaneous charge + use is technically possible, drawing 1 A from OUT+ while charging at 1 A via USB creates a 2 A demand the battery may not sustain well. Keep total current flow balanced.

Mistake 4: Assuming Protection Module Protects Against All Shorts

The DW01A protection reacts within microseconds, but a hard short on OUT+ can still cause a brief current spike. Never short the output deliberately to “test” the protection.

TP4056 1A Li-ion Lithium Battery Charging Module Mini USB

TP4056 1A Li-ion Battery Charging Module – Mini USB

Compact TP4056 charging-only module with Mini USB connector. Perfect for embedded projects where you need a simple, light charger solution without onboard protection (pair with external BMS).

View on Zbotic

Project Ideas Using TP4056

1. Solar-Powered Arduino Weather Station

A 5 V solar panel charges a 2,000–3,000 mAh 18650 cell via the TP4056. An Arduino Nano running on the protected output reads temperature/humidity (DHT22) and transmits via ESP8266. The TP4056’s thermal regulation handles cloudy-day voltage fluctuations from the panel gracefully.

2. Portable Bluetooth Speaker

A TP4056 module combined with a 2,000 mAh Li-Ion cell and a PAM8403 amplifier creates a palm-sized Bluetooth speaker. Charge via USB Micro, play via Bluetooth. Total BOM under ₹300.

3. Wearable LED Badge

A 500 mAh LiPo (with RPROG changed to 4 kΩ for 250 mA charge) powers a WS2812B LED matrix controlled by an ATtiny85. The TP4056 charges from any USB power bank when worn at events.

4. IoT Soil Moisture Sensor (Field Deployed)

A small solar panel + TP4056 + 18650 cell + ESP32 deep sleep loop reads soil moisture and uploads to ThingSpeak every 15 minutes. The TP4056 keeps the cell topped up from daytime solar.

18650 5V 1A/2A Lithium Battery Charging Module

18650 5V 1A/2A Lithium Battery Digital Display Charging Module

A step up from the basic TP4056 — this module includes an integrated boost converter for 5 V USB output, digital charge indicator, and dual USB ports. Perfect for power bank projects using a single 18650 cell.

View on Zbotic

Frequently Asked Questions

Can TP4056 charge two batteries simultaneously?

No. The TP4056 is designed for single-cell (1S) 3.7 V Li-Ion charging only. For multi-cell packs, you need a dedicated multi-cell charger or multiple individual TP4056 modules — one per cell.

Why is my TP4056 getting very hot during charging?

The TP4056 is a linear regulator — all excess voltage is dissipated as heat. At 5 V input charging at 1 A with a 3.7 V cell: (5 – 3.7) × 1 A = 1.3 W dissipated. This is normal and causes the IC to get warm. The built-in thermal regulation reduces charge current automatically if temperature is too high. Ensure the module is not in a sealed space.

The red LED is blinking — what does it mean?

A blinking CHRG LED typically indicates the protection circuit has tripped due to battery over-discharge (cell voltage below ~2.4 V). To recover: apply a brief 5 V input to allow the DW01A to reset, then proceed with normal charging. If it continues blinking, the cell may be damaged.

Can I use a 9V adapter with TP4056?

Technically the IC accepts up to 8 V. A 9 V adapter may damage it. At 9 V input charging at 1 A: (9 – 3.7) × 1 A = 5.3 W dissipation — far too much for the tiny IC. Always use 5 V USB for powering the TP4056.

What is the difference between TP4056 and IP5306?

The TP4056 is a bare charging IC with optional protection via external DW01A. The IP5306 is an integrated power bank IC with built-in boost converter (5 V output), dual USB, LED indicators, and protection — all in one chip. For a fully featured power bank, IP5306 is simpler. For embedded charging in custom projects, TP4056 gives more flexibility.

Build Your Battery Project Today

Zbotic stocks TP4056 modules (Micro USB and Mini USB variants), 18650 holders, BMS boards, and boost converters. Get everything for your DIY battery project in one order with fast shipping across India.

Shop Battery Modules

Tags: battery charging circuit, li-ion charging module, lithium battery charger, TP4056, tp4056 wiring
Share Post
  • Facebook
  • Linkedin
  • Whatsapp
Zigbee2MQTT: Control Zigbee De...
blog zigbee2mqtt control zigbee devices with home assistant india 597345
blog 16x2 lcd vs oled display which is better for your project 597361
16×2 LCD vs OLED Display:...

Related posts

Svg%3E
Read more

Power Electronics Lab: Equipment List for Students

April 1, 2026 0
Setting up a power electronics lab for students and hobbyists requires the right equipment to safely work with batteries, converters,... Continue reading
Svg%3E
Read more

Battery Recycling Process: Extract Materials Safely

April 1, 2026 0
Understanding the battery recycling process is essential as lithium-ion batteries reach end of life in growing numbers. India generates an... Continue reading
Svg%3E
Read more

Battery Formation: First Charge Process Explained

April 1, 2026 0
The battery formation process is the critical first charge cycle that transforms raw electrode materials into a functional lithium-ion battery... Continue reading
Svg%3E
Read more

Islanding Detection: Safety for Grid-Connected Solar

April 1, 2026 0
Islanding detection is the critical safety mechanism that prevents solar inverters from energising dead grid lines during a power outage.... Continue reading
Svg%3E
Read more

Grid Tied Inverter: Feed Solar Power to Grid India

April 1, 2026 0
A grid tied inverter converts DC solar power into AC electricity synchronised with the utility grid, allowing you to feed... Continue reading

Add comment Cancel reply

Your email address will not be published. Required fields are marked

Facebook Twitter Instagram Pinterest Linkedin Youtube

Get the latest deals and more.

Download on Google Play Download on the App Store

Call us: 020 69134444 / 1800 209 0998

Monday - Saturday 09:30 AM - 06:00 PM
For Technical Supports Email: [email protected]
For Sales / Enquiries Email: [email protected]

  • My Account

    • Cart

    • Wishlist

    • Checkout

    • My Orders

    • Track Order

    • My Account

  • Information

    • FAQs

    • Blogs

    • Career

    • About Us

    • Contact Us

    • Payment Options

  • Policies

    • Privacy Policy

    • Terms & Conditions

    • GST Input Tax Credit

    • Shipping Return Policy

    • E-Waste Collection Points

    • Our Sitemap

© Zbotic.in is registered trademark of Moxie Supply Pvt Ltd – All Rights Reserved
Login
Use Phone Number
Use Email Address
Not a member yet? Register Now
Reset Password
Use Phone Number
Use Email Address
Register
Already a member? Login Now