Everything you need to know about RELAYS

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

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

  • @CitizensCommunity
    @CitizensCommunity Год назад +2

    The JD-VCC pin on a relay board is used to supply an isolated voltage source to the relay coil. In a typical 5V relay module, you will see pins for VCC, GND, IN (input), and sometimes JD-VCC. The purpose of having JD-VCC is to allow you to isolate the relay's coil voltage (JD-VCC) from the control circuit voltage (VCC).
    VCC is used to power the control circuitry on the board, which might include things like optoisolators, LEDs, and logic ICs.
    JD-VCC is used to power the relay coil itself. This is typically the same voltage level as VCC, although it can be different in some configurations.
    GND is the common ground for both the control circuit and the coil circuit.
    In many relay boards, there's a jumper that allows you to either isolate JD-VCC or tie it together with VCC. If you isolate them, you can power the relay coil independently, which provides electrical isolation between the control circuit (microcontroller, for example) and the circuit being switched by the relay.
    The idea behind this isolation is to protect the sensitive microcontroller and its pins from potential back-EMF generated by the relay coil or from any kind of electrical noise or spikes that could be present on the power line being switched.

  • @jonathanallen985
    @jonathanallen985 5 дней назад

    Thanks - 8:55 solved my problem - switching on and off a 5v set of fairy lights - connecting the switch of the D1 mini to + and ground to ground - powered by a 5v usb connector - spent the whole evening looking for a solution you mentioned in passing !!

  • @dmoehling
    @dmoehling 6 лет назад +2

    This NC to NO diagram makes sooooooooo much sense! I've used NC and NO connections for years and never truly understood how it worked. Thank you so much for this video! We need another video from you brother. You put out GREAT content, and I'm needing my Playful Tech fix. Feed us! Much Love!

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

      Why didn't you just look at the diagram on the relays or google them?

  • @jawneelogik5744
    @jawneelogik5744 6 лет назад +12

    Just in case you didn't know, you can also get these same modules in 3.3V configuration. I bought a bunch of 2 relay modules and an 8 relay module all in 3.3V. For Rpi this is critical because they seem to prefer 3.3V over 5V.

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

      Unless I'm mistaken, most 5v rated relays can also trigger at 3.3V.

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

      Some 5v relays can operate just fine on 3.3v, no need for 5v at all

  • @אוסנתג-ט2ת
    @אוסנתג-ט2ת 3 года назад +1

    i was thinking ...
    what can be so exited about relays, that you're about to talk for ~23 min?!
    and i'm impressed!
    liked the explanation of the NC NO & C, as well as the optocouplers / optoisolators explanation :D
    very informative. Thanks a lot!

  • @Crackeditnc1
    @Crackeditnc1 7 лет назад +2

    Again another excellent explanation. Thank you for explaining the K1/K2 diagram. I have seen this many times and didn't know exactly what it meant.

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

    I found your videos when I was looking up how to connect a rotary dial phone to and Arduino, and I must say, I really enjoy them! Your explanations are really thorough, and you don't rush through any details. Keep up the good work :D

  • @russellniebolt1493
    @russellniebolt1493 9 месяцев назад

    Wow, this was great and the best! I just watched a couple of other relay vids, they were ok. But yours, really clarified things at all angles of using a relay. Thanks sir!

  • @ahcan.72
    @ahcan.72 26 дней назад

    Thanks for the information about active high and active low roles.

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

    Thank you!! This is so helpful. I appreciate your clear and concise presentation.

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

    My arm is aching just by watching him hold that relay for that long without any support.

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

    Great video. I needed this info for my next project. I was about to use a 5v relay where I was using 12 volts. Thanks again for all your videos.

  • @batmeme9349
    @batmeme9349 6 дней назад

    Is it safe to put multiple connection in the common terminals?

  • @facundonieto1598
    @facundonieto1598 6 дней назад

    20:58 explica cómo usar el aislamiento entre el circuito lógico de control y la etapa de potencia del relé

  • @AnthonyLombardo-k7o
    @AnthonyLombardo-k7o 2 месяца назад

    I need to remotely opperate my generator. Can you show a video on how to connect an antenna and fob to opperate the relays A and B?

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

    Absolutely beautifully explained. Great video and great diagrams to help nail the points home.

  • @StuartGrimshaw-px1wz
    @StuartGrimshaw-px1wz Год назад +1

    Did the mosfet video ever get made? The ticking of the relays is driving my wife bonkers.

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

    Thanks for the interesting video. I would like to control a solar panel with a 49.5Voc DC rating. I take it these typical Arduino relays won't cut it. Is there anything you could recommend for my project? Tx

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

    My diagram calls for a 12v dual coil DPST relay. I can't find much for dual coil DPST relays, I assume a DPDT will work just as well? Do you have any recommendations?

  • @albanprada7183
    @albanprada7183 3 месяца назад

    How to wire, power and control the 12V Relay module?

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

    Hi I have a boom gate and a roller shutter gate and want to open both at the same time, however I only have one trigger in order to do it

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

    looking to use a relay to move a dc motor with 2 push buttons and not a arduino . Do you have a video for that?

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

    I have a camper that has 12V switches 40/30 amp relays to open and close awnings etc... Can this help my system and cut back on wiring using din rails? Not too sure if I understand the use?

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

    Hi Relay experts. I m using an 8 Channel Sainsmart relay board. It requires 12V to activate the relay and it's rated for 30V DC load. I am using it to control 24V items (pin ball flippers). Why after a certain amount of usage does the relay fail. I hear the relay trigger but it fails to complete the 24V circuit after a while. Do I need to place something on the circuit to avoid this damage to the relay.
    Thanks

  • @ShabbirDalal-y3f
    @ShabbirDalal-y3f Год назад

    Hi, I am trying to use the 5V relay for a circuit, but my input signal is coming through a chamber which has digi i/o. How would the input circuit look without an arduino powering it. Do I need to have a 5V power supply in series with the Digi i/o to energize the relay?

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

    nice info. wanted to make a request on how OAC-5H series relay work

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

    I use a photoresistor to actuate a relay but i find a problem when the luminosity is not enough to fully turn the relay on , it hesitates for minutes , same for power off at sunset.
    Do you have a solution ?

  • @anshulsharma4500
    @anshulsharma4500 4 месяца назад

    But the 6 analog pins (A0 - A5) on the Arduino can only be used as input pins not output. How are you using the A0 pin to turn the relay on or off?

    • @PlayfulTechnology
      @PlayfulTechnology  4 месяца назад

      A0 to A5 can be used as output pins absolutely fine - just intitialise them as pinMode(Ax, OUTPUT); and then digitalWrite(Ax, HIGH); just as with any other pin.

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

    The picture of the relay am asking about is the smallest relay black in colour then it has fin legs only four fins leg.

  • @jinberry133
    @jinberry133 7 месяцев назад

    I connected a sk3f-s-5vdc-c relay with esp32. But it doesn't work. Is there any way to fix it?(without changing the relay module)

  • @SHADOW-bg4mm
    @SHADOW-bg4mm 3 года назад

    is it possible to change the relays from the board and increase the max load without having issues? i have a board with relays rated at 10amps each but want to change the relay to 30/40amps, same voltage, but if i could find same size relay. my board comes with 2 wireless remotes that i like but the relay max load inside is 10amps each, its just not gonna go well when i give it a load of 25 amps from a motor?

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

    Can I use the same battery for both outputs on the relay for 2 different circuits? I did this but the relay keeps clicking. It can't stay on.

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

    That was great thanks. I now understand a lot more than i did before watching this on modular relays, I didn't realise you could control one from a Pi... Interesting. opens up a whole new area.....
    I do have a question please and would like to know if you can simply control this type of relay by simply sending a low continuous DC voltage say from a new Halo type on/off (not momentary) switch ( the modern LED switches you see everywhere on machines to bread slicers in Lidl etc flat face, normally stainless with a RGB LED halo and "on" icon)
    They are rated at 3 amps 240 volts or 3 to 6 volts or 12 and 24 volts as well as 240 but not more than 3 amps so basically useless for say a compressor or extractor unit which use higher power. I am building a new C02 laser and would like a nice fancy control panel but I need to be able to switch 220 volts for the compressor and extraction fans and was wondering if I could do it using this type of module or would I need to use a larger fat SSR? :-)
    I was thinking of getting 5 volt dc versions of these Halo switches and then using 5 v dc positive from a small PSU to simply supply the voltage to light the Halo LED and at the same time use that voltage then as a "switched live" on to the relay via the Halo switch to then use that to switch up to 240 volts AC at 10 amps. Any ideas please on this Thank you. AC no problem but DC it gets complex....

  • @Fanny10000
    @Fanny10000 9 месяцев назад

    Hello! Thanks for all your videos. Your creations are a dream!
    One question: why do you use relays rather than transistors or mosfets? I often have problems with relays that I have to shake because they get "tired" (mechanically speaking). I'm thinking of changing my strategy...

    • @PlayfulTechnology
      @PlayfulTechnology  9 месяцев назад

      Mainly for isolation. A relay (combined with an optoisolator) means your load is completely electrically isolated from your control circuit, which is important when you're controlling "noisy" equipment that you want to keep seperated from your delicate microcontrollers!

    • @Fanny10000
      @Fanny10000 9 месяцев назад

      @@PlayfulTechnology OK, I get it. Thank you for answering 🙏

  • @jamesh2.05
    @jamesh2.05 2 года назад

    Bro! Thank you! I was using a 12v relay for my 12v mag-lock and was pulling my hair out trying figure out why it wasn't working. Lmfao! 5v relay from the nano now works perfectly. Thanks again.

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

    Can I use this relay to control a 12V connection on the output side?

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

    Hello Sir, I plan to use this relay to connect from 5V arduino to 12V DC Pump (4-7A). It is written that the DC adaptor to power the pump is 12V 10A. is it a robust solution to use this relay in a closed enclosure in the farm? or should I upgrade the relay spec? Thank You Very much Sir !

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

    Great video! I was just wondering, if I was using a 12V relay module (includes its' own protection diode) that can be triggered by 3.3V logic from the microcontroller to control a motorized ball valve (9-24V AC/DC), would I need to include an additional flyback diode across the contacts from the relay to the motorized valve?

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

    can i use transistor instead?

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

    is there a difference between jqc3ff and srd 05vdc relay module?

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

    uh, that was quite a brilliant explanation! thanks a lot.

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

    can you help make to 3v relay?

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

    Great video, lot's of info, all well described and shown, great job mate. Keep it up.

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

    This is such a great explainer video! Thanks

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

    for 4 channel relay , how to calcualte Wattage calculation if I am powering it with Lithium 12v battery ??? is it like 30V x 10 A = 300 Watts for all 4 different relays?? or for just one relay ??

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

      Do you mean power on the load side? (i.e. the device you're turning on?) Or power on the Arduino side (i.e. just the coil which you're powering to switch the relay across?) I don't think either of them will be 300W!

  • @remconet
    @remconet 6 лет назад +1

    So... you don't need a 12V relay because you have a 12V mag lock. In stead you need a 5V relay because the Arduino gives 5V output? Did I get that right?

  • @g.m4z956
    @g.m4z956 2 года назад

    Hi! is a good idea use a relay to activate/deactivate a speaker audio line for control the position of sound out in a room? because in a node-red based sistem the node red dashboard isn't able to controll how html page send a channel audio. With relay all the speaker send all the sound, but node red can eventually deactivate the line of all the speakers and keep on the only playout the sound.

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

      Yes, I've used multi-channel relays to divert sound to speakers in different areas. It's simple and works well!

    • @g.m4z956
      @g.m4z956 2 года назад

      @@PlayfulTechnology thanks, really very useful! node red is lacking in this respect. Yet the audio control should be an important part of both general home automation and for an escape room, but I have seen that there are not many proposals for both commercial and amateur projects. The only more advanced system I've seen is this ruclips.net/video/SPa9SMyPU58/видео.html. Can I recommend making a video on this topic? It would be really great to have a stable and robust system for audio management via MQTT and wifi via node red and esp. It could be done with more locations than Eco dot or google home, but the problem is the dependence on the specific node in node red and above all the fact that if the internet line is interrupted they do not work. thanks for all your videos! (italy)

  • @erik.landen
    @erik.landen 3 года назад

    Great explanation, thanks!

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

    Super Video, thank you so much!

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

    Huh. You choked on the jd vcc explanation and then figured well I'll mention them separate gnd but didn't connect the dots you yourself drew regarding this & the module you show.

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

    Is possible to use this relay for 42dcv?

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

      No - the SRD-05VDC-SL-C which is the common model I show here is only rated up to 28VDC.

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

    You are awesome... i was almost thinking of going to the mental asylum as i was trying a relay on my raspberry pico and i wasn't able to, until i saw your video @12:24 it is so clear and simple. Thanks a lot. Subscribed and liked.

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

    Since these relays are rated for a load of 10 A that means they would not be safe for use with mains power (which has a current normally between 15-20A) correct? What relays would you suggest for use with a microcontroller that can handle mains power?

    • @johncherry108
      @johncherry108 7 месяцев назад

      The point is that a microcontroller CANNOT handle mains power. We need a relay controlled by low voltages and currents from the microcontroller to switch the higher voltages and currents of mains power.

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

      @@johncherry108so can I use this relay to switch on and off a high powered LED from uk mains ?

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

    veri nice, thanks!

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

    "Everything you need to know about RELAYS" Everything? You really didn't even scratch the surface.

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

      This is an old video, and addressed the issues that most of my subscribers were asking at the time. If you let me known what it is *you* want to know about relays, I'll happily update it ;)

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

    "playful" - call it lazy ;) for 75% you sit still, poke your hand into cam once in a while and mumble things... this is very low content quality!