IOT WiFi ESP8266 ON-OFF Relay
This is a simple Home Automation project using the DIY micro-controller (ESP8266) with firmware developed over arduino. This setup can be used to control any relay from any web browser using the wireless network.
Alternately, the RF uses the 433MHz Receiver in case the WiFi is not available.
All the components are avalable in the local electronics market or over Amazon online store. Please make necessary changes in the code based on the board you use.
DigitalPinData PIN_DATA[] = {
{ "[BTN_IOT_0]", 16, CONST_WIFI_IOT_OFF, FALSE },
{ "[BTN_IOT_1]", 5, CONST_WIFI_IOT_OFF, TRUE },
{ "[BTN_IOT_2]", 4, CONST_WIFI_IOT_OFF, TRUE },
{ "[BTN_IOT_3]", 0, CONST_WIFI_IOT_OFF, TRUE },
{ "[BTN_IOT_4]", 2, CONST_WIFI_IOT_OFF, TRUE },
{ "[BTN_IOT_5]", 14, CONST_WIFI_IOT_OFF, FALSE },
{ "[BTN_IOT_6]", 12, CONST_WIFI_IOT_OFF, FALSE },
{ "[BTN_IOT_7]", 13, CONST_WIFI_IOT_OFF, FALSE },
{ "[BTN_IOT_8]", 15, CONST_WIFI_IOT_OFF, FALSE },
{ "[BTN_IOT_9]", 3, CONST_WIFI_IOT_OFF, FALSE }
};