Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the chaty domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u821671540/domains/spectruminfotech.in/public_html/wp-includes/functions.php on line 6121
Interfacing Relay with Arduino Uno Program with Component Connection - Spectrum InfoTech

Interfacing Relay with Arduino Uno Program with Component Connection

Objective:

         To Control (ON/ OFF) the devices connected in the AC supplies (230 V)

Components Required

  • Arduino Uno
  • Relay Module

  Connection Diagram

Program

int RelayPin=13;

void setup()

{

pinMode(RelayPin, OUTPUT);

}

void loop()

{

digitalWrite(RelayPin, HIGH);

delay(1000);

digitalWrite(RelayPin, LOW);

delay(1000);

}

Working

         The Relay operates as Electrical Controlled switch. It has input side and output side. The input side works in 0-5V DC that can be controlled by the Arduino and the Output works in very high voltages. When we supply HIGH to the input side of relay the switch in the output side closes and the appliance gets ON. Similarly, when we supply LOW to the input side of relay the switch in the output side opens and the appliance gets OFF.

Output

The Device in the output side ON (for HIGH input)

The Device in the output side OFF (for LOW input)

LDR sensor Interfacing with Arduino Uno Program with Component Connection
Interfacing LCD with Arduino Uno Program with Component Connection

Leave a Reply

Your email address will not be published. Required fields are marked *

Navigation

My Cart

Close
Viewed

Recently Viewed

Close

Great to see you here !

Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our privacy policy.

Already got an account?

Quickview

Close

Categories