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.
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 :-)
That would be very simple.you may get the idea from here ruclips.net/video/OSwleCBlkuI/видео.html or check the link to it Arduino course in the description
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...
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
please watch the video for the remote and use it. My videos have full explanation. So watch and learn and write your own code. if you have no time to learn or if you don't want to learn then hire someone from this website www.upwork.com/
hello, sir i need help with my final project. ive made a project that home automation system using bluetooth module, 5v-4ch relay module and arduino uno. My project load is 1 lights, 1- 13amp soket outlet, 5v fan and dol starter for single phase the problems is for supply of the relay can u help me?
Open image in your windows and do this snag.gy/DSE3Rj.jpg and then go to snag.gy and press CTRL and V and here is the result snag.gy/wuF3XI.jpg you can open image in paint and select and then press "CTRL and C" to copy and then paste it in snag.gy
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
hello sir....i dont have knowledge of electronics....my project is a liquid automatiic filling .....can you please show me diagram how will i connect the following....proximity sensor to stop a motor conveyor when a botlle is in the position of the filling nozzle ....then run the pump to fill the bottle at a required level...then run the conveyor again ...then cycle....can the program for timer be set up with decimals of seconds....so that the liquid level will be exact.....i have now diy basic refilling project...but i wanted to upgrade....hope to hear from you soon...thanks
Hello, it seems you got a good project this is so many elements and needs serious work. You need to hire and pay someone from here www.upwork.com/ or you learn Arduino buy purchasing my course for $20 here robojax.com/L/?id=153 good luck.
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!
yes of course . it can control up to 4 load each 1000W or higher. and yes you can control relay with LDR. here is my video on LDR for arduino ruclips.net/video/iNea_HM967A/видео.html
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?
@@robojax Thank you for the response. So I need to run 3 dc motors on then off first one and second one and the third.....then on and off in opposite direction..For this purpose I shall run motor from battery with relay that will solve the first kindoff problem...but is there some kind of motor driver for that function or arduino can do that? I need some expert advice.
@@robojax thats weird.. mine does not power on.. my first 2-channel and then I ordered another 6-channel thinking the first BT relay was faulty.. but still wont power on..
Hi, I’m sorry but it is not possible for me to build a working sketch without an error report during compiling. I’m sure it is my fault and I’ve no problem to run a sketch using 4 switches and 4 relays. As soon as I try to use 4 Relays together with my infrared controller using more than 1 relay a compiling error is reported. The infrared controller itself is working to switch a specified relay within the code either on or off but a change of relay by using remote controller is not possible.
hi robojax, can I ask if I want to add a toggle button to control this sequence, how should I do? For example, when the button is pressed (on), the sequence starts, when the button is pressed again (off), the relay reset
Hi, you may learn it from this video ruclips.net/video/7CCSRs5bvH0/видео.html in both videos I have explained it fully. so you should be able to learn and implement it. If you need , then watch them 2, 3 or more times until you learn. Good luck.
of course. Just make proper box and wiring. Here is my ***** Free Arduino Course **** Arduino Step by Step Course (over 100 lectures) Starts here robojax.com/L/?id=338
@@robojax thank you so much, I have watched all the videos and managed to finish the course . Do you have any videos where you used Arduino with an Ethernet shield? I would really like to explore the internet things with such information.
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.
Hi, I have explained how to turn ON or OFF light. You must watch the video and do not escape. Most people do not watch the whole video and they don't learn. If you want to learn you must watch. I never say extra things.
I have this same relay. I am using a different controller board. There is no onboard 5volt. Could you please suggest power source for relay. My project is a portable type.
Hi Mr. Shamshiri, thanks for your excelent video about a 4 Channel relay module used with a black coloured infrared remote controller and the corresponding receiver. Everything works fine, but I‘m unable to switch between the 4 different relays using my remote controller. Every time I like to switch to another relay, I have to change the No. of relay I want to use in the arduino code and load the code up with the new No. of the relay . That means I’m only able to switch on and off the relay presently selected within the arduino code. I guess it is my mistake, but I’m unable to find out what is wrong or what to do to make it work. It was nessesary to change the Hex Adresses array holding codes for Black Remote when used with PCB version of receiver but again it works fine with my Remote Controller. Thanks in advance for your assistance. Best regards Gerhard Spinker
Hi, am I missing something here or you posted the comment under the wrong video. there is no remote in this video. we just use code to turn on different relay. I have one video on 4 channel relay and remote here ruclips.net/video/d-iIchLyh48/видео.html . I have series of videos on remote control using arduino ruclips.net/video/muAkBQb24NI/видео.html They are from basic on how to detect the code of any remote. so first learn how this module works and have to understand how each relay is controlled. It can't be explained better. so have to know this first. then watch the video on remote controller with Arduino, detect 4 keys and create array to save each 4 code when they are pressed. this in this current video use them to turn ON/OFF relay using values from relay. If you don't know how relay works, please watch this 30 minuets Arduino course video robojax.com/L/?id=135 to learn basic Arduino usage and array. good luck.
If I'm using multiple relays to power lights, can the lights be powered by the same power supply, or do they each need their own power supply? Would I need to daisy-chain them or is there a single power input that powers all the relays on the board?
Hello, i’m planning to install this system in factory. I have a basic question and will be grateful if you can answer it. My Question: a relay is rated 250Vac, 10A, if i use it to switch on/off only 100W, 0.9A bulbs can i connect bulbs in parallel and then connect them to a single relay module? if so then i can connect 10 bulbs as voltage will remain the same and current drawn will be 0.9*10= 9A which is within the relay limited current rating. will it work? is it safe?
Yes you can connect bulbs in parallel. The total load will be added and then you do the math. Check your rally rating and if the total current bus below the rates current, the you can use it.
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
Hi, I have used the same concept to set up LEDs in AC supply. But during the cycle some LEDs becomes on constantly for long times and does not go off. The relay is working fine as the LED on the relay is going on and off according to program. Why..
Hello , really nice sketch , could you make a defferent : Could you write another algorithm, for example, the pins 1,2,3 light up, but 4 not wait for 5 second and then when 4 lights up, but 3 turns off while 4 is up .
I always use your relay videos to learn, thanx for that. Will you please make a video on connecting arduino and relay parallel to each other on an AC plugs. I want to leave the arduino with the relay module only. So a parallel connection, 1 converting tp DC and arduino and one to the relay and ac bulb. I am confused about the circuit design.
Sir can you explain why my relay switching operation is not working at the load side whereas the led on the relay is working perfectly according to code. Its just that the load (bulb) is not having on/off operation. Can you explain where it went wrong?
Hello, I have watched this video a few times. I am using a Arduino Uno with a Arduino motor shield. VIN is scraped on shield to prevent overload to the Uno. I have 12v coming into the Motor shield from external source. I have 5v from Uno to Vin input on the relay (The Motor Shield has the same pinouts at the Uno.) This leaves me with the 4 inputs on the relay left. So If I do as you did and ground any of those 4 inputs (IN1-IN4) on the relay, the relay will light up and and click just as your's did. Then I watched you put that same input wire from the relay to the 5v side of the breadboard, it does nothing just like yours. Fine. I got that part I believe. My question is,,, Do I leave these 4 inputs from the relay connected to a ground on the Uno. Or do they actually go another place/pin.? If you stated where the inputs from the relay actually plug into on the UNO, I must have missed that part. Which pins from the UNO actually need to be connected to the Relay's IN1 - IN4 ? I'm trying to simply control a Atlas turnout using Arduino/Relay. I saw a video once, but cannot find it anymore. You also powered a light bulb with this config, but never showed how to hook the bulb up to the relay K1 - K4 outputs. I cannot tell by the way your wires look. Since that bulb would only use two wires, I'm guessing that you have them on the closed end of K1-K4?? I hope this makes sense. Thanks
Hi, at 7:24 I have explained the relay pins. I can't believe I have not shown AC wiring in this video. Here is my other video showing that. ruclips.net/video/58XWVDnB7Ss/видео.html I will create another version of this video in a few months.
I am using 5 - 4 channel relays........ Connected separate power supply to arduino with a power bank and shorted Jd-Vcc of all relays to separate supply of 5 volt 2.4 amp but all 20 relays are not turned on instead just 6 Relay are working rest all are working if the turned on Relay is turned off........ What is the problem.......?
I want to control 4 switches in my home . I will be wiring relay board into my electricity board. My question is : is it ok if I directly power the relay board with Arduino power ? I don't want to pay extra money for a separate 5v supply . Will that be OK if all my 4 bulbs are on at a time ?
The board i got is working on 3.3 v from the NODEMCU ESP8266 board is it ok will it be stable on the long run, I read some place this board works on 5 v Dc. I do not want the board to stop working all of a sudden
When the jumper is removed (JD-VCC is disconnected form VCC) where is the common GND for Q1-Q4? Is it connected with Arduino's GND? The system is then NOT quite isolated :-(
how much current each input pin draws when they are a high? my question is can a single arduino pin be used to control all the 4 relays simultaneously on and off?
Thanks sir,Your videos are always helpful. I want to monitor the temperature and if a condition is met then turn off the power supply which is 230v/50hz.Is it possible to use the same components is it is to be used in industrial environment.Please help
you are welcome. yes it is possible as long as you don't over load it and also the arduino is properly installed and housed in a box . I would suggest to solder with wires to the bottom of Arduino pins. As just inserting wires are not reliable. Any vibration might disconnect them. So solder all wires to have assurance of reliability.
why 4 relay? what is the power rating of water pump? it is within the power rating of relay you can use only one (about 2.2KW in 220V AC ). But yes you can make all 4 parallel so they can handle 8.8KW
this helped. But Can you help me, I want too control the 4 relays with a Arduino NANO' too receive 4x inputs from a Wii Numchuck, or ( 4 way joystick) 4 motions,too turn on 4x relays, (ALL DC 12V) I Need WANT- too use a wii numchuck, joystick, to Tell the ARDUINO NANO- too trigger 4x relays- ie: UP realy 1- -DOWN,relay 2, LEFT-relay 3, RIGHT relay 4. 4x directions, 4x relays, Using output signals from a wii numchuck joystick, too turn on each relay. up-down- right left.. I know how to wire the realys, and the motors, etc. I just am not sure where too hookup the will-numchuchk/4axis joystick, into the NANO, AND What are i need too code..
Hi, thanks for the great video. I have a question that I was hoping you might be able to help me out with. I'm looking at using one of these relays for some lighting, driven by an esp2866. The lights will be usually off and that would suggest that I should wire it to the "normally off" terminals. However, in the case of the microprocessor or the relay malfunction, then, I will not be able to use the normal switches (these are wired in series to the relay) where as they would work if I used "normally on" terminals. The questions is, if I used the "normally on" terminals, would I end up using more power and will it shorten the life of the relays and perhaps there might be other issues that I am not aware of? Your assistance is much appreciated.
Hi, I have separate video for relay and Esp8266 please check the right video. just click on "robojax" under this video so you are taken to the channel, then click on "videos" and then search for ESP8266 (so you learn) or click this link ruclips.net/user/robojaxTVsearch?query=esp8266
Sir i mean ki i will uuse 3 module relay connected to LEDs....i want that when my 1st relay will on then remaining should be off after 10 sec 2nd relay will be on and 1st and 3rd will be off like this ....
I told myself how come I did not explain that., I watched the video and indeed I have explained how much power this can handle. So please watch the video and do not escape. It has been explained.
Hi Robojax, thanks for sharing. Is there relay available which trigger on high? As I don't know why but with low trigger I am facing issue in my project, using "if / else" statement. eg. I have code which reads voice command from serial link to activate relay. eg. if voice command "==red" activate relay 1(with low trigger on Arduino DO pin), else if voice command "==red stop" (deactivate relay with high trigger on Arduino DO pin) it works perfectly for if statement but not for else if. (Voice command other than red, reset the deactivate the relay again). But if I use directly Arduino pin & LED (without relay module) it works perfectly with "if/else" statement eg. voice command "red" can turn on LED by making Arduino DO high, and else if voice command "red off" can turn of LED, in this case I have to provide the specific voice command mentioned for else if statement (red off) to turn LED Off, whereas with relay module "any voice command (other thn if statement)" actuate else if statement condition.
Thank you for pointing to that. It was explained in video and I said "for example if you want to turn a relay ON if temperature is less than 65..." so anyone who watches video will know. You can remove it.
@@robojax Yes, you can edit it and make it work but that isn't the point. Your example code, in the link below the video did not compile because it had an error. It doesn't matter how many times somebody watches the video. The error in the example code will still be there lol. I see now that you have fixed it.
if you mean to push a button to start or stop then watch this video and apply the same principle to this module ruclips.net/video/7CCSRs5bvH0/видео.html
i would like you teach me, how could i make the program with a temperature sensor? la programacion es algo divertido para mi, por lo que soy nuevo con respecto a arduino.
The maximum current and voltage are different when you are using A/C vs D/C though. The relays should have their ratings printed on them. If they don't you should look it up. Usually they can handle more voltage with A/C than with D/C.
@@robojax Thanks, I understood. So basically 5V for a 5v relay and 12V for a 12 v relay is to basically magnetize the relay and you can run as high as 250v AC using the relay?
@@robojax i mean is there an earth (ground) for the AC side, as all 240V here have an earth wire for tools, part of the australian standard for electric motors
Sir can u help me out that i need 2 channel ralay + arduino uno +bluetooth module hc 05 Can u pass me a code for arduino with respect to this components with circuit diagram Plz sir i am waiting
Hi, congratulations on your professionalism. I would like to ask you how to make the 4 lelay work with an arduino ,radio frequency remote control. Thank you, subscribed and like !!
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 :-)
Thank you! The only one that showed the external 5v connection properly.
you are welcome. good to hear that.
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.
Thank you! Finally! The only one that clear with relay properly.
Good to hear , it helped
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 :-)
Thank you for letting me know. I just added the chapter you mentioned.
Hi
Thank you for this lassen.but I have a question
How to on and relay one after another
That would be very simple.you may get the idea from here ruclips.net/video/OSwleCBlkuI/видео.html or check the link to it Arduino course in the description
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...
Thank you. Your video helped me fix and issue that was driving me crazy.
You are welcome. Please subscribe. I appreciate it and helps my channel grow. Thank you
Please make a video on controlling these 4 relays with 4 push buttons using millis() funtion in arduino
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
please watch the video for the remote and use it. My videos have full explanation. So watch and learn and write your own code. if you have no time to learn or if you don't want to learn then hire someone from this website www.upwork.com/
tysm for this detailed explanation , you are a saviour
Bro...
Is that possible if we controlling the alternating current fan with fuzzy logic on arduino?
Do you have adjustable 4 channel relay timer by using 16*2 LCD and buttons
Here is how to search a channel for particular video ruclips.net/video/OhkUceBWcHs/видео.html
@@robojax sir I couldn't find 4 channel adjustable relay timer video in your RUclips can you plz help me out for this?
hello, sir i need help with my final project. ive made a project that home automation system using bluetooth module, 5v-4ch relay module and arduino uno. My project load is 1 lights, 1- 13amp soket outlet, 5v fan and dol starter for single phase the problems is for supply of the relay can u help me?
Hi, Please post the photo of your relay in this website snag.gy/ and send me the URL (address). and then I can suggest how to power it up.
i cant paste the image
i wanna make the project using arduino uno, relay 5v-4ch, bluetooth module with load like i said in the commend ty
Open image in your windows and do this snag.gy/DSE3Rj.jpg and then go to snag.gy and press CTRL and V and here is the result snag.gy/wuF3XI.jpg
you can open image in paint and select and then press "CTRL and C" to copy and then paste it in snag.gy
snag.gy/YHgUC1.jpg
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
hello sir....i dont have knowledge of electronics....my project is a liquid automatiic filling .....can you please show me diagram how will i connect the following....proximity sensor to stop a motor conveyor when a botlle is in the position of the filling nozzle ....then run the pump to fill the bottle at a required level...then run the conveyor again ...then cycle....can the program for timer be set up with decimals of seconds....so that the liquid level will be exact.....i have now diy basic refilling project...but i wanted to upgrade....hope to hear from you soon...thanks
Hello, it seems you got a good project this is so many elements and needs serious work. You need to hire and pay someone from here www.upwork.com/ or you learn Arduino buy purchasing my course for $20 here robojax.com/L/?id=153 good luck.
Hello sir . Can I connect the extra 5v to the Arduino also. Cuz I don't understand the diagram.thank. hoping for your response.
Here is the better video from my course ruclips.net/video/0PW22PD89u0/видео.html
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!
yes of course . it can control up to 4 load each 1000W or higher. and yes you can control relay with LDR. here is my video on LDR for arduino ruclips.net/video/iNea_HM967A/видео.html
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?
you are welcome. When Arduino turns OFF, it starts from beginning.
@@robojax Thank you for the response. So I need to run 3 dc motors on then off first one and second one and the third.....then on and off in opposite direction..For this purpose I shall run motor from battery with relay that will solve the first kindoff problem...but is there some kind of motor driver for that function or arduino can do that? I need some expert advice.
So if your relay is 12v.. you have to supply also 12v in the VCC?
Yes
@@robojax thats weird.. mine does not power on.. my first 2-channel and then I ordered another 6-channel thinking the first BT relay was faulty.. but still wont power on..
Hi, I’m sorry but it is not possible for me to build a working sketch without an error report during compiling.
I’m sure it is my fault and I’ve no problem to run a sketch using 4 switches and 4 relays. As soon as I try to use 4 Relays together with my infrared controller using more than 1 relay a compiling error is reported.
The infrared controller itself is working to switch a specified relay within the code either on or off but a change of relay by using remote controller is not possible.
hi robojax, can I ask if I want to add a toggle button to control this sequence, how should I do? For example, when the button is pressed (on), the sequence starts, when the button is pressed again (off), the relay reset
Hi, you may learn it from this video ruclips.net/video/7CCSRs5bvH0/видео.html in both videos I have explained it fully. so you should be able to learn and implement it. If you need , then watch them 2, 3 or more times until you learn. Good luck.
Can this be used in an industrial project, when consistency is the key?
of course. Just make proper box and wiring. Here is my ***** Free Arduino Course ****
Arduino Step by Step Course (over 100 lectures) Starts here robojax.com/L/?id=338
@@robojax thank you so much, I have watched all the videos and managed to finish the course . Do you have any videos where you used Arduino with an Ethernet shield? I would really like to explore the internet things with such information.
Sir nice video. I want to ask you, what type of 5v power I connect into jdd vcc? battery or plug?
5V is 5V. no matter where you take it from. 5V 500mA will work. if you 1000mA or 2000mA or 10000mA but make sure it is not less than 500mA (0.5A).
This modul relay can use for DC?
Like electronic valve 12 dc?
relay is a switch you can control AC or DC. I must have mentioned "AC or DC load".
@@robojax Oke, thanks now i will try to use this. 🙏🏻🙏🏻🙏🏻
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.
Hi, I have explained how to turn ON or OFF light. You must watch the video and do not escape. Most people do not watch the whole video and they don't learn. If you want to learn you must watch. I never say extra things.
Can the relay in this example also controll 10-30v DC equipment or only AC ?
Rely can control AC and DC load. The rating as to how much load they can handle is written on the relay.
Hey my ssr relay is giving a leakage of 7-8 v when its off any solution for this?
I have this same relay. I am using a different controller board. There is no onboard 5volt. Could you please suggest power source for relay. My project is a portable type.
any 5V power is okay. If you want to connect it to AC, then this AC to 5V is the best ruclips.net/video/-JD3E7e0RAE/видео.html
Hi Mr. Shamshiri,
thanks for your excelent video about a 4 Channel relay module used with
a black coloured infrared remote controller and the corresponding receiver.
Everything works fine, but I‘m unable to switch between the 4 different relays using my remote controller.
Every time I like to switch to another relay, I have to change the No. of relay I want to use in the arduino code and load the code up with the new No. of the relay . That means I’m only able to switch on and off the relay presently selected within the arduino code.
I guess it is my mistake, but I’m unable to find out what is wrong or what to do to make it work.
It was nessesary to change the Hex Adresses array holding codes for Black Remote when used with PCB version of receiver but again it works fine with my Remote Controller.
Thanks in advance for your assistance.
Best regards
Gerhard Spinker
Hi,
am I missing something here or you posted the comment under the wrong video. there is no remote in this video. we just use code to turn on different relay. I have one video on 4 channel relay and remote here ruclips.net/video/d-iIchLyh48/видео.html . I have series of videos on remote control using arduino ruclips.net/video/muAkBQb24NI/видео.html They are from basic on how to detect the code of any remote. so first learn how this module works and have to understand how each relay is controlled. It can't be explained better. so have to know this first. then watch the video on remote controller with Arduino, detect 4 keys and create array to save each 4 code when they are pressed. this in this current video use them to turn ON/OFF relay using values from relay. If you don't know how relay works, please watch this 30 minuets Arduino course video robojax.com/L/?id=135 to learn basic Arduino usage and array. good luck.
can you use the 4 relay channel to control 3 or 4 12v dc motor?
load is load. yes you can.
Can I program each relay multiple times on and off?
Hello, learn Arduino in this 30 minutes video and you can do anything with it ruclips.net/video/Mbb2xa1WcRM/видео.html
If I'm using multiple relays to power lights, can the lights be powered by the same power supply, or do they each need their own power supply? Would I need to daisy-chain them or is there a single power input that powers all the relays on the board?
for safety reasons, you should connect each relay to AC separately. If you are not sure, asked someone with experience.
@@robojax In this case, I'm using DC. Does that change anything?
no . You have to observe the rating and not exceed to current written on the relay.. Ahmad from Canada
Hello, i’m planning to install this system in factory. I have a basic question and will be grateful if you can answer it. My Question: a relay is rated 250Vac, 10A, if i use it to switch on/off only 100W, 0.9A bulbs can i connect bulbs in parallel and then connect them to a single relay module? if so then i can connect 10 bulbs as voltage will remain the same and current drawn will be 0.9*10= 9A which is within the relay limited current rating. will it work? is it safe?
Yes you can connect bulbs in parallel. The total load will be added and then you do the math. Check your rally rating and if the total current bus below the rates current, the you can use it.
@@robojax i will test this. Thanks
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
Sir I want to use your relay. Can i get feedback from equipment? which is on or off. thank you sir
you must have skipped the video. when you test it, open the serial monitor as have shown in video, it will tell you which relay is ON/OFF
Hi, I have used the same concept to set up LEDs in AC supply. But during the cycle some LEDs becomes on constantly for long times and does not go off. The relay is working fine as the LED on the relay is going on and off according to program. Why..
Hi bad wiring. check it again.
@@robojax But where is bad connection i dont understand....in the relays??
try this code ruclips.net/video/Rfaz5qOLKYQ/видео.html it should work the same way.
Hello , really nice sketch , could you make a defferent : Could you write another algorithm, for example, the pins 1,2,3 light up, but 4 not wait for 5 second and then when 4 lights up, but 3 turns off while 4 is up .
I replied to your request in another video.
@@robojax Thank you
You are welcome.
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.
Good to hear that . I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊
What is the name of that ruler you are using
Hello, I just added link to the product in the description.
I always use your relay videos to learn, thanx for that. Will you please make a video on connecting arduino and relay parallel to each other on an AC plugs. I want to leave the arduino with the relay module only. So a parallel connection, 1 converting tp DC and arduino and one to the relay and ac bulb. I am confused about the circuit design.
You are welcome.
I am sorry I did not understand what you want to do. Relay and Arduino parallel? No possible.
Thank you for this clear and easy to understand tutorial!
You are welcome. In 2 or 3 days my Udemy course is being launched.
Sir can you explain why my relay switching operation is not working at the load side whereas the led on the relay is working perfectly according to code. Its just that the load (bulb) is not having on/off operation.
Can you explain where it went wrong?
I explained it in the videos. Can’t be explained better than video. Must check your relay wiring.
@@robojax ok sir👍
Hello, I have watched this video a few times. I am using a Arduino Uno with a Arduino motor shield. VIN is scraped on shield to prevent overload to the Uno. I have 12v coming into the Motor shield from external source. I have 5v from Uno to Vin input on the relay (The Motor Shield has the same pinouts at the Uno.) This leaves me with the 4 inputs on the relay left. So If I do as you did and ground any of those 4 inputs (IN1-IN4) on the relay, the relay will light up and and click just as your's did. Then I watched you put that same input wire from the relay to the 5v side of the breadboard, it does nothing just like yours. Fine. I got that part I believe. My question is,,, Do I leave these 4 inputs from the relay connected to a ground on the Uno. Or do they actually go another place/pin.? If you stated where the inputs from the relay actually plug into on the UNO, I must have missed that part. Which pins from the UNO actually need to be connected to the Relay's IN1 - IN4 ? I'm trying to simply control a Atlas turnout using Arduino/Relay. I saw a video once, but cannot find it anymore. You also powered a light bulb with this config, but never showed how to hook the bulb up to the relay K1 - K4 outputs. I cannot tell by the way your wires look. Since that bulb would only use two wires, I'm guessing that you have them on the closed end of K1-K4?? I hope this makes sense. Thanks
Hi, at 7:24 I have explained the relay pins. I can't believe I have not shown AC wiring in this video. Here is my other video showing that. ruclips.net/video/58XWVDnB7Ss/видео.html I will create another version of this video in a few months.
I am using 5 - 4 channel relays........ Connected separate power supply to arduino with a power bank and shorted Jd-Vcc of all relays to separate supply of 5 volt 2.4 amp but all 20 relays are not turned on instead just 6 Relay are working rest all are working if the turned on Relay is turned off........ What is the problem.......?
Sir, Thanks for video. Can you please tell me how to control 4 channel relay wirelessly with FS-T4B / FS-T6B?
what is FS-T4B? you can use ESP32 ruclips.net/video/1zXlV7vmMMg/видео.html or ESP8266 NodeMCU ruclips.net/video/a8yJoeFsKWw/видео.html
I want to control 4 switches in my home . I will be wiring relay board into my electricity board. My question is : is it ok if I directly power the relay board with Arduino power ? I don't want to pay extra money for a separate 5v supply . Will that be OK if all my 4 bulbs are on at a time ?
Yes you can connect it to Arduino. I am assuming you are connecting Arduino via a USB that can supply at least 500mA.
The board i got is working on 3.3 v from the NODEMCU ESP8266 board is it ok will it be stable on the long run, I read some place this board works on 5 v Dc. I do not want the board to stop working all of a sudden
No it will not work with 3.3V. That would be issue. You need to make level shifter or add module. .
@@robojax thanks for the promptreply
You are welcome. Here is how you can change the level from 5V to 3.3V snipboard.io/gJXm0c.jpg
Can you make a ardrino relay system which consist or working on dc 12v load
? not clear. type in your language and I will use google to translate it.
@@robojax can we use 12 volt relay and same code same wiring insteade of 2 v relay?
Thanks alot for detailed & in depth video
You are welcome (after ONE year youtube added a tools to see which comment hasn't got a reply).
Thank you!! So nice and detailed explanation..
When the jumper is removed (JD-VCC is disconnected form VCC) where is the common GND for Q1-Q4?
Is it connected with Arduino's GND?
The system is then NOT quite isolated :-(
Yes. GND is common and yes it is not totally isolated.
@@robojax What then is the point of using optocouplers?
how much current each input pin draws when they are a high? my question is can a single arduino pin be used to control all the 4 relays simultaneously on and off?
Yes. Arduino can supply up to 400mA and that is enough for all 4.
@@robojax Thank you.
You are welcome.
Thanks sir,Your videos are always helpful. I want to monitor the temperature and if a condition is met then turn off the power supply which is 230v/50hz.Is it possible to use the same components is it is to be used in industrial environment.Please help
you are welcome.
yes it is possible as long as you don't over load it and also the arduino is properly installed and housed in a box . I would suggest to solder with wires to the bottom of Arduino pins. As just inserting wires are not reliable. Any vibration might disconnect them. So solder all wires to have assurance of reliability.
Sir can I connect 4 relay with water. Pump of ac current can I run without shot
why 4 relay? what is the power rating of water pump? it is within the power rating of relay you can use only one (about 2.2KW in 220V AC ). But yes you can make all 4 parallel so they can handle 8.8KW
this helped. But Can you help me, I want too control the 4 relays with a Arduino NANO' too receive 4x inputs from a Wii Numchuck, or ( 4 way joystick) 4 motions,too turn on 4x relays, (ALL DC 12V) I Need WANT- too use a wii numchuck, joystick, to Tell the ARDUINO NANO- too trigger 4x relays- ie: UP realy 1- -DOWN,relay 2, LEFT-relay 3, RIGHT relay 4. 4x directions, 4x relays, Using output signals from a wii numchuck joystick, too turn on each relay. up-down- right left.. I know how to wire the realys, and the motors, etc. I just am not sure where too hookup the will-numchuchk/4axis joystick, into the NANO, AND What are i need too code..
Hi,
thanks for the great video.
I have a question that I was hoping you might be able to help me out with. I'm looking at using one of these relays for some lighting, driven by an esp2866. The lights will be usually off and that would suggest that I should wire it to the "normally off" terminals. However, in the case of the microprocessor or the relay malfunction, then, I will not be able to use the normal switches (these are wired in series to the relay) where as they would work if I used "normally on" terminals.
The questions is, if I used the "normally on" terminals, would I end up using more power and will it shorten the life of the relays and perhaps there might be other issues that I am not aware of?
Your assistance is much appreciated.
Hi, I have separate video for relay and Esp8266 please check the right video. just click on "robojax" under this video so you are taken to the channel, then click on "videos" and then search for ESP8266 (so you learn) or click this link ruclips.net/user/robojaxTVsearch?query=esp8266
I'm a bit confused as to how to control 4 AC loads with a 4-channel relay.
which part is confusing? a relay is a switch. so we have 4 swich to turn ON/OFF four bulbs or loads. simple as that.
@@robojax thanks for your reply. So what if I want to do a quadruple fan project? Do I have to wire four channels - one per motor?
Grt video sir..sir can i use this codes for doing load shedding network module...by using 3 relay
Hello, I don't know what "load shedding" is. But this is just a switch that turning something ON and OFF.
Sir i mean ki i will uuse 3 module relay connected to LEDs....i want that when my 1st relay will on then remaining should be off after 10 sec 2nd relay will be on and 1st and 3rd will be off like this ....
sir, I want to use this relay module for on-off of my air conditioner, so this relay module will work with high load air conditioner?
I told myself how come I did not explain that., I watched the video and indeed I have explained how much power this can handle. So please watch the video and do not escape. It has been explained.
If I want to use only one relay for led the what is the coding for that
Watch the video. it has been explained on how to control each bulb.
Hi Robojax, thanks for sharing. Is there relay available which trigger on high? As I don't know why but with low trigger I am facing issue in my project, using "if / else" statement. eg. I have code which reads voice command from serial link to activate relay. eg. if voice command "==red" activate relay 1(with low trigger on Arduino DO pin), else if voice command "==red stop" (deactivate relay with high trigger on Arduino DO pin) it works perfectly for if statement but not for else if. (Voice command other than red, reset the deactivate the relay again). But if I use directly Arduino pin & LED (without relay module) it works perfectly with "if/else" statement eg. voice command "red" can turn on LED by making Arduino DO high, and else if voice command "red off" can turn of LED, in this case I have to provide the specific voice command mentioned for else if statement (red off) to turn LED Off, whereas with relay module "any voice command (other thn if statement)" actuate else if statement condition.
then use the code in this video ruclips.net/video/Q9aBI4ELKC4/видео.html watch the video so you how it works.
Your example code uses temp which is undeclared...
Thank you for pointing to that. It was explained in video and I said "for example if you want to turn a relay ON if temperature is less than 65..." so anyone who watches video will know. You can remove it.
@@robojax I watched the video. Just letting you know your example code doesn't compile.
Check the code. U have updated it. If you watched the video, it should work.
@@robojax Yes, you can edit it and make it work but that isn't the point. Your example code, in the link below the video did not compile because it had an error. It doesn't matter how many times somebody watches the video. The error in the example code will still be there lol.
I see now that you have fixed it.
Relay can connect direct with ac?
See this video showing wiring diagram ruclips.net/video/0PW22PD89u0/видео.html
Can you help about working and switch with manually
if you mean to push a button to start or stop then watch this video and apply the same principle to this module ruclips.net/video/7CCSRs5bvH0/видео.html
i would like you teach me, how could i make the program with a temperature sensor?
la programacion es algo divertido para mi, por lo que soy nuevo con respecto a arduino.
SIR.I WANT TO KNOW THAT HOW CAN I USE EEPROM IN THIS PROJECT SO THAT I CAN RESUME AFTER POWER FAILURE
Very interesting. I have it in my list and whenever item permits, I will make video.
Salam, what about 100 VDC load, how many amperes?
Walaikum salaam, you made me watch the video. I have explained it. please watch. it starts at 5:56.
@@robojax Salam, You Explained the AC load , but not the DC load
Can i turn it on and off using an android app? I was making a Wifi Enabled Smart Plug for my project. Tnx
Yes you can. here is the video robojax.com/learn/arduino/?vid=robojax-HC-06-bluetooth-AC
Good tutorial
Can you make video 4 channel each 20 on/off schedule timer switch, please
what is the job of switches? We have 4 relay and why 20 switches?
@@robojax not 20 switch,20 independent schedule for each 4 relay switch
I am sorry. I missed that. I read so many comments and sometimes I misread them. what kind of schedule? like turn ON or off at specific time?
Yes ,on/off for specific time
With this type of relay in your video. can i control DC load ?
You can control DC or AC load. Relay has been explained in video. Watch it.
The maximum current and voltage are different when you are using A/C vs D/C though. The relays should have their ratings printed on them. If they don't you should look it up. Usually they can handle more voltage with A/C than with D/C.
i need code for 4 chanel relay controling with arduino and sim900A.plz help.
that is a full separate project. I have a module with sim card but got very busy. I am not sure when I will have time to make video.
How to decode any remote controller code with Arduino
search my channel for the word "remote"
Wait.....can't you only run 5v from the relay? How is he running AC for lights won't that be more than 5V?
Watch the video it has been explained. Do not escape.
@@robojax Thanks, I understood. So basically 5V for a 5v relay and 12V for a 12 v relay is to basically magnetize the relay and you can run as high as 250v AC using the relay?
Very good video, thanks !!
You are welcome.
do these boards have an earth AC connection?
you don't need to connect it to the AC ground. It should be isolated from the AC circuit.
@@robojax i mean is there an earth (ground) for the AC side, as all 240V here have an earth wire for tools, part of the australian standard for electric motors
Linrox di
You will need to disconnect ONE wire either live or neutral. Earth wire should be touched.
Possible link diagram clearer
?
@@robojax
Possible link diagram clearer
Sir i want the code to automatic control of different sources
this is very vague. how and what kind if devices you want to control?
@@robojax sir i am doing the project of autopower supply using four different sources
So i use four switches and when i switch on the second switch the first first relay should automatically off and so on
Four sources are given to four relays
sir can i upload this code for arduino uno?..
I believe I've shown you on Arduino. Yes and with any Arduino it should work.
will this work with arduino nano?
it will work with any arduino. it needs only need 8 digital pins to use this.
Yes bro
Thanks very much !
Sir can u help me out that i need 2 channel ralay + arduino uno +bluetooth module hc 05
Can u pass me a code for arduino with respect to this components with circuit diagram
Plz sir i am waiting
Hi, I don't have such project. Sorry.
@@robojax sir plz give me coding of arduino uno for 2 ralay??
Very nice explain thankx
you are welcome.
thanx You are The best!👍
You are welcome. So you are.
Hi, congratulations on your professionalism. I would like to ask you how to make the 4 lelay work with an arduino ,radio frequency remote control. Thank you, subscribed and like !!
thank you. there are modules such NRF24L01 or use RC remote .
Thank you
Thanks a lot
You are welcome.
Code arduino with relay sir
It is under the video in description
Can you turn me into vampire too?
hahahah. No I can't.
Hindi me video banaye please please please please please please please sie
इस निर्देश को देखें। आप इस वीडियो को किसी भी भाषा में उपशीर्षक के साथ देख सकते हैं। snag.gy/x80ryg.jpg
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 :-)
What do you mean external DC? Isn’t this connected to 5V?
@@robojax Yes, Ok
Thank You