HOW TO INTERFACE 5V 4 CHANNEL RELAY MODULE WITH ARDUINO

  Рет қаралды 96,818

MYTECTUTOR

MYTECTUTOR

6 жыл бұрын

Learn how to interface a 5V relay module with Arduino using leds.
Subscribe to my channel: bit.ly/2LiMpF0
Check out other tutorials involving the use of relay modules:
i). IR remote Control of a 5V 4 Channel Relay Module with Arduino: • IR REMOTE CONTROL OF A...
===========================================================
Recommended components for this DIY
===========================================================
i). 4 Channel DC 5V Relay Module with Optocoupler for Arduino -
amzn.to/2HRS3ew
ii) .UNO R3 Board ATmega328P ATMEGA16U2 with USB Cable for Arduino -
amzn.to/2HP7T9R
For full codes visit this link;
mytectutor.com/interfacing-5v...
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!

Пікірлер: 23
@geektoolkit
@geektoolkit 4 жыл бұрын
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!
@d3w4yn3
@d3w4yn3 4 жыл бұрын
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!
@SmithOffGrid
@SmithOffGrid Жыл бұрын
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!
@rjsiii3
@rjsiii3 3 жыл бұрын
This is fantastic. Great explanation of exactly what I was looking for
@skavelsruhe
@skavelsruhe 3 жыл бұрын
This really helped me with my project! Thanks!
@Gig2Dave
@Gig2Dave Жыл бұрын
Thanks Bro. Thought my module was shot. Great video, well explained. My project is working like a dream.
@user-sd4kc6wp4k
@user-sd4kc6wp4k Жыл бұрын
Needed this. Thx
@tommicava9675
@tommicava9675 4 жыл бұрын
What resistance did you use in your video? Thanks!!!
@ericlessard5021
@ericlessard5021 5 ай бұрын
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...
@samuelebasso
@samuelebasso 3 жыл бұрын
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!
@aberateklehaimanot9804
@aberateklehaimanot9804 4 жыл бұрын
great thanks,keep it up.
@sandrosachser
@sandrosachser Жыл бұрын
Thank you very much.
@ahadshaikh4624
@ahadshaikh4624 2 жыл бұрын
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
@farzy3782
@farzy3782 2 ай бұрын
Very good video. 👌
@islamzindabad9757
@islamzindabad9757 4 жыл бұрын
keep it up
@unclerichard6729
@unclerichard6729 2 жыл бұрын
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'?"
@sadiapunni7281
@sadiapunni7281 2 жыл бұрын
the resistors which are used here are they of 1kOhm?
@mahlonkarpaiya252
@mahlonkarpaiya252 9 ай бұрын
Good day. I was trying the code you wrote but i cant get it to work. I get stuck on the second line.
@badabingbong2756
@badabingbong2756 3 жыл бұрын
nice
@reibenedictl.millano9685
@reibenedictl.millano9685 3 жыл бұрын
So that's why I thought the yellow thing was a safety pin and remove it first to work, turns out other way around
@Randy2747
@Randy2747 5 жыл бұрын
What power supply do you have plugged on your Breadboard?
@mytectutor
@mytectutor 5 жыл бұрын
I used 5v power supply since it was just for demonstration. However the relay can use higher voltages like 220v . But be careful not to get shocked!!
ARDUINO MAX7219 8x8 LED MATRIX SCROLLING TEXT
5:36
MYTECTUTOR
Рет қаралды 10 М.
Arduino relay basics - how it works and how to use it
7:19
Taste The Code
Рет қаралды 9 М.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 31 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 8 МЛН
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 98 МЛН
#18 Add a Relay Module to your Arduino project - Hints, Tips & Traps
16:52
A4988 Stepper motor driver with Arduino.
10:10
MYTECTUTOR
Рет қаралды 1,4 М.
6 CH MATRIX FLASH with WELCOME LIGHT
3:56
GROUNDING FS
Рет қаралды 10 М.
Control High Voltage Devices - Arduino Relay Tutorial
7:30
How To Mechatronics
Рет қаралды 629 М.
What is 4-channel Relay Module? Review of Hardware components vin urdu
6:35
Smart Technology ST
Рет қаралды 3,4 М.
How to use 4 channel Arduino Relay Shield (with code)
11:00
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 176 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,7 МЛН
GamePad İle Bisiklet Yönetmek #shorts
0:26
Osman Kabadayı
Рет қаралды 635 М.