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

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024

Комментарии • 235

  • @polako89
    @polako89 2 года назад +8

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

  • @akarshsachdeva5289
    @akarshsachdeva5289 2 месяца назад +2

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

    • @robojax
      @robojax  2 месяца назад

      Glad it helped

  • @leochen4891
    @leochen4891 4 года назад +1

    I can watch the relays on and off all day.

  • @asab994
    @asab994 2 года назад +2

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

  • @mustaphaalaoui9320
    @mustaphaalaoui9320 3 года назад +2

    Thank you very much for this excellent tutorial and video.

  • @nastuhi2509
    @nastuhi2509 2 года назад +1

    thank you so much you saved my life with that one

  • @nikitaKaner
    @nikitaKaner Год назад +1

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

    • @robojax
      @robojax  Год назад

      You are welcome!

  • @brasofilo
    @brasofilo 5 лет назад +1

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

    • @robojax
      @robojax  5 лет назад

      You are welcome.

  • @kakleerko2088
    @kakleerko2088 2 года назад

    Iam watching your video from India your explanation is very nice 👍

    • @robojax
      @robojax  2 года назад

      You are welcome. Here is Arduino Step by Step course worth $200 on Udemy, for free starts here ruclips.net/video/-6qSrDUA5a8/видео.html

  • @darshanlokesh6498
    @darshanlokesh6498 3 года назад

    Excellent Explanation in RUclips... So far on this topic

    • @robojax
      @robojax  3 года назад

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

  • @dandrion2
    @dandrion2 4 года назад +2

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

    • @robojax
      @robojax  4 года назад

      You are welcome.

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

  • @edwinhdz5014
    @edwinhdz5014 3 года назад +1

    I could sleep with the sound of this relays

  • @kakleerko2088
    @kakleerko2088 2 года назад

    Iam watching your video from India

  • @MrMrbrianbechtel
    @MrMrbrianbechtel 6 месяцев назад +1

    Thank you for making this

    • @robojax
      @robojax  6 месяцев назад

      My pleasure!

  • @pbartmess
    @pbartmess 4 года назад +1

    Very clear explanation! Thank you.

  • @kingfarming
    @kingfarming 5 лет назад

    Amzing video
    Very nice

  • @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 ruclips.net/user/robojaxTVsearch?query=timer

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

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

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

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

  • @ygreq
    @ygreq 5 лет назад

    Very, very informative video!

    • @robojax
      @robojax  5 лет назад

      Thank you. I am glad you found it useful.

  • @Khujandiho
    @Khujandiho 3 года назад

    very good. thank you

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

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

  • @roperhl
    @roperhl 5 лет назад

    Very well explaned

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

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

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

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

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

  • @DerekPicard
    @DerekPicard 5 лет назад

    Great video

  • @yogeshitaliya473
    @yogeshitaliya473 6 лет назад

    Thanks Sir
    beginning automations

    • @robojax
      @robojax  6 лет назад

      You are welcome.

  • @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 ruclips.net/video/mHPqxctmJrs/видео.html

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

  • @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 5 лет назад

      @@robojax actually just reverse the digitalWrite (controlPin i from HIGH to LOW and LOW to HIGH

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

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

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

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

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

  • @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 ruclips.net/video/mHPqxctmJrs/видео.html

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

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

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

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

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

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

  • @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 ruclips.net/video/_giGPBS_WAo/видео.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.

  • @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 ruclips.net/user/robojaxTVvideos

  • @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: ruclips.net/video/58XWVDnB7Ss/видео.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.

  • @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 ruclips.net/video/OhkUceBWcHs/видео.html and here is the video you are looking for ruclips.net/video/mHPqxctmJrs/видео.html

  • @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 ruclips.net/video/Q9aBI4ELKC4/видео.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 ruclips.net/user/robojaxTVsearch?query=16+channel

  • @kaikaiTOPTOP
    @kaikaiTOPTOP 14 дней назад

    Why do I need to connect the ground to the VIN? Can I use ground to ground? 13:14

    • @robojax
      @robojax  13 дней назад

      you maid me watch the video and the I have explaiend it at that timestamp. Ground always to the ground. this module has voltage issued. see the video in separate video ruclips.net/video/Q9aBI4ELKC4/видео.html

  • @CircuitMindsS
    @CircuitMindsS 11 месяцев назад

    𝙃𝙞, 𝙍𝙚𝙨𝙥𝙚𝙘𝙩𝙚𝙙 𝙎𝙞𝙧, 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

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

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

  • @monaemhossaintipu9257
    @monaemhossaintipu9257 5 лет назад +1

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

    • @robojax
      @robojax  5 лет назад

      Watch this video ruclips.net/video/58XWVDnB7Ss/видео.html so you know about it before coming to 16 channel.

  • @asianjohn326
    @asianjohn326 Месяц назад

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

    • @robojax
      @robojax  Месяц назад

      The only way to make it programmable, you should use Arduino or ESP32 with LCD yes. I have so many videos on LCD and tones of video on programming. check them out.

    • @asianjohn326
      @asianjohn326 Месяц назад

      Which one can help me achieve this, please can you recommend one for me ?

    • @robojax
      @robojax  Месяц назад

      both are the same. I have courses. look at the playlist. the first lesson tells you what can do with each.

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

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

  • @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 ruclips.net/video/pLvqh57T3s4/видео.html which explains and gives example for pins and all other details

  • @upscaspirants633
    @upscaspirants633 3 года назад

    Which application is used to control this project...

    • @robojax
      @robojax  3 года назад

      You see this video ruclips.net/video/Mbb2xa1WcRM/видео.html

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

  • @louisruff1323
    @louisruff1323 5 лет назад +1

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

    • @robojax
      @robojax  5 лет назад +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.

  • @afzalharain
    @afzalharain 3 года назад

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

    • @robojax
      @robojax  3 года назад

      This code works l with any boards

  • @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 ruclips.net/video/lQL6dfL_rsg/видео.html

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

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

  • @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 RUclips Video in a channel bit.ly/findRUclipsVideo just search my channel for the video

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

  • @Wojtkingson
    @Wojtkingson 3 года назад

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

  • @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 ruclips.net/video/lQL6dfL_rsg/видео.html search my channel and you will find more

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

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

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

  • @TheBAD7777
    @TheBAD7777 5 лет назад

    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  5 лет назад

      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

  • @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 года назад +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.

  • @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: ruclips.net/video/3EZecphNdAI/видео.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).

  • @satya_9001
    @satya_9001 3 года назад

    I want program for working

    • @satya_9001
      @satya_9001 3 года назад

      Plz share the link of program

    • @robojax
      @robojax  3 года назад

      you must have skipped the video. I mentioned it in the first minuet of the video.

  • @technologieprofessionnel3598
    @technologieprofessionnel3598 4 года назад

    Abonner sur technologie professionnel merci

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

  • @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: ruclips.net/video/est3rrd2IUA/видео.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.

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

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