Die Anfrage
“A USB-powered single-cell Li-ion charger with an MCP73831: 10 µF capacitors on the input and on the battery, a 2k resistor on PROG to set the charge current, and a status LED through 330 Ω.”
Dann probieren SieAdd a load switch between the battery and the ESP32Show the charge current the 2k resistor sets
Was diese Zeichnung zeigt
Die dahinterstehenden Entscheidungen verstehen.
01
MCP73831 selected for its simple, low-cost single-cell charging with programmable current and status output.
02
Charge current set to about 500mA via 2kΩ PROG resistor.
03
Status LED driven from open-drain STAT pin to indicate charging state.
Reusable for any low-power ESP32 or IoT device needing Li-ion battery charging from a USB source.