muhammed shameel k.v
Published © GPL3+

How To Use A Relay With Arduino

In this project I am going to guide you through connecting a relay with arduino and as an example blinking a bulb.

BeginnerProtip10 minutes7,234
How To Use A Relay With Arduino

Things used in this project

Hardware components

Relay (generic)
×1
Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Bulb (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

schematics

connect like this

Code

Code

Arduino
code
void setup() {
  // put your setup code here, to run once:
  pinMode(11,OUTPUT);
  

}

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(11,HIGH);
  delay(500);
  digitalWrite(11,LOW);

}

Credits

muhammed shameel k.v

muhammed shameel k.v

0 projects • 6 followers
I am a great at electronics. I have programming knowledge and some projects of my own

Comments