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

Поділитися
Вставка
  • Опубліковано 15 вер 2024

КОМЕНТАРІ • 230

  • @polako89
    @polako89 2 роки тому +8

    The explanation about the board is better than any other thing you can find online! Thank you!

  • @akarshsachdeva5289
    @akarshsachdeva5289 29 днів тому +1

    Thank you very much for explaining the 5V and GND connection with arduino. I was so confused with the common ground problem.

    • @robojax
      @robojax  27 днів тому

      Glad it helped

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

    I can watch the relays on and off all day.

  • @mustaphaalaoui9320
    @mustaphaalaoui9320 3 роки тому +2

    Thank you very much for this excellent tutorial and video.

  • @asab994
    @asab994 2 роки тому +2

    A really excellent tutorial. Thank you so much for posting this.

  • @nikitaKaner
    @nikitaKaner Рік тому +1

    Thank you for the explanation! You saved me! :)

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

    thank you so much you saved my life with that one

  • @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 ua-cam.com/video/-6qSrDUA5a8/v-deo.html

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

    Excellent Explanation in UA-cam... So far on this topic

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

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

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

    Very good stuff, great explanation and production values, thanks a lot for sharing!

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

      You are welcome.

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

    Thank you very much Sir for the informative video tutorial. Helps a lot.

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

      You are welcome.

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

    I could sleep with the sound of this relays

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

    Amzing video
    Very nice

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

    Iam watching your video from India

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

    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.

  • @MrMrbrianbechtel
    @MrMrbrianbechtel 5 місяців тому +1

    Thank you for making this

    • @robojax
      @robojax  5 місяців тому

      My pleasure!

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

    you should do this 16 relay board being controlled by Arduino and the Nextion Touch Screen with 16 digital buttons :)

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

      Interesting. I will try to get that screen.

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

    Very clear explanation! Thank you.

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

    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 ua-cam.com/users/robojaxTVsearch?query=timer

  • @asianjohn326
    @asianjohn326 Годину тому

    CAN YOU ADD LCD AND BUTTON TO MAKE IT RE-PROGRAMMABLE ?

  • @Elettronica-xt7nm
    @Elettronica-xt7nm 6 років тому +1

    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 років тому +2

      you are welcome. I utilised Anolog (A0, A1, ...) ports to make it work. Other methods are coming soon.

    • @Elettronica-xt7nm
      @Elettronica-xt7nm 6 років тому +1

      @@robojax I will wait for the videos soon. Thanks so much😉

  • @dennishamilton902
    @dennishamilton902 2 роки тому +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 роки тому +1

      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.

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

    Great, easy to understand videos by the way.

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

    Very, very informative video!

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

      Thank you. I am glad you found it useful.

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

  • @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 років тому +1

      Yes you could. I might have a video on that. But Uno is the most common board.

  • @Elettronica-xt7nm
    @Elettronica-xt7nm 6 років тому +1

    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 років тому +2

      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 років тому +1

      @@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 років тому +2

    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 років тому +1

      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.

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

    very good. thank you

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

    Very well explaned

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

  • @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 ua-cam.com/video/mHPqxctmJrs/v-deo.html

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

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

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

      Arduino MEGA has enough pins and you can control it.

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

    Great video

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

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

    Thanks Sir
    beginning automations

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

      You are welcome.

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

      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.

  • @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 ua-cam.com/video/pLvqh57T3s4/v-deo.html which explains and gives example for pins and all other details

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

    Great work. Could I use this to control 12-24 volt equipment in vehicles?

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

      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.

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

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

    How could I manipulate the code to have more than one relay turn on at the same time?

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

      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.

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

      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 ua-cam.com/video/mHPqxctmJrs/v-deo.html

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

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

    thank you

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

      you are welcome.

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

      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 UA-cam Video in a channel bit.ly/findUA-camVideo just search my channel for the video

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

    can i use a bluetooth module to control the 16 channel relay module?

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

      Yes of course. I have explained how each relay is controlled. Simply send the that command via Bluetooth

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

      commented on the "Fixing" video.

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

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

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

  • @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 років тому +1

      yes you can can.

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

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

    Be careful inputs of this PCB ARE NOT galvanically isolated - when you need to connect grounds together, there is no isolation...

  • @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 ua-cam.com/users/robojaxTVvideos

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

    What happens if you exceed 10A per relay. Does it burn down or are they fused somehow?

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

      I think I have mentioned it. it will burn and cause fire.

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

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

      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 ua-cam.com/video/lQL6dfL_rsg/v-deo.html search my channel and you will find more

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

      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.

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

    Why is it necessary to connect GND to arduino when the power supply GND is already connected?

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

      Power supply and Arduino and any other device must have common in order to work together.

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

    Can i use 5v relay for 24v DC motor control?

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

      Watch this video ua-cam.com/video/58XWVDnB7Ss/v-deo.html so you know about it before coming to 16 channel.

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

    brother for stair led 12v how to simple 16 channel relay

    • @robojax
      @robojax  Рік тому +1

      You need to have sensor on each step to detect a foot and turn the light on.

    • @jailbreak7750
      @jailbreak7750 Рік тому +1

      @@robojax thank you yes

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

    I'm wondering how to have 32 relays controlled by one Arduino. How would you do it?

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

      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 років тому +1

      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 ua-cam.com/video/lQL6dfL_rsg/v-deo.html

  • @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 ua-cam.com/video/OhkUceBWcHs/v-deo.html and here is the video you are looking for ua-cam.com/video/mHPqxctmJrs/v-deo.html

  • @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 років тому +1

      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: ua-cam.com/video/58XWVDnB7Ss/v-deo.html
      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.

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

  • @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 ua-cam.com/video/_giGPBS_WAo/v-deo.html 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.

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

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

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

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

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

    Hello there can we synchronise the relay with music..by any chance

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

      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

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

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

      here another video related to this with just 4 wires ua-cam.com/video/Q9aBI4ELKC4/v-deo.html

    • @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 ua-cam.com/users/robojaxTVsearch?query=16+channel

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

    Which application is used to control this project...

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

      You see this video ua-cam.com/video/Mbb2xa1WcRM/v-deo.html

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

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

    Sir, I have a question? Can I use the 32 really?

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

      This code works l with any boards

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

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

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

      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

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

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

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

  • @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: ua-cam.com/video/3EZecphNdAI/v-deo.html

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

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

      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: ua-cam.com/video/est3rrd2IUA/v-deo.html

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

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

    A really excellent tutorial. Thank you so much for posting this.

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

      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 5 років тому

    Very, very informative video!

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

      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.