Hii, Is it possible to use the ESP32 VIN pin as a 5V output to power a 5V 2-channel relay for example?
And if it’s possible, is it safe?
In my design, before I use a 5V power source to power the ESP32 and the relay, I want to try out powering both the ESP32 and the relay with the USB port. I know that the ESP32 don’t have a 5V output pin as Arduino does, but I saw some projects using the VIN pin to power a 5V relay, but some other design used different power sources, one 5V for the relay and a USB power source for the ESP32.
So, is it possible or indeed safe to use the VIN pin as a power output?
Suggest you find the circuit diagram for your board, it'll show how the 5V pin is connected to the USB input or you can try to measure the resistance between the 5V pin and USB 5V in with an ohm meter. Still, it all depends on your USB power force and how much you can draw from the 5V pin, If directRead more
Suggest you find the circuit diagram for your board, it’ll show how the 5V pin is connected to the USB input or you can try to measure the resistance between the 5V pin and USB 5V in with an ohm meter.
See lessStill, it all depends on your USB power force and how much you can draw from the 5V pin, If direct connected and/ or there are zero ohms.