3V relay Control Direct from ESP32 GPIO

jahanzaibi
Posts: 2
Joined: Tue Apr 28, 2020 11:49 am

3V relay Control Direct from ESP32 GPIO

Postby jahanzaibi » Tue May 05, 2020 11:55 pm

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

ESP_Sprite
Posts: 9769
Joined: Thu Nov 26, 2015 4:08 am

Re: 3V relay Control Direct from ESP32 GPIO

Postby ESP_Sprite » Wed May 06, 2020 6:28 am

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.

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot], vritzka and 88 guests