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 :-)
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/
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...
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
That would be very simple.you may get the idea from here ua-cam.com/video/OSwleCBlkuI/v-deo.html or check the link to it Arduino course in the description
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.
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.
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 ua-cam.com/video/iNea_HM967A/v-deo.html
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, 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.
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.
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 ua-cam.com/video/d-iIchLyh48/v-deo.html . I have series of videos on remote control using arduino ua-cam.com/video/muAkBQb24NI/v-deo.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.
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
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 , 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 .
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 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 ....
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
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.......?
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 ua-cam.com/video/7CCSRs5bvH0/v-deo.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.
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 ua-cam.com/users/robojaxTVsearch?query=esp8266
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. ua-cam.com/video/58XWVDnB7Ss/v-deo.html I will create another version of this video in a few months.
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 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 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.
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.
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.
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?
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 ?
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.
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?
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
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..
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?
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 :-(
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.
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 !!
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.
if you mean to push a button to start or stop then watch this video and apply the same principle to this module ua-cam.com/video/7CCSRs5bvH0/v-deo.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.
@@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?
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
@@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
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.
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/
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...
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
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 ua-cam.com/video/OSwleCBlkuI/v-deo.html or check the link to it Arduino course in the description
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.
tysm for this detailed explanation , you are a saviour
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.
Bro...
Is that possible if we controlling the alternating current fan with fuzzy logic on arduino?
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 ua-cam.com/video/iNea_HM967A/v-deo.html
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.😊
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 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, 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.
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.
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 ua-cam.com/video/d-iIchLyh48/v-deo.html . I have series of videos on remote control using arduino ua-cam.com/video/muAkBQb24NI/v-deo.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.
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
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 , 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.
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 ua-cam.com/video/0PW22PD89u0/v-deo.html
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.
Thank you for this clear and easy to understand tutorial!
You are welcome. In 2 or 3 days my Udemy course is being launched.
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 ....
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, 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 ua-cam.com/video/1zXlV7vmMMg/v-deo.html or ESP8266 NodeMCU ua-cam.com/video/a8yJoeFsKWw/v-deo.html
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.......?
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 ua-cam.com/video/7CCSRs5bvH0/v-deo.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.
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 ua-cam.com/users/robojaxTVsearch?query=esp8266
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. ua-cam.com/video/58XWVDnB7Ss/v-deo.html I will create another version of this video in a few months.
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 ua-cam.com/video/OhkUceBWcHs/v-deo.html
@@robojax sir I couldn't find 4 channel adjustable relay timer video in your UA-cam can you plz help me out for this?
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
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
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..
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
Thank you!! So nice and detailed explanation..
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 ua-cam.com/video/Q9aBI4ELKC4/v-deo.html watch the video so you how it works.
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.
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 ua-cam.com/video/-JD3E7e0RAE/v-deo.html
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).
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
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 ua-cam.com/video/Mbb2xa1WcRM/v-deo.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.
can you use the 4 relay channel to control 3 or 4 12v dc motor?
load is load. yes you can.
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.
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. 🙏🏻🙏🏻🙏🏻
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?
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.
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
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 ua-cam.com/video/Rfaz5qOLKYQ/v-deo.html it should work the same way.
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👍
What is the name of that ruler you are using
Hello, I just added link to the product in the description.
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
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?
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.
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?
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.
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 .
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.
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
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.
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 ua-cam.com/video/7CCSRs5bvH0/v-deo.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.
Relay can connect direct with ac?
See this video showing wiring diagram ua-cam.com/video/0PW22PD89u0/v-deo.html
Very good video, thanks !!
You are welcome.
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
How to decode any remote controller code with Arduino
search my channel for the word "remote"
Thanks very much !
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.
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?
Possible link diagram clearer
?
@@robojax
Possible link diagram clearer
Very nice explain thankx
you are welcome.
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.
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??
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.
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
will this work with arduino nano?
it will work with any arduino. it needs only need 8 digital pins to use this.
Yes bro
thanx You are The best!👍
You are welcome. So you are.
Thank you
Thanks a lot
You are welcome.
Can you turn me into vampire too?
hahahah. No I can't.
Code arduino with relay sir
It is under the video in description
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