How to use 4 channel Relay to control AC load with Arduino code

preview_player
Показать описание
Learn how to control 4 to 12 AC or DC loads using Relay modules and Arduino.

***** Free Arduino Course worth $200****

*****Purchase 4 channel relay from ****

*** Purchase Digital Caliper from ***

*** Purchase Arduino Start Kit ***

****** Purchase Authentic Arduino Uno from ****

Jump to different chapters of this video
00:00 Start
00:37 Introduction
01:00 Hardware explained
04:30 Low level trigger explained
05:56 Relay current rating explained
07:16 Arduino code explained
13:00 Control under certain condition
14:08 Demonstration of controlling load using relay
15:03 How to Connect External 5V and Share GND

Related videos:
4 push button with this module to have push-ON stay ON, push-OFF

Tutorial by Ahmad Shamshiri form Canada
****************************
****************************

Get other projects code and learn Arduino

**** AFFILIATE PROGRAM ****

#robojax #robojaxRelay #robojaxACBulb
Рекомендации по теме
Комментарии
Автор

Thank you so much. I was having some troubles comprehending how these work. It seems everyone wants to use these in videos without fully explaining them but you my sir get a 100%. Liked and subscribed because you fully deserved it.

MichaelSmith-yhzn
Автор

Thank you! The only one that showed the external 5v connection properly.

mdjames
Автор

Thank you! Finally! The only one that clear with relay properly.

gordon
Автор

Thank you. Your video helped me fix and issue that was driving me crazy.

CetanHota
Автор

tysm for this detailed explanation, you are a saviour

melkishchandar
Автор

You need to add another video jump point to your description and maybe add into your title as well. 15:03 How to Connect External 5V and Share GND. Excellent video :-)

PhilipTaramai
Автор

Please make a video on controlling these 4 relays with 4 push buttons using millis() funtion in arduino

neelranade
Автор

Thank you for this clear and easy to understand tutorial!

Elnamech
Автор

Thanks alot for detailed & in depth video

umarahsan
Автор

Thank you!! So nice and detailed explanation..

ojnydsd
Автор

Hi, you are right, my request was placed on the wrong video.
For your information: I’m an absolut “rookie” in Arduino and use of electronic equipment.
I was dealing with your very interesting and excellent video about remote control using Arduino.
Thank your videos I’m familiar in using and installation of relays.
However, due to the environment it is important for me to use my 4 relays with an infrared controller.
The only problem is how to address each of my 4 relays with my infrared controller.
On and off is working fine but I need to choose each single relay by changing the code in this part of the code below:
Relay settings begins
const int RELAY_PIN = 2;// I need to change the 2 into the No. of the next relay and reload the code
const String ON="*";// turn relay ON with + key on remote
const String OFF="#";// turn relay OFF with - key on remote
//**** Relay settings ends
This code is part of your code in the video:
I need to change the code to control the relays on demand using remote control.
That’s what’s impossible to me due to lack of competencies.
Thanks so far for your assistance and all the Information I learned from you.

Regards Gerd

gerhardspinker
Автор

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
Автор

Hi
Thank you for this lassen.but I have a question
How to on and relay one after another

ofwcbym
Автор

Hi Sir, nice explanation video. I want 2 conditions to add more, 1st how can off light from last one, like light on 1 to 4 and off from 4 to 1.
2nd question, how we can use for light on 2 seconds than off, after off light 1, 2nd light on for 2 seconds than off, same 3 and 4.

buraqtv
Автор

Sir, could you please consider making a tutorial/video to control these relays with the raspberry pi instead but using the Arduino Iot Cloud and the API they provide for the mqqt broquer exchange

acevedod
Автор

Bro...

Is that possible if we controlling the alternating current fan with fuzzy logic on arduino?

LittLe_PunK
Автор

Thank you for video please assist me can you use a push button to set times on relays for 1 relay run 14 min and you need to run 15 min to pres the button twice to record the time and when relay 2 kick in you can change it the same and let it run over and over

kobusknox
Автор

Thank you for this video Sir. I want to ask, If the signal is lost in the middle of operation, power to arduino is disconnected and reconnected, Will it resume from where the signal is lost or from start? Also what is needed for resuming from where the signal was lost?

pujanshrestha
Автор

3:32 Oh, so that's what the jumper was for. It took me a day, and nobody could explain why LEDs turn on but relays don't.

Amonimus
Автор

Greetings. Thank you so much for your explanation, sir. Anyway, can this 4 channel relay control 4 bulb? Each bulb has 7 watts. And is it possible if I control the bulb with LDR as an input? Thank you!

firliwirany