Component guide · Intermediate · 3 min read
MCP73831 Li-ion Charger IC (SOT-23-5)

Circuit, PROG Resistor and Layout
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The MCP73831 is a tiny linear charger IC for a single Li-ion or LiPo cell, used on many development boards. One resistor on the PROG pin sets charge current up to 500 mA, and the STAT pin drives a charge LED. It needs only two capacitors, so it is ideal for custom PCBs with USB charging.
Key specs at a glance
- Package
- SOT-23-5
- Input
- 3.75 to 6 V
- Charge voltage
- 4.2 V (MCP73831-2)
- Current
- 15 to 500 mA, I = 1000 / R_PROG
- Status
- STAT pin (tri-state)
- Thermal
- Regulation reduces current when hot
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.
What the MCP73831 charger IC is
The Microchip MCP73831 is a tiny single-cell Li-ion and LiPo charger IC that charges at up to 500 mA from USB 5 V, used on many dev boards and wearables.
R_PROG of 2k gives 500 mA, 10k gives 100 mA. Pick about 0.5C of your cell.
Being linear, it gets warm at 500 mA from 5 V; add copper area for heat.
MCP73831 charger IC pinout
The pins on the MCP73831 charger IC and what each one does.
| Pin | Function |
|---|---|
| 1 STAT | Charge status |
| 2 VSS | Ground |
| 3 VBAT | Battery |
| 4 VDD | Input 5 V |
| 5 PROG | Current set resistor |
- 1 STAT
- Charge status
- 2 VSS
- Ground
- 3 VBAT
- Battery
- 4 VDD
- Input 5 V
- 5 PROG
- Current set resistor
Wiring the MCP73831 charger IC
Connect the MCP73831 charger IC like this.
| MCP73831 charger IC pin | 500 mA | 100 mA |
|---|---|---|
| VDD | USB 5 V with 4.7 uF | Same |
| VBAT | Cell + with 4.7 uF | Same |
| PROG | 2k to GND (500 mA) | 10k to GND (100 mA) |
| STAT | LED + 470 ohm to VDD | Same |
- VDD
- 500 mA:
- USB 5 V with 4.7 uF
- 100 mA:
- Same
- VBAT
- 500 mA:
- Cell + with 4.7 uF
- 100 mA:
- Same
- PROG
- 500 mA:
- 2k to GND (500 mA)
- 100 mA:
- 10k to GND (100 mA)
- STAT
- 500 mA:
- LED + 470 ohm to VDD
- 100 mA:
- Same
Example code
A minimal sketch to check the part works.
I_charge (mA) = 1000 / R_PROG (kohm)
2k -> 500 mA, 4.7k -> 213 mA, 10k -> 100 mASetup and tuning
set it with the PROG resistor: current in mA is about 1000 divided by the resistance in kΩ (2 kΩ gives 500 mA).
feed 3.75 to 6 V, usually USB 5 V, with a 4.7 µF capacitor.
use only one Li-ion or LiPo cell; pick the 4.2 V version for standard cells.
the STAT pin drives an LED that shows charging and done.
at 500 mA the chip warms; give it copper area on the PCB.
What you need
Shop this list3 of 3 found in our store · ₹11,95,301
Battery Charger and Protection IC: the part this guide coversDuracell 4 Hours Battery Charger₹1,243Closest match, check the specs
18650 Li-ion rechargeable cell: the cell to charge or protect18650 Li-ion Rechargeable Cell₹119Closest match, check the specs
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
Alternatives and when to choose them
- TP4056 charger: module, 1 A.
- 1S protection board.
Common mistakes to avoid
- Setting a charge current too high for a small cell.
- Using it for two cells in series.
- Expecting over-discharge protection.
- Leaving no copper for cooling.
Frequently asked questions
How do I set the MCP73831 charge current?
Choose the PROG resistor: 2 kΩ gives about 500 mA, 10 kΩ about 100 mA.
What charge current suits a small LiPo?
About 0.5 C to 1 C, so a 200 mAh cell should charge at 100 to 200 mA.
Can it charge two cells in series?
No. It is for one Li-ion or LiPo cell only.
Why does the chip get hot?
High current with a big drop from 5 V to the cell voltage turns into heat.
Does the MCP73831 protect the battery from over-discharge?
No. Use a protected cell or a protection IC for that.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
