MicroUSB Li Ion Battery Charger (TP4056) with Protection - RobotDynOfficial/Documentation GitHub Wiki
The Micro-USB Li-Ion Battery Charger is a complete constant current/constant-voltage linear charger for single cell Lithium-Ion/Lithium-Polymer (LiIon/LiPo) batteries. This module is based on TP4056 IC. It is ideally suited for portable applications. The Li-Ion Battery Charger can work within a USB or wall/5V adapter. Other features include current monitor, under voltage lockout, automatic recharge, two status LEDs to indicate charge termination and the presence of an input voltage and also 2 digital pins, "CHG" and "STB" that you can use to monitor the charging process with a microcontroller.
Power is supplied to Micro-USB socket OR to inputs IN+/GND. Li-ion battery can be connected to XH power socket (XH cable included) or outputs BAT+/BAT-. "Charging" and "Standby" LEDs display the charger working mode.
Connect "CHG" and "STB" to available digital pins of a microcontroller to monitor the charging process with it.