ArduinoA
Arduino8mo ago
5 replies
Enodiá

Power supply for ESP32 and hardware

Hello dear community,

I am currently working on a project that I would like to present later in the showcase. However, I am currently failing due to my lack of experience in the area of power supply.

Short version: I have an ESP32, a WS2812b ring with 16 LEDs, an HC-SR04 and possibly a vibration module. The whole thing comes in a housing with a USB-C socket as a connection - basically a lamp for an art project. According to my calculations, the power requirement at full load would be at least 1.4 A.

The power comes from a USB-C power supply with 5 V and 2 A. The problem with this setup is: I don't think I can run it all from the 5V pin.

So I'm wondering: How do others do it? Should I try to build a power supply now? Or can I simply set a charging module with USB-C to 5 V and solder the connections to a circuit board to supply everything from there? And what do I do with the prototype if I also need to use a USB port on the ESP to debug or update the firmware?

I hope I have described the whole thing clearly with all the necessary information and would be happy to discuss this topic with you here.
Was this page helpful?