// power
TP4056 LiPo Charger
Single-cell Li-Ion / LiPo charge module (USB)
€0.50
avg eur
no image
Pins
6
Specs
4
Libraries
1
Protocols
0
// wiring → esp32 devkit v1
3V3
EN
GPIO36
VP
GPIO39
VN
GPIO34
GPIO35
GPIO32
GPIO33
GPIO25
GPIO26
GPIO27
GPIO14
GPIO12
IN-
GND
GPIO13
ESP32
WROOM-32
devkit v1
USB
VIN
5V
IN+
GND
GPIO23
GPIO22
SCL
GPIO1
TX0
GPIO3
RX0
GPIO21
SDA
GPIO19
MISO
GPIO18
SCK
GPIO5
SS
GPIO17
TX2
GPIO16
RX2
GPIO4
GPIO2
GPIO15
sensor pin (left)
sensor pin (right)
unused
// pinout → esp32
| Sensor Pin | ESP32 Connection |
|---|---|
| IN+ | 5V (USB) |
| IN- | GND |
| B+ | battery + |
| B- | battery − |
| OUT+ | load + |
| OUT- | load − |
// technical specs
Charge current
1A (set by Rprog)
Input
5V (microUSB / USB-C / pads)
Output
4.2V cut-off
Protection
only on '+protection' variants
// github libraries
// notes & warnings
Two variants: bare TP4056 (NO protection — battery can over-discharge and die) vs TP4056+DW01 (with protection — always buy this one). Default 1A charge can be lowered by changing R3 (Rprog).
// related sensors · power