I'm working on an MP3 player PCB based on an ESP32. I would like it to run on a battery.
I have looked for a TP4056 with protection schematics on OSHWLab. This is my schematic:
Do I need the blue wire if I want it to work with or without USB connection? Is this connection safe for the battery with the D4 diode?
I found a schematic where the connections OD->G1 and OC->G2 are switched. What is the correct connection?
EDIT : Based on Antonio Answer, the OD OC connection are good on mine schematic. What about the blue connection usefullness and security for battery ?
EDIT : If I change the D4 diode for a P-channel mosfet, do I use this schematic reversing the mosfet (mirror on X axe) ?
Is this new LDO good ? XC6210B332MR Vin min : 1.5V Vin max : 6V Vout : 3.3 V