Hi, welcome to Robojax. in this video I'm going to introduce the 5 volts
single channel relay for Arduino. so let's get started. this is the 5 volt one
channel really so the job of the relay is that a small current that can turn a
switch on and this switch can be connected to connect or disconnect a
source so this would this relay is a switch that has a magnetic coil so when
the current comes here that turns there's a transistor small transistor
that magnetizes the coil and a switch connects so when the switch connects one
of these connections will be connected and will be disconnected now I have here
my multimeters will make bus when I connect it so there are three
connections if you look here so we have NC we have
COM common and NO, Normally Open. so NC is here connected to
the common when the switch gets on so this comes down meaning this will be
connected here so when it's on normally this is the way it is connected so NC to
the common common is the middle one so I'm putting this with a you see it makes
buzz so this is normally connected and the other one is not connected so this
will be on when you can turn it on with some sorts of signals. there is three pins here it
works with five volts on the right side here is a VCC so you connect this to
there five volts of Arduino board and then we have ground so the ground and
this is the input so the input will be connected to a source of signal that
receives the signal and will turn on. so let me just show you an example of how
this works as you can see the power is on for the relay I connected it to five
volts and ground food off the side is the the
side of the five volts VCC and then the middle one is a ground
so I connected it to ground or GND which is ground and the last one is the
input. let me connect an input here now let's look at my sketches for Arduino I
put pin 8 for relay and this is the output here we have set it at LOW and
then let me connect pin 8 and then just load the code
so when this is LOW that LED is on so that relay is on I put it on so I can
show you the buzzing of the multimeter that I have here
okay so again my multimeter is in buzz mode so now let me connect the last one
the pin here. you see this is now on if I connect any bulb any external power mode
or whatever this will turn it on it's a little interesting I can do the same
line after five hundred millisecond delay I can make it HIGH so it waits
keeps it LOW wait for 500 millisecond and then keep
it HIGH and then make it 500 millisecond now run the code and you will see if we
have half a second it should go on and off so if I correct my buzz if I
connected here you will see the same thing because it's being connected and
disconnected thank you very much the link for the
code that we use for this project of 5 volt single channel relay is in the
description at our website www.robojax.com/learn/arduino
you