I have a small circuit which turns a 220VAC 85W pump on/off using a 5VDC relay module and Arduino. I decided to replace the Arduino with an ESP32 to get wifi capabilities but didn't realised that the ESP32 didn't support 5V!
After some research, the opinion was mixed - some say that a 5V relay won't work with the 3.3V from the ESP32 and you need a logic level shifter to up the voltage, and some tutorials directly connects the relay module to a GPIO pin on the ESP32 (and it seems to work).
What I'm worried about is that these tutorials don't consider the long term damage that connecting a 5V relay to a 3.3V ESP32 would have on the board.
Am I wrong to think so? What would be the simplest way for me to operate a 5VDC relay module with an ESP32?
- Have to use ESP32
- Have to use a 4-channel 5VDC relay module