How to power ESP32 devkitc v4 module from regulated 5v?

susdev
Posts: 1
Joined: Mon Dec 05, 2022 2:04 pm

How to power ESP32 devkitc v4 module from regulated 5v?

Postby susdev » Mon Dec 05, 2022 2:35 pm

I have lipo battery connected to tp4056 (with protection) and its connected to 5v output boost module. How can I connect it to the board? And then can I have a usb connected to the board without burning the module?
Attachments
zagadka.png
zagadka.png (521.29 KiB) Viewed 1774 times

rsimpsonbusa
Posts: 131
Joined: Tue May 17, 2016 8:12 pm

Re: How to power ESP32 devkitc v4 module from regulated 5v?

Postby rsimpsonbusa » Wed Dec 07, 2022 2:31 am

From boost converter (u really don't need it but anyway...) + to ESP32-wroom 5v pin (from photo bottom left pin) and from boot - to GND (ANY OF THEM).

Can connect a USB to the ESP32 WROOM directly (with this connection in place, no need to disconnect) and flash any firmware you want, then disconnect the USB and if the battery is full and it will work.

Can also connect a USB to the TP4056 for charging WHILE it feeds the ESP32.

You really don't need the Boost since the TP4056 will output 3.7v and you have a 1000mah (milli amps hour) battery which will allow the ESP32 to work for a good while (depending on what u are doing etc) before recharging. In this configuration just connect the OUT+ to 3.3v (top left) and OUT- to any GND pin.

But u will need a USB connection to load any firmware and later disconnect it and let the battery feed the ESP32.

Enjoy.

ESP_Sprite
Posts: 9769
Joined: Thu Nov 26, 2015 4:08 am

Re: How to power ESP32 devkitc v4 module from regulated 5v?

Postby ESP_Sprite » Wed Dec 07, 2022 3:08 am

rsimpsonbusa wrote:
Wed Dec 07, 2022 2:31 am
Can also connect a USB to the TP4056 for charging WHILE it feeds the ESP32.
Note that that is bad practice as the extra load means the TP4056 doesn't know when to stop charging. You can work around that with a simple circuit, though: https://ww1.microchip.com/downloads/en/ ... 01149c.pdf

Who is online

Users browsing this forum: No registered users and 139 guests