#9 - Arduino - Connecting a Relay Module

  Рет қаралды 32,902

Bradford Henson

Bradford Henson

Күн бұрын

Пікірлер: 65
@ianbirkinhead4103
@ianbirkinhead4103 2 ай бұрын
You are a great teacher, this video is 9 years old but for me it is fresh, just like you were standing there. Thank you.
@DanHaiduc
@DanHaiduc 6 жыл бұрын
This is the best relay tutorial I have seen.
@bradfordhenson
@bradfordhenson 6 жыл бұрын
I appreciate that. Thanks for watching.
@juanmanuelalcortavillarrea9098
@juanmanuelalcortavillarrea9098 6 жыл бұрын
Thanks, great explanation on the difference between JDVcc and Vcc pros and cons to use a jumper connector
@mattbz5967
@mattbz5967 4 жыл бұрын
Just stumbled on this looking for info on how to wire up a traffic light, thanks for the great explanation!
@troymorley902
@troymorley902 Жыл бұрын
That's exactly what I was looking for. Thanks Brad
@darrylbanjoo2675
@darrylbanjoo2675 5 жыл бұрын
best relay tutorial on connection signal
@daichemed9780
@daichemed9780 5 жыл бұрын
Thank u from algeria, the best relay tutorial ever I seen.
@bradfordhenson
@bradfordhenson 5 жыл бұрын
Thank you very much
@sultanawwad4267
@sultanawwad4267 2 жыл бұрын
It really helped me a lot better understand the concept of relays Nice job and thanks a million
@ytfp
@ytfp 7 жыл бұрын
Hands down the best relay presentation and explaintion for arduino and relay control.
@bradfordhenson
@bradfordhenson 7 жыл бұрын
Thanks a lot.
@tpobrienjr
@tpobrienjr 4 жыл бұрын
Good explanation, Brad. Thank you.
@justAUserName123
@justAUserName123 6 жыл бұрын
Best explanation I've seen
@robertilie2507
@robertilie2507 4 жыл бұрын
You made a very good tutorial. Thank you.
@vp.8181
@vp.8181 4 жыл бұрын
I loved to the way u taught. ❤️❤️❤️ U kept it very simple to understand. Thanks.
@bradfordhenson
@bradfordhenson 4 жыл бұрын
Thank you
@sachithlakmal2118
@sachithlakmal2118 3 жыл бұрын
Very good detailed explanation about relays ❤ thank you
@maurofuji7205
@maurofuji7205 5 жыл бұрын
Your tutorial was very enlightening and helpful to me. Thank you very much.
@atlantishiruma7197
@atlantishiruma7197 2 жыл бұрын
Thanks for the video and the explanations.
@Rivenbourn
@Rivenbourn 7 жыл бұрын
By far the best explanation i've seen. Thanks!! :)
@bradfordhenson
@bradfordhenson 7 жыл бұрын
Thank you.
@eduardoarevalo3208
@eduardoarevalo3208 4 жыл бұрын
Great explanation!
@Eric-zg4xd
@Eric-zg4xd 5 жыл бұрын
Perfectly explained, thank you so much
@abhinavmishra1861
@abhinavmishra1861 6 жыл бұрын
everything is explained very well good job 👍
@abhishektripathi8213
@abhishektripathi8213 5 жыл бұрын
Thanks a lot. You helped me understand the concept...
@tushardas9825
@tushardas9825 4 жыл бұрын
Nicely Explaind. Thank you 👍
@crispychickenwing
@crispychickenwing 3 жыл бұрын
hello thanks for the detailed explanation in the video. however I have a question to ask, what external source can I connect the jdvcc to? a battery?what are the options
@llanzafa
@llanzafa 6 жыл бұрын
Well done buddy, really informative
@bostitch001
@bostitch001 4 жыл бұрын
Verry usefull, Thank you!
@iRuf12
@iRuf12 5 жыл бұрын
like others have said , best tutorial I've seen on using these relay modules. i also have this model as well as a few more complex boards with timers, delays etc. Brad I wish to use this Relay without a controller , just using 12v from an led driver, to trigger relay. can you tell me which ins id use to do this pretty please dude? serious lack of info from manufacturers and on net in general. thanks alex
@blackz06
@blackz06 4 жыл бұрын
Don't use 12v on these 5v relays.
@hometv9757
@hometv9757 5 жыл бұрын
Thank you...very helpful, liked and subbed
@Yelloworld
@Yelloworld 7 жыл бұрын
Great work... I like the deep dive explanation. Awesome job.
@fernandol1996
@fernandol1996 5 жыл бұрын
Thank you, I have a question if I have a single relay module and external power supply. How should I connect it?
@jeanlouis5966
@jeanlouis5966 7 жыл бұрын
Well done! I LOVE IT.
@bradfordhenson
@bradfordhenson 7 жыл бұрын
Thank you
@bryansu
@bryansu 7 жыл бұрын
if I have 12v/150ma triggering rail (2 rail only) , how do I activate the relay? should I connect the negative rail to both IN and GRD, and the positive rail to the VCC/JDCC ?? please advice
@jamesrtheaker5896
@jamesrtheaker5896 7 жыл бұрын
Very nice. Done in language that I could understand
@vikas2.o182
@vikas2.o182 10 ай бұрын
Make video on 12 v & 24 v relay with Arduino
@robzgregorio
@robzgregorio 5 жыл бұрын
Great Stuff. Thanks.
@tobotdolce9556
@tobotdolce9556 5 жыл бұрын
sir i have relay module 30A 250VAC/30VDC how many watts my relay can hold? thank you sir
@eimbh
@eimbh 5 жыл бұрын
Excellent sir
@bradfordhenson
@bradfordhenson 5 жыл бұрын
Thanks
@ryangill6989
@ryangill6989 7 жыл бұрын
Why do you need two transistors? Why couldn't you connect the relay along with the diode between the JD-VCC and the collector of the the opto-isolator transistor and have the emitter of that go to ground?
@bradfordhenson
@bradfordhenson 7 жыл бұрын
Great question. In this module the opto-isolator isn't designed to carry the current required to activate the relay, so it is instead used to drive the transistor. With that being said, there are isolators that can carry more current and it is of course possible to build a circuit to do what you mentioned.
@vp.8181
@vp.8181 4 жыл бұрын
hey i used a basic relay on off code to check if its working so its finally working.. connection were as jdvcc and ground from external and vcc,grd, vin from arduino . This actually worked. But when i used everything same in my project then the relay is not working . same connection as in previous one but when i connect grp to arduino the led goes off and when i disconnect it is on again. So now what should i do.what should my connection be. i even tried but jumpinng vcc and jdvcc but even that didnt work. the is working but not in my project. it only works on basic program . please let me know the proper connections.
@bradfordhenson
@bradfordhenson 4 жыл бұрын
When troubleshooting a problem like that I would double check voltages. Make sure you are getting the expected voltages between JDVCC and GND, then check the voltage between VCC and IN1. If you are connecting the relay for use with an external power supply, using JDVCC, then you shouldn't have to connect the Arduino GND. In this type of set up the IN1 pin acts as the GND for the VCC from the Arduino. The idea is when IN1 pin is high, the voltage potential is the same as VCC, so the relay is not activated. When IN1 pin is low, the voltage potential between the pin and VCC is 5 volts which activates the opto-isolator and ultimately the relay.
@vp.8181
@vp.8181 4 жыл бұрын
@@bradfordhenson huge respect for yur reply bro. Now the issue is like relay is working and I am finally done with my project but the relay was wired . When I set low it went high and vice versa. Why so?
@bradfordhenson
@bradfordhenson 4 жыл бұрын
@@vp.8181 When the Arduino pin goes low, the voltage difference between VCC and IN0 allows a little bit of current to flow logically from VCC to IN0. In this case IN0 is the lower "negative" side of the circuit. It is safe to source current like this up to 40 mA on an Arduino pin. The effect is that the Arduino pin has to be low for current to flow and activate the opto-isolator. If the Arduino pin connected to IN0 is High, then the voltage potential between VCC and IN0 is the same, which does not allow the opto-isolator to turn on. This is why when the Arduino pin is High the relay is off and when the Arduino pin is low the relay is on.
@valentindesquien1803
@valentindesquien1803 5 жыл бұрын
HI everybody, I need to do a stroboscop with LED bands so I copy exactly all the connections (2nde exemple shown) , I just used a 12V battery to aliment the LEDs but they stay switch on instead of alternate between on/off, the led on the relay do the on/off delay I've code however, I don't understand... Somebody to help me ? ( sorry for my frenchy english ) Nice video ! The only one I've totally understood
@bijuphilipjacob2961
@bijuphilipjacob2961 7 жыл бұрын
Just Awesome! Thank you so much. Very Descriptive and Academic. I have a request please. Would you be kind and make a tutorial video on how to connect an AC well water pump to a relay? If you could also advise on the correct pump start relay spec to purchase please. I plan to control my pump for the house from my cell phone using my Arduino UNO and a WiFi sheild. AC Well Pump Specs (India): -> 240 V -> 50 Hz -> 1.5 HP -> 6.6 A -> 2800 rev/min -> HEAD: 30 Feet If there is anything else you would need to know, kindly let me know. Eagerly awaiting your reply. Thanks & Best regards, Philip
@bradfordhenson
@bradfordhenson 7 жыл бұрын
Unfortunately, I wont be able to make a specific video on how to do this. However, there are a lot of videos out there that explain how to configure an arduino for that type of operation, and as far as the pump in concerned you only have to splice in a relay on one leg of the input power. Good luck with your project.
@bijuphilipjacob2961
@bijuphilipjacob2961 7 жыл бұрын
Thanks Brad. Any information I can get is worth it. Yes, I need to complete this and many such mini projects for my home.
@davidprice2861
@davidprice2861 5 жыл бұрын
I'm confused with ext supply no common ground for arduino board, or does the pin output going low obviate the need. Anyone know??
@bradfordhenson
@bradfordhenson 5 жыл бұрын
When the pin goes low, the voltage difference between VCC and IN0 allows a little bit of current to flow. That is what activates the opto-isolator and ultimately there is enough voltage present on the transistor's gate to turn the transistor on. In this case we are using the output pin to sink current (it is safe to do this up about 40 mA). Anymore current then 40 mA and you run a serious risk of damaging the pin on the Atmega chip.
@bassy900
@bassy900 7 жыл бұрын
Is there a max distance between Your arduino and the Relay module
@bradfordhenson
@bradfordhenson 7 жыл бұрын
There technically is a max distance, but it would depend on what kind of wire you are using to hook the Arduino up to the relay. The longer the wire, the more resistance there is. You have to account for the voltage drop of the wire, due to resistance, when you start getting to really long wire lengths.
@ihodeputa2905
@ihodeputa2905 6 жыл бұрын
Take my sub!
@ershekharsolanki
@ershekharsolanki 7 жыл бұрын
nice video
@gilbertgababonwe704
@gilbertgababonwe704 6 жыл бұрын
Genius
@kalkvand
@kalkvand 7 жыл бұрын
The thing that i dont understand is how the light is connected..
@bradfordhenson
@bradfordhenson 7 жыл бұрын
The light is connected to a standard two prong power cable which is plugged into a wall outlet. The relay is effectively spliced into the "hot" wire connection.
#8 - Cheap Current Meter Accuracy
4:19
Bradford Henson
Рет қаралды 970
Connecting a Relay Module to a Microcontroller
11:41
Brad Henson
Рет қаралды 266 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
#18 Add a Relay Module to your Arduino project - Hints, Tips & Traps
16:52
DIY Smart Switch - Part 1 how to use a relay
8:02
byte sized engineering
Рет қаралды 645 М.
Relay Basics
11:11
Brian Slota
Рет қаралды 123 М.
Everything you need to know about RELAYS
22:48
Playful Technology
Рет қаралды 66 М.
How To Control A Solenoid With A Raspberry Pi Using a Relay
6:15
Core Electronics
Рет қаралды 96 М.
Faulty Ubiquiti POE Network Switch | Can I Fix It?
31:22
Buy it Fix it
Рет қаралды 47 М.
Arduino Basics - Relays
15:13
Electro-Anarchy
Рет қаралды 140 М.
Sensors - which one to use
17:06
Electronoobs
Рет қаралды 1,4 МЛН
Breadboarding tips
20:16
Ben Eater
Рет қаралды 452 М.