Page 1 of 1

3V relay Control Direct from ESP32 GPIO

Posted: Tue May 05, 2020 11:55 pm
by jahanzaibi
Can we trigger the relay from the ESP32 GPIO , the relay is directly connected with the board and its not a Relay Module.
its a 3V songle relay., looks like the amp coming from the gpio is not enough to trigger the relay.

Regards

Re: 3V relay Control Direct from ESP32 GPIO

Posted: Wed May 06, 2020 6:28 am
by ESP_Sprite
In general, that's a very bad idea as back-EMF of the relay coil can kill the ESP32. Suggest you use a transistor/mosfet to turn it on, as well as a flyback diode for back-EMF protection.