Arduino IOT Cloud ESP8266 Home Automation System



Hey friends in this tutorial I will show you how to make Simple Home Automation System with Arduino IOT Cloud Platform.

You can control your Home Appliances over the Internet via web Dashboard or the Arduino IoT Cloud Remote Application.

This is a simple project to demonstrate how to use Arduino IoT Cloud Platform.


YouTube Tutorial:-




Order PCB:- https://jlcpcb.com/IYB

Discount Coupon Code:- JLCPCBcom


PCB Gerber File:-

Gerber_HomeAutomationPushButton copy_202
.
Download • 86KB

Materials:-

NODEMCU ESP8266: https://www.flyrobo.in/nodemcu-esp8266-cp2102-wifi-development-board?tracking=5c723900abvrl

4 Ch Relay Module: https://www.flyrobo.in/5v_four_channel_relay_module?tracking=5c723900abvrl

BreadBoard: https://www.flyrobo.in/high_quality_solderless_breadboard_with_430_tie_point_for_arduino?tracking=5c723900abvrl

Jumpers: https://www.flyrobo.in/combo-3-type-jumper-cables-f-f-f-m-m-m?tracking=5c723900abvrl


PCB Components:-

Relay 5V

Push Button (Tactile Button)

330 ohm resistor

1N4007 Diode

LED

BC547 / 2N2222 Transistor

Block Terminal Connector

PCB Header

5V Power Adapter



Arduino IoT Cloud:- https://create.arduino.cc/iot

Code will be auto generated


Other Code Changes to define Relay pin and Trigger Relay:

void setup()
{
    pinMode(D0,OUTPUT);
    pinMode(D1,OUTPUT);
    pinMode(D2,OUTPUT);
}

void onSwitch1Change()
{
    if (switch1)
    {
        digitalWrite(D0,HIGH);
    }
    else
    {
        digitalWrite(D0,LOW);
    }
}

void onSwitch2Change()
{
    if (switch2)
    {
        digitalWrite(D1,HIGH);
    }
    else
    {
        digitalWrite(D1,LOW);
    }
}

void onSwitch3Change()
{
    if (switch3)
    {
        digitalWrite(D2,HIGH);
    }
    else
    {
        digitalWrite(D2,LOW);
    }
}




Circuit:-