We will learn how to configure a wireless WiFi relay with the ESP8266 ESP01 or ESP01S module to control the switching on of a light bulb.
To buy the ESP8266 Smart Relay on Amazon, click here on the link: https://amzn.to/3x1CBHx
Link to download the latest version of the Arduino IDE Development environment
https://www.arduino.cc/en/software
Link to download Wiring diagram:
https://drive.google.com/file/d/1lW9LGDPKc-AhUqFRjnRIjtovPqdvbSxO/view?usp=sharing
Link to download ESPrelay wifi relay code for Arduino IDE:
https://github.com/DmitriyParshukov/ESPRelay/blob/main/ESPRelay.ino
Remember to configure the parameters associated with your Wi-Fi wireless network in this code.
WIFI_SSID = "my SSID";
WIFI_Password = "my password";
Relay_Password = "123";
relay_PIN = 0;