Hi, I need help connecting some modules together. I have an esp32s3 based microprocessor that already has a built in lipo/lion charging circuit.
Now, the problem is that I need 5v to power other modules and a stepper so the internal battery circuit is not enough. So my idea was to use a tp4056 module to handle most of the power consumption.
The only module missing is a 5v booster that I'm still waiting to arrive.
My question is: can i plug the out+/- of the tp4056 to the esp32 battery plug. I don't think it's the right thing to do...right? Also, what happens if I plug the USB to the controller? Current will flow IN to the tp4056 where it's suppose to go OUT.
It doesn't sound right! Maybe adding some diode to avoid current flow where is not supposed to go?
So the main question is: How do I handle current to my micros when there's already a battery circuit in it? (but it's not enough?)
It's not a schematic at all. It's a wiring diagram. But it is clearer than your description.
It's not clear to me if your circuit will be safe. If you plug a charger to the tp4056 module in order to charge the 18650 battery, the BAT input of the ESP32 board will receive 5V. It's not clear from the ESP32 product page if that's ok or not.
If I power the module by his type c, the out connections gives me around 4.1V. That should be fine for the esp since it is like having a cell connected.
I guess the real problem is: what happens if I plug the typeC cable to the esp?
The next one are the schematic for the power side of the esp controller