How can I power the ESP32 with 5V?

Hey i'm new to arduino and i have a probably stupid question. I am wondering how can I power the FireBeetle ESP32-E (https://www.dfrobot.com/product-2195.html). I need it to be able to power the Gravity PWM Infrared Carbon Dioxide Sensor (https://www.dfrobot.com/product-1549.html) which needs 5V.
Could it be done via batteries or the only option is a usb c cable?

Thank you very much

you can use usb cable or can give 5v via battery to vcc pin of your given board accordingly.

Isn't that a battery connector there?

Yea, but this connector only supports 3.5V-4.2V.

Thanks for the advice, the only mention of the VCC pin on Wiki is: "When powered by 5V-USB, VCC outputs about 4.7V and 3V3 outputs 3.3V; When powered by 4V li-ion battery, VCC outputs about 4V and 3V3 outputs 3.3V(Actual measurement) ", so I don't know if it will give 5V.

Get the boost converter.
Wire the battery to the boost and the ESP (batt in).
Run the 5V gizmo from the boost's output.

Power the sensors and the ESP32 from any 5V source, including a 5V boost converter. The 5V source must be capable of supplying several hundred mA.

It is safe to apply 5V to the ESP32 Vcc pin. Just make sure that no other ESP32 pin is exposed to a voltage over 3.3V.

Ok, thank you for advice

Thank you for advice

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