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

  Рет қаралды 172,380

Robojax

Robojax

Күн бұрын

Пікірлер: 216
@MichaelSmith-yh9zn
@MichaelSmith-yh9zn 2 жыл бұрын
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.
@mdjames0001
@mdjames0001 4 жыл бұрын
Thank you! The only one that showed the external 5v connection properly.
@robojax
@robojax 4 жыл бұрын
you are welcome. good to hear that.
@ericlessard5021
@ericlessard5021 11 ай бұрын
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...
@gordon20248
@gordon20248 4 жыл бұрын
Thank you! Finally! The only one that clear with relay properly.
@robojax
@robojax 4 жыл бұрын
Good to hear , it helped
@بحرالعرب-ي8ش
@بحرالعرب-ي8ش 2 жыл бұрын
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 kzbin.info/www/bejne/hYTanZh5d9Geq6s or check the link to it Arduino course in the description
@PhilipTaramai
@PhilipTaramai 4 жыл бұрын
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 жыл бұрын
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
@LittLe_PunK
@LittLe_PunK Жыл бұрын
Bro... Is that possible if we controlling the alternating current fan with fuzzy logic on arduino?
@justinherdman87
@justinherdman87 Жыл бұрын
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..
@neelranade6322
@neelranade6322 2 жыл бұрын
Please make a video on controlling these 4 relays with 4 push buttons using millis() funtion in arduino
@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.
@heartfilia9181
@heartfilia9181 6 жыл бұрын
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 жыл бұрын
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
@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 kzbin.info/www/bejne/hZnOhpabd7yWftU
@muhammadmudassir6343
@muhammadmudassir6343 2 жыл бұрын
@@robojax sir I couldn't find 4 channel adjustable relay timer video in your KZbin can you plz help me out for this?
@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 kzbin.info/www/bejne/ZoG6Y2WGeZ1sq5I
@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 kzbin.info/www/bejne/bXSmhIWpasepfpI 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.
@yashthadhawani5510
@yashthadhawani5510 Жыл бұрын
Hey my ssr relay is giving a leakage of 7-8 v when its off any solution for this?
@trevorbelmont4633
@trevorbelmont4633 5 ай бұрын
So if your relay is 12v.. you have to supply also 12v in the VCC?
@robojax
@robojax 5 ай бұрын
Yes
@trevorbelmont4633
@trevorbelmont4633 5 ай бұрын
@@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..
@melkishchandar3840
@melkishchandar3840 3 жыл бұрын
tysm for this detailed explanation , you are a saviour
@firliwirany4006
@firliwirany4006 6 жыл бұрын
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 жыл бұрын
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 kzbin.info/www/bejne/n3_IkpJ-gp5pbaM
@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.
@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.
@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. 🙏🏻🙏🏻🙏🏻
@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 kzbin.infosearch?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. kzbin.info/www/bejne/a2m7iIl6o6dqidU I will create another version of this video in a few months.
@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.
@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 жыл бұрын
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
@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).
@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 kzbin.info/www/bejne/Y3unZHhtmpWFd6c
@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
@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 жыл бұрын
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
@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.
@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 kzbin.info/www/bejne/g5PFY6uXZryWiK8
@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 kzbin.info/www/bejne/ml7Mepaegd6bapo . I have series of videos on remote control using arduino kzbin.info/www/bejne/o6aknHWHl5dnhKs 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.
@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.......?
@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 kzbin.info/www/bejne/iJfEq2inhLF-j7M it should work the same way.
@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
@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.
@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 жыл бұрын
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.
@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/
@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👍
@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 kzbin.info/www/bejne/h2rEc3xqerF-eZY watch the video so you how it works.
@ulagathamilan
@ulagathamilan 6 жыл бұрын
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 6 жыл бұрын
Yes. Arduino can supply up to 400mA and that is enough for all 4.
@ulagathamilan
@ulagathamilan 6 жыл бұрын
@@robojax Thank you.
@robojax
@robojax 6 жыл бұрын
You are welcome.
@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 жыл бұрын
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?
@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
@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
@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 жыл бұрын
I replied to your request in another video.
@Inferlogist
@Inferlogist 5 жыл бұрын
@@robojax Thank you
@robojax
@robojax 5 жыл бұрын
You are welcome.
@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.
@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.
@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 жыл бұрын
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.
@Elnamech
@Elnamech 5 жыл бұрын
Thank you for this clear and easy to understand tutorial!
@robojax
@robojax 5 жыл бұрын
You are welcome. In 2 or 3 days my Udemy course is being launched.
@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.
@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.
@umarahsan559
@umarahsan559 6 жыл бұрын
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).
@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.
@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?
@전은지-d8x
@전은지-d8x 3 жыл бұрын
Thank you!! So nice and detailed explanation..
@tuanmohamadfarid2829
@tuanmohamadfarid2829 2 жыл бұрын
Relay can connect direct with ac?
@robojax
@robojax 2 жыл бұрын
See this video showing wiring diagram kzbin.info/www/bejne/ZoG6Y2WGeZ1sq5I
@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 kzbin.info/www/bejne/Z6u7nYltq9KAg8k or ESP8266 NodeMCU kzbin.info/www/bejne/l2nce6Kbe9h-jdk
@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
@TheBrightPixel
@TheBrightPixel 6 жыл бұрын
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.
@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 жыл бұрын
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 ....
@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 жыл бұрын
Very interesting. I have it in my list and whenever item permits, I will make video.
@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
@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.
@diyintrovert961
@diyintrovert961 4 ай бұрын
I'm a bit confused as to how to control 4 AC loads with a 4-channel relay.
@robojax
@robojax 4 ай бұрын
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 4 ай бұрын
@@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?
@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 жыл бұрын
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?
@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 6 жыл бұрын
Linrox di
@robojax
@robojax 6 жыл бұрын
You will need to disconnect ONE wire either live or neutral. Earth wire should be touched.
@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.😊
@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 kzbin.info/www/bejne/bXSmhIWpasepfpI
@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.
@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.
@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
@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
@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??
@siddharthachatterjee9959
@siddharthachatterjee9959 6 жыл бұрын
Very good video, thanks !!
@robojax
@robojax 6 жыл бұрын
You are welcome.
@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
@gerhardspinker510
@gerhardspinker510 3 жыл бұрын
How to decode any remote controller code with Arduino
@robojax
@robojax 3 жыл бұрын
search my channel for the word "remote"
@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.
@ihsanjasimshaheedal_luhaib3804
@ihsanjasimshaheedal_luhaib3804 3 жыл бұрын
Possible link diagram clearer
@robojax
@robojax 3 жыл бұрын
?
@ihsanjasimshaheedal_luhaib3804
@ihsanjasimshaheedal_luhaib3804 3 жыл бұрын
@@robojax Possible link diagram clearer
@draganmihai4897
@draganmihai4897 Жыл бұрын
Thanks very much !
@omoivo6525
@omoivo6525 6 жыл бұрын
thanx You are The best!👍
@robojax
@robojax 6 жыл бұрын
You are welcome. So you are.
@HowTo-qh6cx
@HowTo-qh6cx 6 жыл бұрын
Very nice explain thankx
@robojax
@robojax 6 жыл бұрын
you are welcome.
@michaeltardi3179
@michaeltardi3179 2 жыл бұрын
Thank you
@MAZ29
@MAZ29 5 жыл бұрын
Thanks a lot
@robojax
@robojax 5 жыл бұрын
You are welcome.
@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 .
@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 6 жыл бұрын
Hindi me video banaye please please please please please please please sie
@robojax
@robojax 6 жыл бұрын
इस निर्देश को देखें। आप इस वीडियो को किसी भी भाषा में उपशीर्षक के साथ देख सकते हैं। 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
Connecting a Relay Module to a Microcontroller
11:41
Brad Henson
Рет қаралды 264 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
#18 Add a Relay Module to your Arduino project - Hints, Tips & Traps
16:52
DIY Smart Switch - Part 1 how to use a relay
8:02
byte sized engineering
Рет қаралды 644 М.
How to use an Arduino Relay Module
4:41
Tinker & Build
Рет қаралды 157 М.
How I2C Communication Works and How To Use It with Arduino
9:57
How To Mechatronics
Рет қаралды 1,5 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.