I’m actually working on a project based on ESP32. I would to know which pins of the esp32 do i use to connect a battery on, and what type of battery is suitable.
Thanks for your assistance.
You can power the ESP32 through the 3V3 pin or through the Vin pin.
Rechargeable Li-ion batteries are a good option. Like this ones: https://makeradvisor.com/tools/rechargeable-li-ion-batteries/
These batteries output approximately 4.2V when fully charged. You can add a voltage regulator circuit to power the ESP32 through the 3.3V pin. You can use the same voltage regulator circuit we use in this project: https://randomnerdtutorials.com/esp8266-voltage-regulator-lipo-and-li-ion-batteries/ (the project is for the ESP8266, but the circuit works fine for the ESP32 too).
So, you need these components for the circuit:
I hope this helps.
Let me know if you have further questions.