Lesson 68, Home Automation: How to control 16 Channel Relay module using Arduino control 16 AC loads

  Рет қаралды 143,602

Robojax

Robojax

Күн бұрын

Пікірлер: 230
@polako89
@polako89 2 жыл бұрын
The explanation about the board is better than any other thing you can find online! Thank you!
@akarshsachdeva5289
@akarshsachdeva5289 25 күн бұрын
Thank you very much for explaining the 5V and GND connection with arduino. I was so confused with the common ground problem.
@robojax
@robojax 23 күн бұрын
Glad it helped
@mustaphaalaoui9320
@mustaphaalaoui9320 3 жыл бұрын
Thank you very much for this excellent tutorial and video.
@leochen4891
@leochen4891 4 жыл бұрын
I can watch the relays on and off all day.
@robojax
@robojax 4 жыл бұрын
Yes LOL.
@asab994
@asab994 2 жыл бұрын
A really excellent tutorial. Thank you so much for posting this.
@nikitaKaner
@nikitaKaner Жыл бұрын
Thank you for the explanation! You saved me! :)
@robojax
@robojax Жыл бұрын
You are welcome!
@nastuhi2509
@nastuhi2509 2 жыл бұрын
thank you so much you saved my life with that one
@edwinhdz5014
@edwinhdz5014 3 жыл бұрын
I could sleep with the sound of this relays
@kakleerko2088
@kakleerko2088 Жыл бұрын
Iam watching your video from India your explanation is very nice 👍
@robojax
@robojax Жыл бұрын
You are welcome. Here is Arduino Step by Step course worth $200 on Udemy, for free starts here kzbin.info/www/bejne/Y2fUhKV6iqZol5o
@darshanlokesh6498
@darshanlokesh6498 3 жыл бұрын
Excellent Explanation in KZbin... So far on this topic
@robojax
@robojax 3 жыл бұрын
You are welcome. Please subscribe. I appreciate it and helps my channel grow. Thank you
@MrMrbrianbechtel
@MrMrbrianbechtel 4 ай бұрын
Thank you for making this
@robojax
@robojax 4 ай бұрын
My pleasure!
@dandrion2
@dandrion2 4 жыл бұрын
Thank you very much Sir for the informative video tutorial. Helps a lot.
@robojax
@robojax 4 жыл бұрын
You are welcome.
@brasofilo
@brasofilo 5 жыл бұрын
Very good stuff, great explanation and production values, thanks a lot for sharing!
@robojax
@robojax 5 жыл бұрын
You are welcome.
@kakleerko2088
@kakleerko2088 Жыл бұрын
Iam watching your video from India
@QuickMind
@QuickMind 5 жыл бұрын
you should do this 16 relay board being controlled by Arduino and the Nextion Touch Screen with 16 digital buttons :)
@robojax
@robojax 5 жыл бұрын
Interesting. I will try to get that screen.
@kingfarming
@kingfarming 5 жыл бұрын
Amzing video Very nice
@robojax
@robojax 5 жыл бұрын
thank you.
@pbartmess
@pbartmess 4 жыл бұрын
Very clear explanation! Thank you.
@robojax
@robojax 4 жыл бұрын
You are welcome.
@rockentertainment7979
@rockentertainment7979 4 жыл бұрын
Brother which type of relay is this
@rockentertainment7979
@rockentertainment7979 4 жыл бұрын
Solid state relay A or type of relay
@driftwood9421
@driftwood9421 5 жыл бұрын
Brilliant video RJ. A big thank you for all your uploads, really appreciate these tutorials. Have watched a few now and the detail you go into and the helpful information you provide is very much appreciated. A new like and a new sub here.
@robojax
@robojax 5 жыл бұрын
You are very welcome. I am pleased be helpful. I appreciate your comment, like and subscription.
@dickwhittington7321
@dickwhittington7321 Жыл бұрын
Great, easy to understand videos by the way.
@dennishamilton902
@dennishamilton902 2 жыл бұрын
Amazing video! This might seem like a stupid/obvious question but can you decide how many Watts/Amps/Voltage your relays output. For example if I only want to output 9V at 1A per relay would that be possible or no?
@robojax
@robojax 2 жыл бұрын
Hi, the relay is just a switch. you can connect anything you want does not matter 9V or 200V. just keep it less than 10A or whatever is written on the relay.
@ygreq
@ygreq 4 жыл бұрын
Very, very informative video!
@robojax
@robojax 4 жыл бұрын
Thank you. I am glad you found it useful.
@Khujandiho
@Khujandiho 2 жыл бұрын
very good. thank you
@sgundil
@sgundil 4 жыл бұрын
Most helpful video. Excellent explanation. Thank you. In case I do not want a continuous loop but only want to use for sequential delay so that the relays remain ON continuously after a certain time, what would be the code?
@robojax
@robojax 4 жыл бұрын
You are welcome. You haven't subscribed to my channel. The best thank you for me is to subscribe to my channel and thumb up the video. It is greatly appreciated. 🔔 😊 Please watch my other video on Timer kzbin.infosearch?query=timer
@Elettronica-xt7nm
@Elettronica-xt7nm 6 жыл бұрын
Beautiful, beautiful, the video as always very constructive your tutorials. Speaking of 16 relays, instead could you make a video tutorial to manage the relays with the MCP23017 component that uses only the I2C mode is I able to have more free ports of Arduino? Thank you very much for the attention .
@robojax
@robojax 6 жыл бұрын
you are welcome. I utilised Anolog (A0, A1, ...) ports to make it work. Other methods are coming soon.
@Elettronica-xt7nm
@Elettronica-xt7nm 6 жыл бұрын
@@robojax I will wait for the videos soon. Thanks so much😉
@roperhl
@roperhl 5 жыл бұрын
Very well explaned
@robojax
@robojax 5 жыл бұрын
Thank you.
@jimmyjimmy7324
@jimmyjimmy7324 5 жыл бұрын
Hi, great video!!! I done your project in few minutes. I need a different function. I want to switch on (for 200-400 ms ) one by one all the relay. So, first relay on for 200ms then off, second relay on for 200ms then off... up to the 16th relay. I'm not native language english so if is not clear I will try to explain it better. Thank you
@robojax
@robojax 5 жыл бұрын
I have given example in the code. Did you see this: //channelControl(6,1, 2000); // turn relay 7 ON for 2 seconds //channelControl(6,0, 5000); // turn relay 7 OFF for 5 seconds //channelControl(9,1, 3000); // turn relay 10 OFF for ever just above that, I have a "for" loop that controls all 16 relay. (below) which controls relay for 200ms, you replace it with the value. I have explained how relay is controlled. Watch the video again. for(int i=0; i
@jimmyjimmy7324
@jimmyjimmy7324 5 жыл бұрын
@@robojax thank you again. I'm going to try it. in the future I'll keep more attention
@DerekPicard
@DerekPicard 4 жыл бұрын
Great video
@robojax
@robojax 4 жыл бұрын
Thank you.
@shinjitsumasayoshi9072
@shinjitsumasayoshi9072 11 күн бұрын
kindly help. I need 20 relays to be controlled individually using wifi including 20 physical momentary switches for manual operation
@Elettronica-xt7nm
@Elettronica-xt7nm 6 жыл бұрын
hello Robojax. Congratulations on the video. I wanted to ask you if you had the possibility to do some video management of 32 relays using two mcp23017 through I2C. Thank you so much for your attention 😉
@robojax
@robojax 6 жыл бұрын
Hi Diego, all 32 channel relays are PLC based. I am not sure if there is demand for those to be used using Arduino. is it?
@Elettronica-xt7nm
@Elettronica-xt7nm 6 жыл бұрын
@@robojax I use them through the Blynk app, if possible.
@ernsthaeckel5276
@ernsthaeckel5276 5 жыл бұрын
Hey @Robojax Great work! The use of I2C (or SPI) would be useful, no need for the ribbon cable and leaving more ports on the arduino. In our project Arduino is proving restrictive for the code logic and data logging required so I am thinking ESP32. Its an IoT AC or DC power distribution device but where we want to record and store second by second fluctuations of voltage and current. I'll be following your work with much interest and would be interested to collaborate if we can work something out. At one point we were working on this sort of chip to breakout from the I2C www.ebay.co.uk/itm/20Pcs-Ti-Dip-SN74HC138N-74HC138-New-Ic-/132177047757?fbclid=IwAR2ANJOvx28Xf_IrwSTCSH0834ZJKa94uPY2gY5_zwSrqrQF03XJ27Z3aaM And I assume you have seen: www.ebay.co.uk/itm/16-Channel-12V-Relay-Module-Optocoupler-Protection-Power-Supply-for-Arduino-C1S3-/283138265199?fbclid=IwAR3ebvltHjzfZDV31QjKWtr1qGBhTCnxu09a_qTgskhk-hEwyUc7UCGnetM
@Elettronica-xt7nm
@Elettronica-xt7nm 5 жыл бұрын
@@ernsthaeckel5276 send an email to my address: dlamattina@mail.ru
@chowbrian8124
@chowbrian8124 5 жыл бұрын
Thank you for the informative video, I am relatively new to Arduino and I have a question, why is the Vin pin used as ground rather than the GND pin?
@robojax
@robojax 5 жыл бұрын
Some relay module are HIGH trigger and some LOW trigger. This is LOW trigger meaning it gets activated with LOW voltage. So we send LOW signal from Arduino output to turn it ON and we send HIGH to turn it OFF.
@alejandrominder2097
@alejandrominder2097 5 жыл бұрын
Thank you for the nice video. But something is wrong. With shift registers you could control as many boards as you want. Means you could use smaller Arduinos too. Even an AtTiny could do the job.
@robojax
@robojax 5 жыл бұрын
Yes you could. I might have a video on that. But Uno is the most common board.
@yogeshitaliya473
@yogeshitaliya473 6 жыл бұрын
Thanks Sir beginning automations
@robojax
@robojax 6 жыл бұрын
You are welcome.
@semanpreetsingh3367
@semanpreetsingh3367 Жыл бұрын
HI. Thankyou for the video. I have a query that I want to individually control 8 LEDs of like 3 Watt power and 3.5 V using 8 channel relay. Shall I connect external battery source? and would it be safe to do that?
@jackmcaleer7496
@jackmcaleer7496 3 жыл бұрын
Thanks for the video! It was fantastic and really helpful, I was wondering if you could advise me slightly for a project I'm working on? Q1. if I had 3 of these modules would it be possible to control all of them up to 48 channels from the single arduino? If not, would I need 3 arduinos and could I control them all at the same time? Q2. if I could control all 3 is it possible to set differing times for each relay, so for example, if I wanted channels 1,2,3 to all run at the exact same time, then I want ch4 to start 5 seconds after ch3 then ch5 to start 10 seconds after ch4 and so on, would these values be customisable? Q3. Say I wanted to program a schedule,more a light show for example on the arguing, could I start the show remotely from say a laptop? Just for example say I have a collection of Christmas lights in the garden could I start the Christmas light show from my laptop? Thanks so much for your help!
@robojax
@robojax 3 жыл бұрын
Arduino MEGA has enough pins and you can control it.
@onurbmti
@onurbmti 2 жыл бұрын
Hello I am using the 8 Channel Sainsmart relay board. I use 12V to power the board. I am using 24V to trigger a 24V solenoid (pinball flipper). The relays work but after a while they start to degrade and stop making connection to close the circuit to the 24V solenoid. What might be causing this issue. It appears the relays can handle up to 30V 10A,. Any help would be appreciated. Thanks
@pb1672
@pb1672 2 жыл бұрын
Can the 16 relays on a sainsmart 16 channel relay board be operated without using a Mega 2560 R3 or similar board? I just want to trigger some LED lights using a Game module I have.
@robingist6666
@robingist6666 5 жыл бұрын
thank you
@robojax
@robojax 5 жыл бұрын
you are welcome.
@dennischang5296
@dennischang5296 4 жыл бұрын
I've seen a few videos and wiring diagram where they hooked up the 5volt from relay board to 5volt on arduino.
@robojax
@robojax 4 жыл бұрын
Good to know. thanks.l
@dennischang5296
@dennischang5296 4 жыл бұрын
I was asking if this is correct?
@robojax
@robojax 4 жыл бұрын
Now the "?" mark helps. yes you can do that. You can power up Arduino with 9V to 12V if you connect it to VIN pin which is close to 5V and GND pin. This module has problem and you need to fix it. See this video kzbin.info/www/bejne/o3mzoquZqdJ9qNU
@dennischang5296
@dennischang5296 4 жыл бұрын
For some reason, doesn't matter what script I run, all the relay will all turn on at the same time. I have delays and timer on all of them, and I try a few different scripts, but with no luck. All the relays that are in my script will turn on (same time).
@robojax
@robojax 4 жыл бұрын
if you don't change the code, it will work. first trying it without changing and then modify it if you want.
@dennischang5296
@dennischang5296 4 жыл бұрын
@@robojax I left the code the way it is with no change and I'm still having the problem. What do you think is causing all the relays to turn on all at once?
@dennischang5296
@dennischang5296 4 жыл бұрын
I notice when the GPIO is set to "output" doesn't matter if it's true/high or false/low, there is some voltage coming out of that GPIO pin. Very low .179, this is why I think the relay stays on, and doesn't turn off.
@richardhough3640
@richardhough3640 4 жыл бұрын
Are you sure, we can power up the relay with 24 volt? You did not go up to 24 v. I watch your video may be thirteen times. You only said, max is 24 v but only increase it to 15 volt to module right?
@robojax
@robojax 4 жыл бұрын
commented on the "Fixing" video.
@louisruff1323
@louisruff1323 4 жыл бұрын
How could I manipulate the code to have more than one relay turn on at the same time?
@robojax
@robojax 4 жыл бұрын
Hi Louis, I have updated the code page. Added new code at the end of the page so you can control more than one relay.
@zsszabolcs
@zsszabolcs 4 жыл бұрын
Great video! I'm really new to the IoT world, and I'm wondering if it is possible to control the relays of this board directly with 3.3V instead of 5V (i.e. with Raspberry)?
@robojax
@robojax 4 жыл бұрын
yes they can be controlled. But the power must be 5V.
@zsszabolcs
@zsszabolcs 4 жыл бұрын
@@robojax Thanks for the quick response. One more question I have is whether I need to use the 5V pins of the relay board at all? Or are they really just for providing power to other electronics (like Arduino or RPi)?
@mikengo4036
@mikengo4036 2 жыл бұрын
can i use a bluetooth module to control the 16 channel relay module?
@robojax
@robojax 2 жыл бұрын
Yes of course. I have explained how each relay is controlled. Simply send the that command via Bluetooth
@frankgambino3147
@frankgambino3147 5 жыл бұрын
thank you for this most informative video, I have one question, can you convert this 16 channel solid state relay board from a low-level trigger to a high-level trigger?
@robojax
@robojax 5 жыл бұрын
you are welcome. you will need hardware like buffer, inverter which takes the signal and inverts it.So you will send HIGH and it makes it LOW. here is one chip that can do it: CD74HC240E which just needs 5V and ground: www.ti.com/lit/ds/symlink/cd74hc240.pdf
@peachville4383
@peachville4383 4 жыл бұрын
@@robojax actually just reverse the digitalWrite (controlPin i from HIGH to LOW and LOW to HIGH
@23andres09
@23andres09 3 жыл бұрын
Hi great video. I wanted to ask. If I dont want to supply the Arduino by the relay supply. I just dont put the 5V pins on the relay board but put the conect the GND pin of the relay to the GND pin of the arduino? what if I connect the 5V pin of the relay to the 5V of the arduino but left the GND pin of the relay disconnected? is it the same?
@robojax
@robojax 3 жыл бұрын
for every electric circuit, we need to connect two wires to complete the circuit. you need to power this module with 5V and you MUST connect GND. This module has problem when it is shipped and here is how to fix it kzbin.info/www/bejne/o3mzoquZqdJ9qNU
@jammyashell
@jammyashell 5 жыл бұрын
any ideas on adding a PIR to start the relay delay? I would like to use the relay for some lighting outside and have been playing about with the sketch but cant seem to get anything working.
@chrismathes1273
@chrismathes1273 5 жыл бұрын
You'd wire up the PIR to the arduino, then when your sketch detects motion (PIR output goes high) it would trigger one or more relays, presumably turning them off after some fixed amount of time once motion is no longer detected.
@jcdragon77
@jcdragon77 6 жыл бұрын
Great work. Could I use this to control 12-24 volt equipment in vehicles?
@robojax
@robojax 6 жыл бұрын
the relay can control any load of 10A (explained in video at 05:40). But powering up the this module, has an issue (watch it at 06:50) and I am posting another video today showing how to resolve it and then yes it can be powered up from 5-30V.
@abstudio1228
@abstudio1228 3 жыл бұрын
Hi Brother, i want to know there are some of the 16 relays are without voltage regulator (LM2596 or LM2576) and without any capacitors, so if you please tell me what's the importance and the job of these parts in the 16 relay module. Thnx
@robojax
@robojax 3 жыл бұрын
please see the provided link in the description and watch that video.
@vicjs216
@vicjs216 4 жыл бұрын
Thanks for your informative video. Can WiFi be added to this system and then controlled by a phone app. I am new to Arduino but not to electrical work. Thank you.
@robojax
@robojax 4 жыл бұрын
You are welcome. I will make that video God willing. it would be using ESP32 and ESP8266
@vicjs216
@vicjs216 4 жыл бұрын
@@robojax That would be much appreciated. Thank you again.
@robojax
@robojax 4 жыл бұрын
you are welcome.
@EatingChemicalFree
@EatingChemicalFree 4 жыл бұрын
Great video, do you know of a similar 16-Channel Relay that can supply 24VDC with a 24VDC input? Thanks
@robojax
@robojax 4 жыл бұрын
I am not sure. But you should find it on AliExpress.com or eBay. But it would be very simple to put 24V to 5V Buck converter Module (from eBay) and use it with 24V.
@edfx
@edfx 3 жыл бұрын
What happens if you exceed 10A per relay. Does it burn down or are they fused somehow?
@robojax
@robojax 3 жыл бұрын
I think I have mentioned it. it will burn and cause fire.
@patrickslota7374
@patrickslota7374 5 жыл бұрын
I want to use this to control actuators in a CNC machine. Basically a magnet closes a reed switch which places a HIGH on the arduino input. This in turn controls a relay that powers the actuator. There are 14 actuators that will work one after the other, never more than one at a time. What is code edit to allow this to happen?
@robojax
@robojax 5 жыл бұрын
Hi, Yes absolutely this work for that.
@patrickslota7374
@patrickslota7374 5 жыл бұрын
Robojax actually we just changed the design of the CNC. We are now using micro switches and a slide bar about 7 inches long. It engages a N/O switch placing a HIGH on the Arduino pin which closes the corresponding relay and drives current through an actuator causing it to go down and it stays down as long as the HIGH exits. As soon as the slide bar passes the switch opens and a LOW is placed on the Arduino pin. At this point I need to fire a second relay to drive current through the actuator in the opposite direction to make it go up to start position. Can you help me modify your code to cause this to function? I know where to place it but not sure of coding. Thanxx!!
@robojax
@robojax 5 жыл бұрын
for Normally Open or Normally close, you just connect to different to the module you can learn about that in this video: kzbin.info/www/bejne/a2m7iIl6o6dqidU For controlling the output to be HIGH or LOW, I have explained that in the video. It is called LOW or HIGH trigger and you can choose what type of trigger you want at the output of Arduino pin.
@rolandhalili5510
@rolandhalili5510 5 жыл бұрын
Could it be use for lights of motorcycle and safe? And can 12v use to trigger each relay? Thanks.
@robojax
@robojax 5 жыл бұрын
yes you can can.
@CircuitMindsS
@CircuitMindsS 10 ай бұрын
𝙃𝙞, 𝙍𝙚𝙨𝙥𝙚𝙘𝙩𝙚𝙙 𝙎𝙞𝙧, I want to connect 16 (actuators/motors)want to 𝒎𝒂𝒌𝒆 𝒂 𝒓𝒐𝒃𝒐𝒕 arm I wish control motors by programming so like that controlling speed and working time varying as my desire, Plz suggest me arduino..like that.. motors,or how to do it ,I will be very thankful
@srikeshiyer2695
@srikeshiyer2695 3 жыл бұрын
Why is it necessary to connect GND to arduino when the power supply GND is already connected?
@robojax
@robojax 3 жыл бұрын
Power supply and Arduino and any other device must have common in order to work together.
@techcargo2834
@techcargo2834 5 жыл бұрын
Thank you for informing about relay and I want information about arduino sensors kit available on Amazon can you give me information ?
@robojax
@robojax 5 жыл бұрын
You are welcome. There are 1000s of items. You better check my videos and find something that you want. I have over 280 videos kzbin.infovideos
@rekharam8049
@rekharam8049 5 жыл бұрын
Hey what's up I have a question I am good at circuits and programming but well I mess up with mechanical building. Can you suggest a mechanical building kit or something that help me out with this.
@robojax
@robojax 5 жыл бұрын
hi, to help you with what? this is just needs wiring to connect it to your motor or light or whatever you want to control.
@rekharam8049
@rekharam8049 5 жыл бұрын
No that i know but like i want to make a humanoid robot or some mechanisms i want some parts or something similar to make it
@rekharam8049
@rekharam8049 5 жыл бұрын
This is general question. Not about the video
@mrmatistp
@mrmatistp Жыл бұрын
and how would one map pins for this board with esp 8266 connected? home assistant integration
@robojax
@robojax Жыл бұрын
I am not sure what is "home assistant" as there are 100s of tools. You simply define a pin in the code to control each relay. I have introduction video for ESP8266 here kzbin.info/www/bejne/pn3ZoptrbLlmqZY which explains and gives example for pins and all other details
@smartassist9700
@smartassist9700 4 жыл бұрын
Can I use this arduino an 16 switch relay (or qty 2 8 switch relay to sense moisture near plants and have water pumps to give plant water until sensor picks up the new moisture?
@robojax
@robojax 4 жыл бұрын
Arduino can do almost anything. it depends how you use it and where.
@smartassist9700
@smartassist9700 4 жыл бұрын
I need someone with knowledge to do a video putting an 8 or 16 switch to arduino shown wire connections closely then the code needed to manage moisture sensor and water pump working together. I can freeze video often to copy / learn. I badly need this being disabled. Only way to have outdoor plants. I have had qty 5 55gallon rain water barrels installed. I will get 3-5k reservoir tank to hold extra for dry season. Are you in USA?
@yehudagoldberg6400
@yehudagoldberg6400 4 жыл бұрын
Is there any way to use this as a serial device? It takes too many pins. For my project.
@robojax
@robojax 4 жыл бұрын
here another video related to this with just 4 wires kzbin.info/www/bejne/h2rEc3xqerF-eZY
@yehudagoldberg6400
@yehudagoldberg6400 4 жыл бұрын
@@robojax Thanks for the reply. I think you sent the incorrect link, as it just directs me to this video.
@robojax
@robojax 4 жыл бұрын
I am sorry. you are right. but you should not have waited. just should searched for "16 channel" and you would gotten it . here is the search result kzbin.infosearch?query=16+channel
@Bo-rv8om
@Bo-rv8om 2 жыл бұрын
Can I use a 12v 30a power supply with this? 10a 30v dc, 10a 250v ac. will it break?
@robojax
@robojax 2 жыл бұрын
To lower it up you need 12V and minimum of whatever current I mention as I don’t remember it. Maybe it was like 1A. Anything hover has no affect it. I hope your quality was about powering this module up.
@Bo-rv8om
@Bo-rv8om 2 жыл бұрын
@@robojax No I mean not to power it up but the current that runs trough the relay. I want to control multiple solenoids with my 12v 30a power supply but wondering if the relay will break because it is to much current.
@monaemhossaintipu9257
@monaemhossaintipu9257 5 жыл бұрын
Can i use 5v relay for 24v DC motor control?
@robojax
@robojax 5 жыл бұрын
Watch this video kzbin.info/www/bejne/a2m7iIl6o6dqidU so you know about it before coming to 16 channel.
@ntc7335
@ntc7335 4 жыл бұрын
I'm wondering how to have 32 relays controlled by one Arduino. How would you do it?
@robojax
@robojax 4 жыл бұрын
Very simple. Use are rArduino Mrga which has more than 50 digital pins and use the same code
@melickon
@melickon 5 жыл бұрын
If a need to control four of this kind relay modules (64 bulbs in total). How to achieve it with regular, let say, Arduino UNO?
@robojax
@robojax 5 жыл бұрын
with uno you can do it ONLY control 4 bulbs at time if you use 4 of this with 4 multiplexer. here my video on that kzbin.info/www/bejne/ooKvZ5ecgcSlqck
@Wojtkingson
@Wojtkingson 3 жыл бұрын
Be careful inputs of this PCB ARE NOT galvanically isolated - when you need to connect grounds together, there is no isolation...
@Phantom0507
@Phantom0507 3 жыл бұрын
Is there anyway to output 12v instead of 5v
@robojax
@robojax 3 жыл бұрын
I am reading your comment after 7 hours. you should not have waited if you had done a simple search for "16 channel" on my channel. Here is how search for a particular video in a Channel kzbin.info/www/bejne/hZnOhpabd7yWftU and here is the video you are looking for kzbin.info/www/bejne/o3mzoquZqdJ9qNU
@TheBAD7777
@TheBAD7777 4 жыл бұрын
I try to do the same with d1 mini but only led in relay board works but relay is not working what is wrong 😔 please help
@robojax
@robojax 4 жыл бұрын
do you hear a click? how do you know it is not working? have you connected the load? Watch my video on single relay as you might have connected the load incorrectly
@Zohaib.S.H.K
@Zohaib.S.H.K 3 жыл бұрын
Please add ultrasonic sensor 2x and please share circuit diagram add codes. For staircase
@robojax
@robojax 3 жыл бұрын
I already have the video on Ultrasonic sensor. To draw, get this free software fritzing.org/ and draw it. it is very easy. Here is how to Find Specific KZbin Video in a channel bit.ly/findKZbinVideo just search my channel for the video
@ahmadtauhid2807
@ahmadtauhid2807 4 жыл бұрын
it possible to add 16 channel relay again in single board? so the channel relay will be 32?
@robojax
@robojax 4 жыл бұрын
yes it is possible. if you have Arduino Mega with more pins, yes you can use it.
@ahmadtauhid2807
@ahmadtauhid2807 4 жыл бұрын
@@robojax Arduino Mega 2560 Rev3?
@bilmusic1768
@bilmusic1768 2 жыл бұрын
Good day sir! Is it possible to control 1 AC with 2 relays only?
@robojax
@robojax 2 жыл бұрын
if you mean to use two relays to control 1 AC load, yes but why? perhaps you want to you want to double the amount of current. very simple, see the wiring for AC here kzbin.info/www/bejne/lZjMeIN4iMSKd9E and connect them in parallel.
@bilmusic1768
@bilmusic1768 2 жыл бұрын
@@robojax thank you for responding sir. We wish to control 1AC at the same time, 2 relays and an RTC to Arduino uno. Is it possible? Our project is to trigger a time twice, with one motor only. Our motor is 220V.
@DrZipZwan
@DrZipZwan 3 жыл бұрын
Is it obligatory to use all 16 Channels? I got this Relay board, and 1 MicroController is blown. So only 8 channels, are available. I intend to use it to control only 2 devices with the 8 channels left... When I give 12V to it, all remaining Red led are ON, so I guess half of the board is usable. Thx
@robojax
@robojax 3 жыл бұрын
please see the link under the video. I can't being it as I am in page where comments from all videos are shown. I've shown how to fix the problem with this board.
@DrZipZwan
@DrZipZwan 3 жыл бұрын
@@robojax Thx you, maybe was not a bad idea to provide a schematic to help us connect the board to Arduino, because always having to pause the video, to understand the wiring it not so easy...
@robojax
@robojax 3 жыл бұрын
It seems you have not check the link and page .
@DrZipZwan
@DrZipZwan 3 жыл бұрын
@@robojax sure I checked, and you are right, there is a lot of good infos, but no schematic... It is a very important part in electronic project. Plus the Code is very helping, Thx again for that You mean this link: Download code and resources for this video: robojax.com/L/?id=253 >> robojax.com/learn/arduino/?vid=robojax_16ch_relay
@robojax
@robojax 3 жыл бұрын
You fist visit the page where the code is, you will see it there
@davordamjanovic893
@davordamjanovic893 4 жыл бұрын
I really don't know why they don't add shift register then you will need only 5(4 if not supplying 5V from the microcontroller) wires instead of 18.
@robojax
@robojax 4 жыл бұрын
there are 1000s of people want to NOT use anything else and just connect it directly. here is using of 4 wires to control the same module kzbin.info/www/bejne/ooKvZ5ecgcSlqck search my channel and you will find more
@social6166
@social6166 2 жыл бұрын
How much ampere do we need for 12volt 16 relay model
@robojax
@robojax 2 жыл бұрын
each relay needs 50mA so 50mAx16=?, then the module need 50mA. do the math.
@upscaspirants633
@upscaspirants633 3 жыл бұрын
Which application is used to control this project...
@robojax
@robojax 3 жыл бұрын
You see this video kzbin.info/www/bejne/g5PFY6uXZryWiK8
@afzalharain
@afzalharain 3 жыл бұрын
Sir, I have a question? Can I use the 32 really?
@robojax
@robojax 3 жыл бұрын
This code works l with any boards
@yashindian4233
@yashindian4233 4 жыл бұрын
Hello there can we synchronise the relay with music..by any chance
@robojax
@robojax 4 жыл бұрын
you can do it if you use sound module to detect sound level and turn on relays with sound level.
@yashindian4233
@yashindian4233 4 жыл бұрын
@@robojax sir can u please do a video on this ..I have just ordered my first aurdino need to learn
@smartassist9700
@smartassist9700 4 жыл бұрын
I need website to purchase arduino/ switches/ wiring. CODE/ pumps (8) sensors (8). I am disabled and need AUTOMATED PLANT OUTDOOR AND INDOOR WATERING.
@robojax
@robojax 4 жыл бұрын
get them from eBay or AliExpress which takes about 30 to 80 days. if you want them fast then Amazon. if you want to code and kits in one box, then search for Elegoo on Amazon. Good luck.
@alcoholisfreedrink
@alcoholisfreedrink 2 жыл бұрын
why does each relay consume around 180mA my relay module does that and it sounds really weird
@robojax
@robojax 2 жыл бұрын
each relay need about 40mA. I might have made mistake or you got it wrong. the sound, I purposely programmed it with fast loop to make that noise. in real life application it won't happen at that speed.
@alcoholisfreedrink
@alcoholisfreedrink 2 жыл бұрын
@@robojax no. I meant that a single relay consuming 180mA sounds weird. I ran the thing on the benchmark powersupply and it does consume that much. It's really weird.
@robojax
@robojax 2 жыл бұрын
yes each relay will need 40-50mA.
@alcoholisfreedrink
@alcoholisfreedrink 2 жыл бұрын
@@robojax i guess there is something wrong with my module
@robojax
@robojax 2 жыл бұрын
No thing is wrong
@dickwhittington7321
@dickwhittington7321 Жыл бұрын
I just checked out the 16 relay module on Amazon UK and the photos show the module is missing the tall capacitor and a few more components on the power side. The regulator also looks different to the regulator on your board. I just wondered if its an updated board or an older board?
@robojax
@robojax Жыл бұрын
The capacitors are good to keep the voltage stable when all relays or bunch of them turned on. Some guys produces them with caps to save few cents.
@robojax
@robojax Жыл бұрын
Search my channel as there is another video explaining the issue with the module. Or check the links in description
@darshanh9197
@darshanh9197 5 жыл бұрын
What's the life of these boards.? Are these good to keep continuously connected to power and controlled by ESP8266..? I don't want to risk my expensive electronics.😅
@robojax
@robojax 5 жыл бұрын
the life of board depends on the relay (mostly). What is the worst would happen? There is no risk. Input and output is optically isolated. If you don't share power with Arduino, you will be isolated. The worst could happen, relay will die and it will do the job.
@kazimir8086
@kazimir8086 5 жыл бұрын
Can I add 16 sensors to this build?
@robojax
@robojax 5 жыл бұрын
if your Arduino board has input for the sensors, yes. Arduino Uno has no more pins left. Arduino mega does.
@jailbreak7750
@jailbreak7750 Жыл бұрын
brother for stair led 12v how to simple 16 channel relay
@robojax
@robojax Жыл бұрын
You need to have sensor on each step to detect a foot and turn the light on.
@jailbreak7750
@jailbreak7750 Жыл бұрын
@@robojax thank you yes
@jimbobbyrnes
@jimbobbyrnes 5 жыл бұрын
whats the point of the relays being on a pcb if you still have to use so many pins on the arduino?
@robojax
@robojax 5 жыл бұрын
16 relay without drivver woul have 4 wires to operate (2 power supply+2 load). for drivers it would be very complicated. This makes it very clean and easy to use. If you have 16 channel, then you need at least 17 wires (1 ground + 16).
@gabrieldalbani6653
@gabrieldalbani6653 5 жыл бұрын
I need a code similar to this but without it being looped and to work like an on/off switch instead. What do I have to change?
@robojax
@robojax 5 жыл бұрын
You can use the code in this video: kzbin.info/www/bejne/aXa9lpamnbOXd6s
@megamanwins
@megamanwins 2 жыл бұрын
How can I control this relay module via PLC?
@robojax
@robojax 2 жыл бұрын
I have no idea what PLC is. Sorry. I could not find any board to see and learn it.
@megamanwins
@megamanwins 2 жыл бұрын
@@robojax PLC stands for Programmable Logic Control. I have Siemens S7-300 and Allen bradley SLC 500. I want to integrate to them and act as external board.
@robojax
@robojax 2 жыл бұрын
I searched eBay and AliExpress and could not find one single board that is famous to purchase and work on it. What is the most common board so I start with that?
@rockentertainment7979
@rockentertainment7979 4 жыл бұрын
Which type of relay sir this
@robojax
@robojax 4 жыл бұрын
If you watch the video you will see I mentioned it is 5V relay.
@rockentertainment7979
@rockentertainment7979 4 жыл бұрын
Types bro electromagnetic relay or solid state relay
@rockentertainment7979
@rockentertainment7979 4 жыл бұрын
Kindly answer brother
@robojax
@robojax 4 жыл бұрын
When we say "relay" it is just relay which clicks, otherwise we say "Solid State Relay" which I have videos on that. We don't mention "electromagnetic" when referring to relay.
@satya_9001
@satya_9001 2 жыл бұрын
I want program for working
@satya_9001
@satya_9001 2 жыл бұрын
Plz share the link of program
@robojax
@robojax 2 жыл бұрын
you must have skipped the video. I mentioned it in the first minuet of the video.
@slinegt
@slinegt 4 жыл бұрын
Hello, I was looking for something like that. I want to use that for stair lighting. Now I would have to control the whole 2 Pir motion detectors (HC-SR501). Is that possible? When I stand at the bottom of the stairs, the light goes up and off gradually and when I stand up, the lighting goes down and off gradually. Can you help me integrate the code for the sensors? Thanks a lot Here is an example: kzbin.info/www/bejne/m6TXZKWomZd8i6M
@robojax
@robojax 4 жыл бұрын
Hello, finally I got a change to reply. I watched the video. Yes possible. You will need a sensor on each step so the light will turn ON only when obstacle or human is detected. it would be very easy.
@technologieprofessionnel3598
@technologieprofessionnel3598 4 жыл бұрын
Abonner sur technologie professionnel merci
@robojax
@robojax 4 жыл бұрын
😊
@nicholashassanali1243
@nicholashassanali1243 4 жыл бұрын
Do u have an email
@robojax
@robojax 4 жыл бұрын
yes I do but have got no time. This is where i come once or twice a day to replay to comments. BTW: when you click on the channel logo, you will go to main channel page and there is a link "About" and my email is there.
@milansahoovlogsodishatoka1440
@milansahoovlogsodishatoka1440 2 жыл бұрын
Your explain isn't so dirty not showing this wearing what is this joking
@robojax
@robojax 2 жыл бұрын
If you jump and not watch the video , it it becomes difficult to understand it. Watch fully yo learn.
@robertrobert5583
@robertrobert5583 4 жыл бұрын
A really excellent tutorial. Thank you so much for posting this.
@robojax
@robojax 4 жыл бұрын
You're very welcome! The best thank you for me is to not skipping ads and Subscribing 🔔 to my channel, and clinking 👍 the video. It is greatly appreciated. 🔔 😊. I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
@ygreq
@ygreq 4 жыл бұрын
Very, very informative video!
@robojax
@robojax 4 жыл бұрын
:)
@FahadAli-gc1vt
@FahadAli-gc1vt 4 жыл бұрын
Sir if i use 5volt 2 or 3 amp mobile phone charger to power this 8 channel relay. Do i still need to do changes in this circuit?
@FahadAli-gc1vt
@FahadAli-gc1vt 4 жыл бұрын
As you highlighted relay voltage issue at 06:47 . Can i use mobile phone charger to solve this issue?
@robojax
@robojax 4 жыл бұрын
perhaps you did not follow what I said. This module is soled as "12V 16 channel relay" and that is why I offered solution. if you use 5V, don't do anything. it will work.
@FahadAli-gc1vt
@FahadAli-gc1vt 4 жыл бұрын
Sir i have 1 more question. Sir i have 12 watt smd LEDs. Can you tell me how many leds can i connect with a single 5v to 220volt relay.
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 45 МЛН
When you discover a family secret
00:59
im_siowei
Рет қаралды 36 МЛН
Connecting a Relay Module to a Microcontroller
11:41
Brad Henson
Рет қаралды 232 М.
How many relays can I connect to one Arduino?
9:38
AnotherMaker
Рет қаралды 51 М.
Stepper Motors and Arduino - The Ultimate Guide
29:57
How To Mechatronics
Рет қаралды 1,2 МЛН
16 Channel Relay module 5V relay voltage fixed
8:56
Robojax
Рет қаралды 34 М.
How to Use 5 Volt Relay Modules with Arduino and ESP8266
23:03
Gadget Reboot
Рет қаралды 40 М.
16 CHANNEL WIFI RELAY KIT - HILINK HLK-RM04 HOME AUTOMATION
5:04
Saravanan AL
Рет қаралды 108 М.
Ford RS gauges with Arduino UNO
45:38
upir
Рет қаралды 285 М.
Electromagnetic Aircraft Launcher
15:09
Tom Stanton
Рет қаралды 1,3 МЛН
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 45 МЛН