top of page

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.





Discount Coupon Code:- JLCPCBcom


PCB Gerber File:-


Materials:-


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:-





Comments


bottom of page