HOW TO INTERFACE 5V 4 CHANNEL RELAY MODULE WITH ARDUINO

preview_player
Показать описание
Learn how to interface a 5V relay module with Arduino using leds.

Check out other tutorials involving the use of relay modules:

===========================================================
Recommended components for this DIY
===========================================================
i). 4 Channel DC 5V Relay Module with Optocoupler for Arduino -
ii) .UNO R3 Board ATmega328P ATMEGA16U2 with USB Cable for Arduino -

For full codes visit this link;

DISCLAIMER: This video description contains affiliate links, which means that if you use one of the product links, I’ll receive a small commission. This helps to support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

Have the same relay and thought it wasn't working but just didn't realize that it's triggered on LOW. Thanks for the help!

SmithOffGrid
Автор

This video is extremely well done, you explained it well, demonstrated it with a nice simple demo, and pointed out that it fires on Low and showed a great technique for that. I really appreciate the work you put into this, and wish I'd watched it before fighting with the relay for 2 hours last night (I was assuming high triggered it and thought I had a signal issue...ugh). Subscribed and will check out the rest of your videos!

geektoolkit
Автор

Thanks Bro. Thought my module was shot. Great video, well explained. My project is working like a dream.

GigDave
Автор

This was a good demonstration and was helpful to me. This made it clearer than many other videos I have watched. Thank you for posting this!

dwyn
Автор

Can someone help me? I need to control 4 relay with a 4 axys joystick. On position 1 of the joystick, 3 relay need to be on. On position 2, 2 relay need to be on. On position 3, 2 relay beed to be on. On position 4, one relay need to be on. Those relay will control some hydrolic valve...

ericlessard
Автор

This is fantastic. Great explanation of exactly what I was looking for

rjsiii
Автор

What resistance did you use in your video? Thanks!!!

tommicava
Автор

This really helped me with my project! Thanks!

skavelsruhe
Автор

I can't get the code to work. Why I try to upload it immediately flags the second line and says "'relay' does not name a type; did you mean 'delay'?"

unclerichard
Автор

Hi nice work I want the led to light up one by one and then inplace of turning off I want it to remain on . What to do plz help

ahadshaikh
Автор

Good day. I was trying the code you wrote but i cant get it to work. I get stuck on the second line.

mahlonkarpaiya
Автор

the resistors which are used here are they of 1kOhm?

sadiapunni
Автор

Hi, I have made a similar project with the same relays board. When I power up the Arduino the 4 relays go on and off really fast until the arduino set everything up. There is a code formula to stop it? Or It's because I'm powering the relays board directly from Arduino without the additional power supply? thank you so much!

samuelebasso
Автор

So that's why I thought the yellow thing was a safety pin and remove it first to work, turns out other way around

reibenedictl.millano
Автор

What power supply do you have plugged on your Breadboard?

Randy