RELAY - High Power Appliance Control - Arduino - Home Automation

Опубликовано: 21 Октябрь 2024
на канале: RoboMech
422
14

WARNING : - This project deals with High AC voltage, so it can be hazardous to life, check your circuits twice. Load Circuit must be PROPERLY isolated from the control circuit.

This video is all about the use of relay to switch High Voltage AC circuit using 5 V input signal from Micro controller.in this video we will be switching a 9W, 220 V (AC) Lamp - ON/OFF. but the concept can be extended to switch various Home appliances like Refrigerator, AC etc.

Arduino Code :-

void setup()
{
pinMode(9,OUTPUT);
}

void loop()
{
digitalWrite(9,HIGH);
delay(1000);

digitalWrite(9,LOW);
delay(200);
}