Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Power & Batteries
  4. ›TP4056 Charger Module
Step 6 of 15 in Power and batteriesPart of a learning path.
Next

How-to · Beginner · 3 min read

TP4056 Charger Module

Wiring, Charge Current and Load Sharing

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerPinout: IN, BAT and OUTSetting the charge currentThe load-sharing problem (charging while running)Using the output in a projectWhat the LEDs meanTry itCommon mistakesFAQsParts and next steps
Short answer

The TP4056 module charges one 3.7 V lithium cell from 5 V USB at up to 1 A using the correct constant-current, constant-voltage method, stopping at 4.2 V. Use the version with protection (DW01A chip), connect the cell to B+ and B-, and your circuit to OUT+ and OUT-. The red LED means charging, blue or green means done. Lower the current for small cells by changing the RPROG resistor.

Key specs at a glance

Input
5 V via micro USB or USB-C, or IN+ / IN- pads
Charge
CC/CV to 4.2 V, up to 1 A (1.2 kΩ RPROG)
Protection (DW01A + FS8205A)
Over-charge, over-discharge at about 2.4 V, over-current, short circuit
LEDs
Red: charging; blue/green: full (or no battery)
Heat
Over 500 mA from 5 V the chip gets hot; keep airflow
Cells
One cell, or several in parallel only
!Safety: Lithium cells need care

A shorted, over-charged or damaged lithium cell can get very hot and catch fire. Use a protection board or BMS, never short the terminals, charge on a non-flammable surface and do not leave a charging pack alone. Throw away cells that are swollen or dented.

01

Pinout: IN, BAT and OUT

PadConnectNotes
IN+ / IN-5 V supply (or use the USB port)4.5 to 5.5 V
B+ / B-Battery cellWatch polarity
OUT+ / OUT-Your circuitOnly on protected boards; goes through the protection MOSFETs
IN+ / IN-
Connect:
5 V supply (or use the USB port)
Notes:
4.5 to 5.5 V
B+ / B-
Connect:
Battery cell
Notes:
Watch polarity
OUT+ / OUT-
Connect:
Your circuit
Notes:
Only on protected boards; goes through the protection MOSFETs
02

Setting the charge current

