How to connect lipo battery to esp32 d1 mini?

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.

Any help is appreciated!

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?

Powering with 3.3V is simpler as it only uses an IC and a capacitor.
For battery protection I use the DW01 and 8205A set.

I think I found some similar modules that would work. They have an integrated step up converter.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.