Using 5V 1 channel relay module for Arduino



This video shows you how to use 5V relay module for Arduino.
First the 5V 1 channel relay is explained and tested. Then from the Arduino software the relay is turned ON and OFF to demonstrate how it work and buzzer is tested.
Watch the latest video for this 5V relay with wiring diagram:

Get this 360 Amazing Rotating Dashcam :

**** Free Course ****
Arduino Step by Step Course (over 100 lectures) Starts here

**** Purchase SunFounder Arduino Learning kit from Affiliated Stores ***
Amazon USA:
Amazon Canada:
Amazon Germany :
Amazon UK:
Amazon France:
Amazon Spain:
Amazon Italy:
Amazon Japan:
SunFounder website:
eBay:
AliExpress:
Banggood: or UNO board

Subscribe To my channel now

*** Purchase this 5V relay module from Affiliated stores ***
Amazon USA:
Amazon Canada:
Banggood:
AliExpress:
eBay:

The best thank you for me is to not skip ads and Subscribe 🔔 to my channel, like 👍 the video and do not skip the ads.. It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber’s 🔔 questions. So make sure to Subscribe.😊 .

Download Arduino code for this video:

*******Purchase items used in video ******
Relay
from Amazon USA:
from Amazon Canada:
Banggood:
AliExpress:

****** Purchase Authentic Arduino Uno from ****
Amazon USA:
Amazon Canada:

Tutorial by Ahmad Shamshiri form Canada
****************************
Arduino Step by Step Course (over 100 lectures) Starts here
Learn Arduino in 30 Minutes (video):
****************************
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link

If you want to learn Arduino from proven instructor on **Udemy**:
Follow me on Facebook
Follow me on Twitter:
Follow me on Instagram:

Tutorial by Robojax.com
Get other projects code and learn Arduino

#robojax #robojaxRelay

Camiseta de México Barata y Replica 2019 vente de maillots de football de haute qualité de 100 %, nous vendons les derniers maillots de football pas cher. Maillots de football pour achat en ligne

47 comentarios

  1. Thanks for sharing as I was scratching my head getting it to work. I was writing the Arduino code to write the pin as "high" instead of "low". Worked great after that!

  2. Thank you for this video. I am wanting to turn a 5v DC pump on every 24 hours for a few minutes, what is the delay I can programme on a Mega 2560. Thanks

  3. Why my motor still works when I connected to NO? Does the relay works when the circuit have no electricity? I mean, I use 2 sources, from USB and from 9v battery, the relay doesn't light up if the electric from USB not connected and the board is not online, but the motor still works as it use the battery source

  4. Hi there, thanks for this video but i couldn't find a answer. I want my 12 fan go on when raspberry pi is turned on. So using the USB port as a trigger. Using just 5v and ground from USB. Is it possible?

  5. I got two of these for an Arduino project. They work okay, but there are no mounting holes! Anybody have any suggestions on how to mount them in a plastic project box enclosure along with other active electronics components?

  6. Outstanding video. I loved the code split screen. Very good explanations, too! The reason I clicked is because it is the shortest video on arduino relays. It's taken me longer to thank you, than to watch and understand your video. Amazing! Thanks again.

  7. Hey Robojax, I wrote the code you have on Arduino

    int touchPin = 2;

    int val = 0;

    int relayPin = 8;

    void setup() {

    pinMode(relayPin OUTPUT);

    }

    void loop() {

    digitalWrite(relayPin, LOW);

    delay(500);

    digitalWrite(relayPin, High);

    delay(500)

    }

    …and the arduino gave an error saying "too few arguments to function 'void pinMode(uint8_t, uint8_t)"

    what do you think is wrong I've followed everything you video have mentioned..please help Robojax. Much appreciated and thank you.

Los comentarios están cerrados.