I have an esp32 d1 mini board, a tp4056 module, and a 3.7v lipo battery. What's the best way to connect this so that the battery is powering the board?
I was going to follow a circuit like this:
But it seems that the tutorial is for actually just reading the voltage and not powering the board.
Yes, this circuit is really just for measuring the battery voltage.
To power the D1 mini, you need either 5V or 3.3V.
To obtain 5V from the 4.2V output of the TP4056 module, you can use a Step Up module.
Or to get 3.3V from 4.2V from the TP4056 module output.
You need a voltage regulator that can work with 4.2V input.
I recommend the AP2112. it supports up to 600mA.
Thank you for the info. Do you know if there are advantages or disadvantages to powering it with 5v vs 3.3v? Also do you know of any charging protection modules that include a stepdown or stepup converter?