Charge current is set by the resistor RPROG between pin 2 of the TP4056 and ground. The 1.2 kΩ fitted gives 1 A. Charge at no more than 1C (the cell's capacity in Ah). For a 500 mAh LiPo, replace it with 2.4 kΩ (about 500 mA); for 2000 mAh and larger, 1 A is fine.

RPROGCharge current
10 kΩ130 mA
5 kΩ250 mA
3 kΩ400 mA
2 kΩ580 mA
1.5 kΩ780 mA
1.2 kΩ1 A
RPROGCharge current
10 kΩ
130 mA
5 kΩ
250 mA
3 kΩ
400 mA
2 kΩ
580 mA
1.5 kΩ
780 mA
1.2 kΩ
1 A
03

The load-sharing problem (charging while running)

The TP4056 decides the cell is full when charge current drops below about 100 mA. If your circuit draws from the cell while charging, the chip sees a mix of load and charge current, so it may never terminate, keeps the cell at 4.2 V, and mis-reports status. For a device that runs while plugged in, add a load-sharing circuit: a P-channel MOSFET and a Schottky diode that power the load straight from USB when present and from the cell otherwise. Ready-made boards (for example those labelled "TP4056 with load sharing" or the IP5306-based power-bank modules) include this.

04

Using the output in a project

OUT+ gives the raw cell voltage, 3.0 to 4.2 V. For 3.3 V boards add an LDO such as the HT7333 or MCP1700; for 5 V boards add an MT3608 boost converter. Never run a 3.3 V ESP32 from 4.2 V directly. See lithium batteries for cell choice and safety.

05

What the LEDs mean

RedBlue / greenMeaning
OnOffCharging
OffOnCharge complete, or no battery connected
FlashingOffBattery voltage too low or temperature fault; check the cell
OffOffNo input power
On
Blue / green:
Off
Meaning:
Charging
Off
Blue / green:
On
Meaning:
Charge complete, or no battery connected
Flashing
Blue / green:
Off
Meaning:
Battery voltage too low or temperature fault; check the cell
Off
Blue / green:
Off
Meaning:
No input power
06

Try it: Battery charge time calculator

Change the values and the diagram and results update as you type.

07

Common mistakes to avoid

  • !Taking the load from B+/B- on a protected board, which bypasses the protection.
  • !Charging a small LiPo at the default 1 A.
  • !Charging two cells in series with one module.
  • !Expecting the module to work as a power bank while charging without a load-sharing circuit.
  • !Mounting it without airflow at 1 A; the chip throttles when hot.
08

Frequently asked questions

Can the TP4056 charge a 2S or 3S battery?

No. It charges one 3.7 V cell (or cells in parallel) to 4.2 V. Series packs need a 2S/3S charger and BMS.

Can I use the TP4056 as a power bank?

Only with a boost converter to 5 V and, ideally, a load-sharing circuit. Simpler: use an IP5306 or similar power-bank module that integrates charging, protection and boost.

What is the difference between the TP4056 boards with 1 chip and 3 chips?

The three-chip board adds DW01A protection and FS8205A MOSFETs, which protect the cell from over-discharge and shorts. Always choose that version unless your cell has its own protection.

Why does the blue LED light with no battery connected?

With no cell the charger sees no current and reports 'full'. It is normal.

Can I charge a TP4056 from a 12 V supply?

No. Input must be 4.5 to 5.5 V. Use a 12 V to 5 V buck converter first.

Parts for this guide

  • TP4056 1A Li-ion Charger Module with Protection
    ₹19View
  • 18650 Li-ion Rechargeable Cell
    ₹119View
  • MT3608 Mini Boost Converter Module
    ₹42View
  • 18650 Battery Holder
    ₹29View
Shop Chargers & BMSShop Li-ion Cells & Packs

Calculators

Battery charge time calculatorBattery life calculatormAh to Wh calculator

Terms in this guide

CC/CV chargingConstant-current then constant-voltage charging, the method for lithium cells: charge at fixed current until 4.2 V, then hold 4.2 V while current tapers.C ratingFor batteries, the charge or discharge current relative to capacity. 1C on a 2000 mAh cell is 2 A.BMSBattery management system: a board that protects lithium cells from over-charge, over-discharge and over-current, and may balance cells in a pack.LDOLow-dropout regulator: a linear regulator that works with a small difference between input and output.Load sharingA circuit that powers the load straight from the charger input while the battery charges, so the charger IC is not confused by the load current. The bare TP4056 module lacks it.

Projects that use it

Put this into practice: 65 step-by-step builds in our project library use parts from this guide.

Intermediate · 3 hoursUltrasonic smart caneView projectBeginner · 1 hourDIY 18650 power bankView projectIntermediate · 1–2 hoursSolar-charged 18650 power bankView project
Browse all 65 projects

Keep learning

Component guideBeginnerLi-ion, 18650 and LiPo BatteriesLithium-ion cells, including 18650s and flat LiPo packs, store about 3.6 to 3.7 V nominal, charge to exactly 4.2 V and should not be discharged below about 3.0 V.4 min read · Power & BatteriesComponent guideBeginnerBuck and Boost ConvertersA DC-DC converter changes one DC voltage to another efficiently by switching current through an inductor.4 min read · Power & BatteriesHow-toBeginnerHow to Power an Arduino or ESP32 from BatteriesFor an Arduino Uno or Nano, feed 7 to 12 V into VIN or the barrel jack (6 x AA works well), or regulated 5 V into the 5V pin or USB.4 min read · Power & BatteriesComponent guideBeginnerESP32 GuideThe ESP32 is a low-cost 3.3 V microcontroller from Espressif with built-in Wi-Fi and Bluetooth, used for IoT devices, smart-home controllers and web dashboards.5 min read · Boards & Microcontrollers

Sources

  • TP4056 datasheet (NanJing Top Power ASIC)
  • DW01A datasheet (Fortune Semiconductor)
  • FS8205A dual N-channel MOSFET datasheet

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerPinout: IN, BAT and OUTSetting the charge currentThe load-sharing problem (charging while running)Using the output in a projectWhat the LEDs meanTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide1 item · ₹19

TP4056 1A Li-ion Charger Module with Protection

Ask the Community

Ask a question