Power supply for ESP32 with 220-240VAC

Hello, and thank you so much for reading this question.

I am a newbie to ESP32, I have an ESP32 working together with the SCT-013, I succeeded in measuring the current and sending it to the database.

However, the problem I am facing is how do I power the ESP32 from 220-240VAC and make it work continuously for a long time, such as 1 year? Please help me to solve this problem, thank you!

Hello myluck_18

Welcome to the worldbest Arduino forum ever.

Try to use a power supply for mobil phones simply.

Have a nice day and enjoy coding in C++.

1 Like

Thanks for your reply @paulpaulson ! Also I have one more question.

If I use 5v adapter will need the built-in regulator on esp32 to convert to 3.3v right? So if I use it for a long time, will the regulator overheat and damage?

Hello myluck_18

Keep in mind the ESP32 isn´t a power supply unit.

Check the power consumption of the hardware that is additionally connected to the ESP32.

Thank you so much!

As far as I understand esp32 works fine with 5V voltage and voltage regulator to 3.3V is to supply other hardware devices connected to esp32. So with a 5V phone charger, ESP32 can work continuously for a long time without any problems, is my thinking correct? Your explanation above helped me a lot!

I´m running a BME280 and ESP32 as weather station connected via BT.

Nope. The ESP32 microcontroller operates at 3.3 volts.

I doubt that someone who asks this would be using a bare ESP32 module.

Yes, you can power an ESP32 development board with a 5volt cellphone charger, connected to the USB socket, for a very long time.
Leo..

@flashko @Wawa Thank you so much!

I agree. However, I assumed that clarification was needed because it also matters when connecting to other peripherals because some operate at 3.3 volts and others at 5 volts.

You are welcome.

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