Skip to content
buildcoolhardware

Power

LiPo charger

Charges a single-cell LiPo from USB at 100 mA, with a charge LED and a battery connector.

Under reviewVersion 0.1.0lipo-charger-mcp73831
  • Power in1
  • Power out1
  • Ground1
Add to Claude

Pins

Every pin is typed, so the checker can refuse a wrong connection before a board is built.

PinTypeVoltageWhat it does
vinPower in4.5–6 VCharger input from USB or another 5 V source. The datasheet recommends VREG + 0.3 V to 6 V (4.5 to 6 V for 4.20 V cells).
batPower out3–4.232 VBattery node, 4.168 to 4.232 V at the end of charge. The lower bound is a typical protected-cell cut-off, set by the cell, not by the charger.
gndGround–Board ground (implicitly the common GND plane).

Schematic symbol

Drawn from the block's typed pins. Inputs enter on the left, outputs and signals leave on the right.

lipo-charger-mcp73831lipo-charger-mcp73831vinbatgnd

Use it in Claude

Paste this into a chat with the buildcoolhardware connector.

Add the "LiPo charger" block (lipo-charger-mcp73831) to my board, connect it to the other blocks and run the checks.
Add to Claude

Parts

Real parts, each with its LCSC number.

RefPartLCSCQty
U1

MCP73831T-2ACI/OT, 4.20 V, 10 % precondition, 7.5 % termination, SOT-23-5.

charger

Alternates: C14879

C4240931
C1

10 uF 0603 ceramic on VDD (datasheet minimum 4.7 uF).

input-cap

C197021
C2

10 uF 0603 ceramic on VBAT (datasheet minimum 4.7 uF, for loop stability with the battery disconnected).

battery-cap

C197021
R1

10 kOhm 0603 from PROG to GND; sets 100 mA fast-charge current. Floating PROG disables the charger.

prog

C258041
R2

470 Ohm 0603 in series with the status LED, from VDD.

status-led-resistor

C231791
D1

Red 0603 LED from VDD through R2 to STAT; lit while charging.

status-led

C22861
J1

JST S2B-PH-SM4-TB, 2-pin PH 2.0 mm SMD side-entry battery connector.

battery-connector

C2957471

Where it comes from

This block follows the datasheet, but a second person has not checked it yet.

Source
Microchip MCP73831/2 data sheet DS20001984H (typical application circuit, section 5.1.2 charge-current equation, 6.1.1.4 external capacitors, table 5-1 status output).
Verification
Datasheet reviewed