Powering Esp 32 throug LiPo battery

Greetings,
I'm building a custom PCB, which mounts an ESP32 development board, by AZ Delivery.
The PCB should be powered through a LiPo battery.
As reported here, the 5V pin can be used also to power the board itself, when the input is between 5V and 12V.

Having said that I'm not an engineer but only an electronic beginner, I designed the PCB in attachment: here the LiPo battery (3.7V) is connected to a Pololu Step-Up switcher, which increases the voltage from 3.7 to 5V; then, the 5V OUTPUT pin of the switcher is connected to the ESP32 5V pin, to power it.

Now, the possible problem I see in this circuit, is when I connect the ESP32 to the USB cable, to upload some sketch: in this case I would expect that the 5V pin on ESP32 will have 2 powers: one in input (from the switcher OUTPUT pin) the other in output (feeded by the USB cable).

In my previous works with ARDUINO I solved the problem putting a Skotchy diode between the ESP32 5V pin and the switcher OUT pin, to prevent the reverse current to reach (and possibly damage) the switcher and the Lipo.
This solution worked for me (and ARDUINO boards), but I do not know if I was simply lucky.

Please, can you confirm this simple schema works properly? Do you have some advice about this?

Note that the LiPo must be connected to the circuit, as several components (not in the schema) are powered by this, and I need the USB cable connected for debug reasons.

Thanks a lot,
Valerio

Yea, send the LiPo output to a 3.3V low drop out regulator and use 3.3V to power the ESP32.

If you'd take at a ESP32 developer board schematic you'd find that the circuit is already built in to handle the power from a separate power device and the plugin of the USB to program the thing.

Thanks a lot.
Do you know if the ESP32 5V pin is also endowed with this built in circuit?
I ask this because it would be better for my sketch to manage everything with 5V.

Or I need to use necessarily the 3.3v pin to power the ESP 32?

Last question: if the 5V pin is also ok, is the skotchy diode useless?

Thanks again,
Valerio

Find the schematic of your developer board to answer those questions.

Here is a ESP32 developer board schematic:

that will answer those questions.

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