ESP32-DevKitC-VIE (v4) Board 5V Safety

i have ESP32-DevKitC-VIE board, i wanna control 19V 4.47A with that board. i have 5V relay module(without optocuplor) (https://i.stack.imgur.com/zrB3k.png) and i have Dual MOSFET Driver Module PWM 15A 400W (https://i.stack.imgur.com/Tf2Im.jpg)

which one is safe to use with ESP32-DevKitC-VIE board to control the above-mentioned voltage and current, and why?

i know that board have 5V pin but i dont know if i connect my realy module to that pin, current demand gonna destroy my board or not! i have concerns about using mosfet module cuz there is no isolation! and if i use some noisy stuff with mosfet module i am afraid that voltage spikes gonna destroy my board!

I would go for the relay module, it looks to have a fly-back diode. About the 5v pin, it just depends where you get the 5v source from. The ESP-devkit can be powered with 5v (or even some more) to provide the MCU with 3.3v through an onboard regulator, the question that is left is whether the 3.3v logic level will be enough to open the transistor on the relay module to open enough to allow sufficient current through the relay. Otherwise you may need to add some parts to actually control the 'in' pin of the module with 5v.

Main thing is still where are you getting the 5v from, you should provide about 500mA to the board and the module, so USB should be ok, but not very practical. Please do verify there is a fly-back diode.

1 Like

yes, i looked at the schematics, and it has a flyback diode!
is there any way that I can destroy my dev board by connecting the relay module, for example by drawing more current than my board can handle? :sneezing_face:

The 5V pin is for supplying power TO the ESP.
It's an input NOT an output

1 Like

if you connect it correctly, then not. Again the question is where are you getting the 5v from ? the 'in' pin is connected to a transistor (as far as i can see) almost certainly through a resistor which should limit the current of the GPIO pin that you intend to use to control it sufficiently.

1 Like

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