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

Поділитися
Вставка

КОМЕНТАРІ • 216

  • @mdjames0001
    @mdjames0001 4 роки тому +5

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

    • @robojax
      @robojax  4 роки тому

      you are welcome. good to hear that.

  • @MichaelSmith-yh9zn
    @MichaelSmith-yh9zn 2 роки тому +1

    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.

  • @gordon20248
    @gordon20248 4 роки тому +2

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

    • @robojax
      @robojax  4 роки тому

      Good to hear , it helped

  • @PhilipTaramai
    @PhilipTaramai 4 роки тому +1

    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 :-)

    • @robojax
      @robojax  4 роки тому

      Thank you for letting me know. I just added the chapter you mentioned.

  • @CetanHota66
    @CetanHota66 3 роки тому +1

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

    • @robojax
      @robojax  3 роки тому

      You are welcome. Please subscribe. I appreciate it and helps my channel grow. Thank you

  • @neelranade6322
    @neelranade6322 2 роки тому +1

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

  • @gerhardspinker510
    @gerhardspinker510 3 роки тому

    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

    • @robojax
      @robojax  3 роки тому

      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/

  • @ericlessard5021
    @ericlessard5021 10 місяців тому +1

    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...

  • @acevedod
    @acevedod Рік тому

    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

  • @بحرالعرب-ي8ش
    @بحرالعرب-ي8ش 2 роки тому +1

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

    • @robojax
      @robojax  2 роки тому

      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

  • @buraqtv3668
    @buraqtv3668 5 років тому

    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.

    • @robojax
      @robojax  5 років тому

      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.

  • @melkishchandar3840
    @melkishchandar3840 3 роки тому +1

    tysm for this detailed explanation , you are a saviour

  • @pujanshrestha2983
    @pujanshrestha2983 4 роки тому

    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
      @robojax  4 роки тому +1

      you are welcome. When Arduino turns OFF, it starts from beginning.

    • @pujanshrestha2983
      @pujanshrestha2983 4 роки тому

      @@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.

  • @LittLe_PunK
    @LittLe_PunK Рік тому

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

  • @firliwirany4006
    @firliwirany4006 6 років тому +2

    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!

    • @robojax
      @robojax  6 років тому +1

      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

  • @Amonimus
    @Amonimus 5 років тому

    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.

    • @robojax
      @robojax  5 років тому

      Good to hear that . I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊

  • @shahidhasri1481
    @shahidhasri1481 3 роки тому

    Sir nice video. I want to ask you, what type of 5v power I connect into jdd vcc? battery or plug?

    • @robojax
      @robojax  3 роки тому

      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).

  • @justinherdman87
    @justinherdman87 11 місяців тому

    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..

  • @gerhardspinker510
    @gerhardspinker510 3 роки тому

    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.

  • @mahimnathombare1426
    @mahimnathombare1426 6 років тому

    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.

    • @robojax
      @robojax  6 років тому

      You are welcome.
      I am sorry I did not understand what you want to do. Relay and Arduino parallel? No possible.

  • @gerhardspinker510
    @gerhardspinker510 3 роки тому

    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

    • @robojax
      @robojax  3 роки тому

      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.

  • @heartfilia9181
    @heartfilia9181 6 років тому +4

    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?

    • @robojax
      @robojax  6 років тому +1

      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.

    • @heartfilia9181
      @heartfilia9181 6 років тому

      i cant paste the image

    • @heartfilia9181
      @heartfilia9181 6 років тому

      i wanna make the project using arduino uno, relay 5v-4ch, bluetooth module with load like i said in the commend ty

    • @robojax
      @robojax  6 років тому

      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

    • @heartfilia9181
      @heartfilia9181 6 років тому

      snag.gy/YHgUC1.jpg

  • @conchitapanes9365
    @conchitapanes9365 4 роки тому

    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

    • @robojax
      @robojax  4 роки тому

      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.

  • @Inferlogist
    @Inferlogist 5 років тому

    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 .

    • @robojax
      @robojax  5 років тому +1

      I replied to your request in another video.

    • @Inferlogist
      @Inferlogist 5 років тому

      @@robojax Thank you

    • @robojax
      @robojax  5 років тому

      You are welcome.

  • @nataliagaming5792
    @nataliagaming5792 2 роки тому

    Hello sir . Can I connect the extra 5v to the Arduino also. Cuz I don't understand the diagram.thank. hoping for your response.

    • @robojax
      @robojax  2 роки тому

      Here is the better video from my course ua-cam.com/video/0PW22PD89u0/v-deo.html

  • @charushilaraskar3297
    @charushilaraskar3297 6 років тому

    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

    • @robojax
      @robojax  6 років тому

      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.

  • @Elnamech
    @Elnamech 5 років тому

    Thank you for this clear and easy to understand tutorial!

    • @robojax
      @robojax  5 років тому +1

      You are welcome. In 2 or 3 days my Udemy course is being launched.

  • @pawansingh8145
    @pawansingh8145 4 роки тому

    Grt video sir..sir can i use this codes for doing load shedding network module...by using 3 relay

    • @robojax
      @robojax  4 роки тому +1

      Hello, I don't know what "load shedding" is. But this is just a switch that turning something ON and OFF.

    • @pawansingh8145
      @pawansingh8145 4 роки тому

      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 ....

  • @kobusknox8531
    @kobusknox8531 6 років тому

    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

  • @heroesandzeros7802
    @heroesandzeros7802 4 роки тому

    Sir, Thanks for video. Can you please tell me how to control 4 channel relay wirelessly with FS-T4B / FS-T6B?

    • @robojax
      @robojax  4 роки тому

      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

  • @svullaskumar1621
    @svullaskumar1621 5 років тому

    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.......?

  • @jefykb2590
    @jefykb2590 3 роки тому

    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

    • @robojax
      @robojax  3 роки тому

      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.

  • @pratahsinnetamby
    @pratahsinnetamby 4 роки тому

    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.

    • @robojax
      @robojax  4 роки тому

      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

  • @coreygibson2590
    @coreygibson2590 5 років тому

    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

    • @robojax
      @robojax  5 років тому

      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.

  • @muhammadmudassir6343
    @muhammadmudassir6343 2 роки тому

    Do you have adjustable 4 channel relay timer by using 16*2 LCD and buttons

    • @robojax
      @robojax  2 роки тому

      Here is how to search a channel for particular video ua-cam.com/video/OhkUceBWcHs/v-deo.html

    • @muhammadmudassir6343
      @muhammadmudassir6343 2 роки тому

      @@robojax sir I couldn't find 4 channel adjustable relay timer video in your UA-cam can you plz help me out for this?

  • @fazeelarshad1511
    @fazeelarshad1511 4 роки тому

    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?

    • @robojax
      @robojax  4 роки тому +1

      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.

    • @fazeelarshad1511
      @fazeelarshad1511 4 роки тому

      @@robojax i will test this. Thanks

  • @kishorkumarlenka7466
    @kishorkumarlenka7466 4 роки тому

    Sir I want to use your relay. Can i get feedback from equipment? which is on or off. thank you sir

    • @robojax
      @robojax  4 роки тому

      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

  • @trevorbelmont4633
    @trevorbelmont4633 4 місяці тому

    So if your relay is 12v.. you have to supply also 12v in the VCC?

    • @robojax
      @robojax  4 місяці тому +1

      Yes

    • @trevorbelmont4633
      @trevorbelmont4633 4 місяці тому

      @@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..

  • @adhilpa1489
    @adhilpa1489 4 роки тому

    Good tutorial
    Can you make video 4 channel each 20 on/off schedule timer switch, please

    • @robojax
      @robojax  4 роки тому

      what is the job of switches? We have 4 relay and why 20 switches?

    • @adhilpa1489
      @adhilpa1489 4 роки тому

      @@robojax not 20 switch,20 independent schedule for each 4 relay switch

    • @robojax
      @robojax  4 роки тому

      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?

    • @adhilpa1489
      @adhilpa1489 4 роки тому

      Yes ,on/off for specific time

  • @전은지-d8x
    @전은지-d8x 3 роки тому

    Thank you!! So nice and detailed explanation..

  • @tejasjadwani9414
    @tejasjadwani9414 4 роки тому

    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.

    • @robojax
      @robojax  4 роки тому

      then use the code in this video ua-cam.com/video/Q9aBI4ELKC4/v-deo.html watch the video so you how it works.

  • @Time4yes
    @Time4yes 3 роки тому

    Can this be used in an industrial project, when consistency is the key?

    • @robojax
      @robojax  3 роки тому

      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

    • @Time4yes
      @Time4yes 3 роки тому

      @@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.

  • @bergetun
    @bergetun 4 роки тому

    Can the relay in this example also controll 10-30v DC equipment or only AC ?

    • @robojax
      @robojax  4 роки тому

      Rely can control AC and DC load. The rating as to how much load they can handle is written on the relay.

  • @yashthadhawani5510
    @yashthadhawani5510 Рік тому

    Hey my ssr relay is giving a leakage of 7-8 v when its off any solution for this?

  • @aju5405
    @aju5405 4 роки тому

    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.

    • @robojax
      @robojax  4 роки тому

      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

  • @umarahsan559
    @umarahsan559 6 років тому +1

    Thanks alot for detailed & in depth video

    • @robojax
      @robojax  4 роки тому

      You are welcome (after ONE year youtube added a tools to see which comment hasn't got a reply).

  • @slonersoftgames6589
    @slonersoftgames6589 5 років тому

    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?

    • @robojax
      @robojax  5 років тому +1

      for safety reasons, you should connect each relay to AC separately. If you are not sure, asked someone with experience.

    • @slonersoftgames6589
      @slonersoftgames6589 5 років тому

      @@robojax In this case, I'm using DC. Does that change anything?

    • @robojax
      @robojax  5 років тому

      no . You have to observe the rating and not exceed to current written on the relay.. Ahmad from Canada

  • @prasadmhetras27
    @prasadmhetras27 3 роки тому

    Can I program each relay multiple times on and off?

    • @robojax
      @robojax  3 роки тому

      Hello, learn Arduino in this 30 minutes video and you can do anything with it ua-cam.com/video/Mbb2xa1WcRM/v-deo.html

  • @rohanskoshti
    @rohanskoshti 6 років тому

    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 ?

    • @robojax
      @robojax  6 років тому

      Yes you can connect it to Arduino. I am assuming you are connecting Arduino via a USB that can supply at least 500mA.

  • @ztiger09
    @ztiger09 3 роки тому

    can you use the 4 relay channel to control 3 or 4 12v dc motor?

    • @robojax
      @robojax  3 роки тому

      load is load. yes you can.

  • @adityadubey9859
    @adityadubey9859 5 років тому

    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?

    • @robojax
      @robojax  5 років тому +3

      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.

  • @RamaDani-sr2vy
    @RamaDani-sr2vy 3 роки тому

    This modul relay can use for DC?
    Like electronic valve 12 dc?

    • @robojax
      @robojax  3 роки тому

      relay is a switch you can control AC or DC. I must have mentioned "AC or DC load".

    • @RamaDani-sr2vy
      @RamaDani-sr2vy 3 роки тому

      @@robojax Oke, thanks now i will try to use this. 🙏🏻🙏🏻🙏🏻

  • @ghaffarmughal1305
    @ghaffarmughal1305 4 роки тому

    Can you make a ardrino relay system which consist or working on dc 12v load

    • @robojax
      @robojax  4 роки тому

      ? not clear. type in your language and I will use google to translate it.

    • @deepakbhangale626
      @deepakbhangale626 4 роки тому

      @@robojax can we use 12 volt relay and same code same wiring insteade of 2 v relay?

  • @ulagathamilan
    @ulagathamilan 5 років тому

    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?

    • @robojax
      @robojax  5 років тому

      Yes. Arduino can supply up to 400mA and that is enough for all 4.

    • @ulagathamilan
      @ulagathamilan 5 років тому

      @@robojax Thank you.

    • @robojax
      @robojax  5 років тому

      You are welcome.

  • @am012jaisshankar.g3
    @am012jaisshankar.g3 5 років тому

    Sir can I connect 4 relay with water. Pump of ac current can I run without shot

    • @robojax
      @robojax  5 років тому

      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

  • @sarath4659
    @sarath4659 4 роки тому

    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..

    • @robojax
      @robojax  4 роки тому

      Hi bad wiring. check it again.

    • @sarath4659
      @sarath4659 4 роки тому

      @@robojax But where is bad connection i dont understand....in the relays??

    • @robojax
      @robojax  4 роки тому

      try this code ua-cam.com/video/Rfaz5qOLKYQ/v-deo.html it should work the same way.

  • @camrutha1797
    @camrutha1797 3 роки тому

    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?

    • @robojax
      @robojax  3 роки тому

      I explained it in the videos. Can’t be explained better than video. Must check your relay wiring.

    • @camrutha1797
      @camrutha1797 3 роки тому

      @@robojax ok sir👍

  • @emmanuelgenerale2821
    @emmanuelgenerale2821 3 роки тому

    What is the name of that ruler you are using

    • @robojax
      @robojax  3 роки тому

      Hello, I just added link to the product in the description.

  • @jonnadachakravarthy7388
    @jonnadachakravarthy7388 5 років тому

    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

    • @robojax
      @robojax  5 років тому +1

      No it will not work with 3.3V. That would be issue. You need to make level shifter or add module. .

    • @jonnadachakravarthy7388
      @jonnadachakravarthy7388 5 років тому

      @@robojax thanks for the promptreply

    • @robojax
      @robojax  5 років тому

      You are welcome. Here is how you can change the level from 5V to 3.3V snipboard.io/gJXm0c.jpg

  • @Kemax1
    @Kemax1 4 роки тому

    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 :-(

    • @robojax
      @robojax  4 роки тому

      Yes. GND is common and yes it is not totally isolated.

    • @Kemax1
      @Kemax1 4 роки тому

      @@robojax What then is the point of using optocouplers?

  • @industron22
    @industron22 5 років тому

    SIR.I WANT TO KNOW THAT HOW CAN I USE EEPROM IN THIS PROJECT SO THAT I CAN RESUME AFTER POWER FAILURE

    • @robojax
      @robojax  5 років тому +2

      Very interesting. I have it in my list and whenever item permits, I will make video.

  • @diyintrovert961
    @diyintrovert961 3 місяці тому

    I'm a bit confused as to how to control 4 AC loads with a 4-channel relay.

    • @robojax
      @robojax  3 місяці тому

      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.

    • @diyintrovert961
      @diyintrovert961 3 місяці тому

      @@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?

  • @TheBrightPixel
    @TheBrightPixel 6 років тому +1

    Your example code uses temp which is undeclared...

    • @robojax
      @robojax  6 років тому

      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.

    • @TheBrightPixel
      @TheBrightPixel 6 років тому

      @@robojax I watched the video. Just letting you know your example code doesn't compile.

    • @robojax
      @robojax  6 років тому

      Check the code. U have updated it. If you watched the video, it should work.

    • @TheBrightPixel
      @TheBrightPixel 6 років тому

      ​@@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.

  • @pictoescultura
    @pictoescultura 4 роки тому

    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 !!

    • @robojax
      @robojax  4 роки тому

      thank you. there are modules such NRF24L01 or use RC remote .

  • @harshitgupta1594
    @harshitgupta1594 5 років тому

    If I want to use only one relay for led the what is the coding for that

    • @robojax
      @robojax  5 років тому

      Watch the video. it has been explained on how to control each bulb.

  • @tumimbanghymarvannd.8603
    @tumimbanghymarvannd.8603 6 років тому

    Can i turn it on and off using an android app? I was making a Wifi Enabled Smart Plug for my project. Tnx

    • @robojax
      @robojax  6 років тому

      Yes you can. here is the video robojax.com/learn/arduino/?vid=robojax-HC-06-bluetooth-AC

  • @angeljovanovski2881
    @angeljovanovski2881 5 років тому

    With this type of relay in your video. can i control DC load ?

    • @robojax
      @robojax  5 років тому

      You can control DC or AC load. Relay has been explained in video. Watch it.

    • @LandonStewart
      @LandonStewart 5 років тому

      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.

  • @jagan1407
    @jagan1407 6 років тому

    Can you help about working and switch with manually

    • @robojax
      @robojax  6 років тому

      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

    • @ieixcalibur7220
      @ieixcalibur7220 6 років тому

      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.

  • @tuanmohamadfarid2829
    @tuanmohamadfarid2829 2 роки тому

    Relay can connect direct with ac?

    • @robojax
      @robojax  2 роки тому

      See this video showing wiring diagram ua-cam.com/video/0PW22PD89u0/v-deo.html

  • @siddharthachatterjee9959
    @siddharthachatterjee9959 6 років тому

    Very good video, thanks !!

    • @robojax
      @robojax  6 років тому

      You are welcome.

  • @RightlyFree
    @RightlyFree 3 роки тому

    Salam, what about 100 VDC load, how many amperes?

    • @robojax
      @robojax  3 роки тому

      Walaikum salaam, you made me watch the video. I have explained it. please watch. it starts at 5:56.

    • @RightlyFree
      @RightlyFree 3 роки тому

      @@robojax Salam, You Explained the AC load , but not the DC load

  • @gerhardspinker510
    @gerhardspinker510 3 роки тому

    How to decode any remote controller code with Arduino

    • @robojax
      @robojax  3 роки тому

      search my channel for the word "remote"

  • @draganmihai4897
    @draganmihai4897 Рік тому

    Thanks very much !

  • @rabiulislam5301
    @rabiulislam5301 4 роки тому

    i need code for 4 chanel relay controling with arduino and sim900A.plz help.

    • @robojax
      @robojax  4 роки тому

      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.

  • @shantamsridev
    @shantamsridev 5 років тому

    Wait.....can't you only run 5v from the relay? How is he running AC for lights won't that be more than 5V?

    • @robojax
      @robojax  5 років тому +1

      Watch the video it has been explained. Do not escape.

    • @shantamsridev
      @shantamsridev 5 років тому

      @@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?

  • @ihsanjasimshaheedal_luhaib3804
    @ihsanjasimshaheedal_luhaib3804 3 роки тому

    Possible link diagram clearer

  • @HowTo-qh6cx
    @HowTo-qh6cx 6 років тому

    Very nice explain thankx

    • @robojax
      @robojax  6 років тому

      you are welcome.

  • @jaojaopineda5361
    @jaojaopineda5361 4 роки тому

    sir can i upload this code for arduino uno?..

    • @robojax
      @robojax  4 роки тому

      I believe I've shown you on Arduino. Yes and with any Arduino it should work.

  • @foodworld8776
    @foodworld8776 4 роки тому

    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
      @robojax  4 роки тому

      Hi, I don't have such project. Sorry.

    • @foodworld8776
      @foodworld8776 4 роки тому

      @@robojax sir plz give me coding of arduino uno for 2 ralay??

  • @Linrox
    @Linrox 6 років тому

    do these boards have an earth AC connection?

    • @robojax
      @robojax  6 років тому

      you don't need to connect it to the AC ground. It should be isolated from the AC circuit.

    • @Linrox
      @Linrox 6 років тому

      @@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

    • @Ostrica391
      @Ostrica391 5 років тому

      Linrox di

    • @robojax
      @robojax  5 років тому

      You will need to disconnect ONE wire either live or neutral. Earth wire should be touched.

  • @dharavathnaveen7487
    @dharavathnaveen7487 5 років тому

    Sir i want the code to automatic control of different sources

    • @robojax
      @robojax  5 років тому

      this is very vague. how and what kind if devices you want to control?

    • @dharavathnaveen7487
      @dharavathnaveen7487 5 років тому

      @@robojax sir i am doing the project of autopower supply using four different sources

    • @dharavathnaveen7487
      @dharavathnaveen7487 5 років тому

      So i use four switches and when i switch on the second switch the first first relay should automatically off and so on

    • @dharavathnaveen7487
      @dharavathnaveen7487 5 років тому

      Four sources are given to four relays

  • @ashishbhengra6480
    @ashishbhengra6480 5 років тому

    will this work with arduino nano?

    • @robojax
      @robojax  5 років тому

      it will work with any arduino. it needs only need 8 digital pins to use this.

    • @innovationlab9007
      @innovationlab9007 5 років тому

      Yes bro

  • @omoivo6525
    @omoivo6525 6 років тому

    thanx You are The best!👍

    • @robojax
      @robojax  6 років тому

      You are welcome. So you are.

  • @michaeltardi3179
    @michaeltardi3179 2 роки тому

    Thank you

  • @MAZ29
    @MAZ29 5 років тому

    Thanks a lot

    • @robojax
      @robojax  5 років тому

      You are welcome.

  • @mendebil
    @mendebil 5 років тому

    Can you turn me into vampire too?

    • @robojax
      @robojax  5 років тому

      hahahah. No I can't.

  • @fuddinmamum9926
    @fuddinmamum9926 2 роки тому

    Code arduino with relay sir

    • @robojax
      @robojax  2 роки тому

      It is under the video in description

  • @unboxingchainal1168
    @unboxingchainal1168 5 років тому

    Hindi me video banaye please please please please please please please sie

    • @robojax
      @robojax  5 років тому

      इस निर्देश को देखें। आप इस वीडियो को किसी भी भाषा में उपशीर्षक के साथ देख सकते हैं। snag.gy/x80ryg.jpg

  • @videochannel5467
    @videochannel5467 3 роки тому

    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 :-)

    • @robojax
      @robojax  3 роки тому

      What do you mean external DC? Isn’t this connected to 5V?

    • @videochannel5467
      @videochannel5467 3 роки тому

      ​@@robojax Yes, Ok

  • @moflavor9836
    @moflavor9836 Рік тому

    Thank You