Published On Dec 18, 2019
ESP32 Project (schematics + source code) ► https://RandomNerdTutorials.com/esp32...
ESP8266 Project (schematics + source code) ► https://RandomNerdTutorials.com/esp82...
Using a relay with the ESP32 is a great way to control AC household appliances remotely. This tutorial explains how to control a relay module with the ESP32. We'll take a look at how a relay module works, how to connect the relay to the ESP32 and build a web server to control a relay remotely (or as many relays as you want).
SAFETY WARNING: in this example, we’re dealing with mains voltage. Misuse can result in serious injuries. If you’re not familiar with mains voltage ask someone who is to help you out. While programming the ESP or wiring your circuit make sure everything is disconnected from mains voltage.
Like my page on Facebook:
/ randomnerdtutorials
Follow me on twitter:
/ ruisantosdotme
Subscribe for more projects like this!
http://bit.ly/subscribeRNT