As an electrician I suggest you consider using low voltage examples. The method you used to strip and terminate the cables is dangerous at best and potentially deadly for people less familiar with electricity. exposed wiring is an accident waiting to happen
Can someone help me? I need to control 4 relay with a 4 axys joystick. On position 1 of the joystick, 3 relay need to be on. On position 2, 2 relay need to be on. On position 3, 2 relay beed to be on. On position 4, one relay need to be on. Those relay will control some hydrolic valve...
Super useful, could not for the life of me figure out why the relays were energised when the arduino outpu was set to low! Wish i had found this video before i spent the past few hours trying to figure out what i did wrong! Thanks!
It's recommended that just in front of the pinMode command, you make the pin high with a digitalWrite. That way, the pin will never be accidentally randomly low when it changes to output from the default of input: that could be catastrophic if it was say a motor or something that might activate accidentally in setup().
The idea and the code are great.... BUT SERIOUSLY If anyone follows your technique they are putting themselves at very high risk of: o Getting an ELECTRIC SHOCK from the AC supply o Slicing their fingers open with that knife Firstly - NEVER EVER allow that much copper to be exposed at the relay terminals. The chances are the wires will make contact causing a spark or even fire. Second - allowing that much exposed copper open someone up to inadvertently touch it. The wire should be stripped back with wire strippers (not a knife) and only a little copper showing on the TIP of each end of the cut wire. (Far better to use bootlace crimps to reduce risk) insert into relay output screw terminals with wire installation hard against outside of terminal block Third the knife… arrgh like others have stated get a set of wire strippers why run the risk
Thank you for posting this. I would love to see a follow up video with the Arduino controlling a relay based on input to the Arduino. In other words if I press one button the relay would be activated for one second. If I press a second button the relay would be activated for 10 seconds and if I press a third button the relay would stay activated unless a separate signal told Relay to shut off. I am trying to control an AC motor that will raise a platform to various heights.
Can you explain how to connect the high voltage circuit? I want a 12V circuit: for the load, on the output side. + goes to NC, - goes to com, but where to wire up the input + and - wires from the 12V battery?
even though i never used high voltage, i would not recomment leaving the wires exposed. just in case sombody tryied to do it,but greatvideo anyways! :)
Thank u for your... video which helps me a lot in my project... Can I know the reason why? you used YWROBOT as a isolated supply..instead of direct supply from arduino…?
It's for electrical isolation. If there's back emf in the relay or something goes wrong then the Arduino could get damaged without it. This blog post helped me understand it: howtomechatronics.com/tutorials/arduino/control-high-voltage-devices-arduino-relay-tutorial/
As pointed out by many, the stripping of the Hot wire was done poorly and, the naked wires fairly dangerous although it's just the Hot wire and not very dangerous since not touching the ground or eart, but what if a student tries this standing barefooted on a damp concrete floor and the electricity was earthed ! Otherwise nice job explaining the function and usage of a Relay. Thanks.
I am facing problem doing wiring of "LED will relay module". If I attach both wire in 1&2 it starts automatically/instantly In 1&3 or 2&3 nothing happens
Hey sir Now i connect like this And the relay is active LOW But i set the code to switch on by High And switch off by set it Low Which is wrong (you said this) When i connect the relay to the lamp it works normally but after a while it lags and the lamp switch off but the relay green lamp blinks as it switch on and off but the lamp doesn’t work And this is problem I found also that when i connect the relay to the pin a voltage drop occurs and the volt become around 3.2 not 4.5 or more and the lag occurs (( I’m using atmega not the arduino and 9 v battery)) Please help me
Hello guys, just wanna ask, I want to connect my arduino to a 12v battery (It's possible right?), if so, I want to control a light bulb with the same power source also 12v battery, do I still need a relay? If so what volt should I use?
From what i understand u can get 12 v relays the adrino only runs on 5v (which u can get from a 12v phone charger) the arduino can only take very low current . So yes u need tge relays
yes you made a good video and the instructions are on point however please purchase a pair of wire strippers and learn to properly connect an AC circuit insure there are no exposed wires by using the proper size or guage of wire and when connecting a wire open (unscrew) the terminal far enough so the wire is inserted and there is no exposed copper hanging behind the terminal.
Hello @UCXRkG_PB-qAR67_LBMLONcA, Thnx a lot for your great UA-cam, It means a lot if you share what you’re good in, so we can learn from each other. I hope you have time for a small simple question. Is there power on your relay coil when the NO contact is closed (when you’re hooked up appliance is on) like a standard relay or does it gets a pulse each time you switch on and off you’re appliance? Greats Bart
even if you are alone in your room and nobody touch your equipment and you are sure 100 percent from that, you should never connect the relay to the ac 220 volt this way,,, its dangerous man,,, safety first before anything ............
Wow, fancy UA-cam leaving a video up like this with such dangerous work, really disgraceful and dangerous workmanship, nobody should follow this video in regards to the AC terminations, clearly no clue or capability to deal with AC voltages.
Nice video but please re-do it!!!!.. or you will be sued by someone! Those over exposed wires to the mains is HORRIBLE! If someone tries out the way you handle live voltages they will DIE!!! I know, a suggestion after almost 3 years on the tube but rather later then never, this is DANGEROUS!!!
THANK GOD, someone that speaks proper english finally explaining this correctly... thank you a ton!!!!.. you definitly earned my sub and like!!!! but just wanna say that wiring job was horrid.. and why were you shaking so much.. dang
As an electrician I suggest you consider using low voltage examples. The method you used to strip and terminate the cables is dangerous at best and potentially deadly for people less familiar with electricity. exposed wiring is an accident waiting to happen
Can someone help me? I need to control 4 relay with a 4 axys joystick. On position 1 of the joystick, 3 relay need to be on. On position 2, 2 relay need to be on. On position 3, 2 relay beed to be on. On position 4, one relay need to be on. Those relay will control some hydrolic valve...
I was going to comment about the AC wiring, but what's the point? He's probably already dead.
I almost spit out my coffee...:>
This is like watching one of those wingsuit videos. You see the video, see the date it was published, then scroll down and all the comments are RIP..
Why does the relay need 2 VCC's'? One VCC is coming from the BB PS and then you connected 5V from Uno? Why is that? Cheers
I came to the comment section to see if there was an explanation for this
Super useful, could not for the life of me figure out why the relays were energised when the arduino outpu was set to low! Wish i had found this video before i spent the past few hours trying to figure out what i did wrong! Thanks!
Nice video... but dude, buy some wire strippers XD
And while you're at it, some ferrules and a crimper. Those individual strands are an accident waiting to happen.
@Juan Rial at least this is safer than electroboom things
😂but thanks for the video man💪
At 1:02 why do you remove the jumper? Can it be used without the jumper? Does removing the jumper pose any risks?
It's recommended that just in front of the pinMode command, you make the pin high with a digitalWrite. That way, the pin will never be accidentally randomly low when it changes to output from the default of input: that could be catastrophic if it was say a motor or something that might activate accidentally in setup().
The idea and the code are great.... BUT SERIOUSLY
If anyone follows your technique they are putting themselves at very high risk of:
o Getting an ELECTRIC SHOCK from the AC supply
o Slicing their fingers open with that knife
Firstly - NEVER EVER allow that much copper to be exposed at the relay terminals. The chances are the wires will make contact causing a spark or even fire.
Second - allowing that much exposed copper open someone up to inadvertently touch it.
The wire should be stripped back with wire strippers (not a knife) and only a little copper showing on the TIP of each end of the cut wire. (Far better to use bootlace crimps to reduce risk) insert into relay output screw terminals with wire installation hard against outside of terminal block
Third the knife… arrgh like others have stated get a set of wire strippers why run the risk
I don't get when you say "digital pin 3" in 1:55 but in your code 3:15 the digital pin is equal 2
Thank you for posting this. I would love to see a follow up video with the Arduino controlling a relay based on input to the Arduino. In other words if I press one button the relay would be activated for one second. If I press a second button the relay would be activated for 10 seconds and if I press a third button the relay would stay activated unless a separate signal told Relay to shut off.
I am trying to control an AC motor that will raise a platform to various heights.
Is the surge protector necessary for this setup to work?
Why do I need to provide 5V to the VCC port from the arduino if you are already providing it in the isolated channel?
I also have this question. Any help is appreciated!
2:06 that edit hurt haha , thanks for the video though, helped me get mine up and running. CAREFULLY, but its working.
Can you explain how to connect the high voltage circuit? I want a 12V circuit: for the load, on the output side. + goes to NC, - goes to com, but where to wire up the input + and - wires from the 12V battery?
Can you convert these modules into a solid state relay by switching out the relay with with a mosfet?
even though i never used high voltage, i would not recomment leaving the wires exposed. just in case sombody tryied to do it,but greatvideo anyways! :)
Can I use this method to connect esp32 board? [Esp32 provides 3.3v ]
Yes. I have tested it.
@@AshiqurRahman Why did you respond with an answer to your own comment like you were on a different account? :D
@@novertrunnions2721 hahahahahaa
Heads up some of the affiliate links do not work in the description
What if I want to add a second light bulb to another relay from the same power source, how would I able to do this?
I guess you can’t
Can I use two 3.7V lithium ion (18650) batteries to connect to the JDVCC pin to get opto isolated circuit?
Hey - I was wondering if you could elaborate which of the three pins on the relay you connected the GND/VCC and why there Is a third pin...
The three pins are
N/O normally/open
COM common
N/C normally/closed
Can I use a 12v relay?
Thank u for your... video which helps me a lot in my project...
Can I know the reason why? you used YWROBOT as a isolated supply..instead of direct supply from arduino…?
It's for electrical isolation. If there's back emf in the relay or something goes wrong then the Arduino could get damaged without it. This blog post helped me understand it: howtomechatronics.com/tutorials/arduino/control-high-voltage-devices-arduino-relay-tutorial/
As pointed out by many, the stripping of the Hot wire was done poorly and, the naked wires fairly dangerous although it's just the Hot wire and not very dangerous since not touching the ground or eart, but what if a student tries this standing barefooted on a damp concrete floor and the electricity was earthed ! Otherwise nice job explaining the function and usage of a Relay. Thanks.
I am facing problem doing wiring of "LED will relay module".
If I attach both wire in
1&2 it starts automatically/instantly
In 1&3 or 2&3 nothing happens
What if I want to use a battery?
so the relays are 5 v right ?
Yes
Hey sir
Now i connect like this
And the relay is active LOW
But i set the code to switch on by High
And switch off by set it Low
Which is wrong (you said this)
When i connect the relay to the lamp it works normally but after a while it lags and the lamp switch off but the relay green lamp blinks as it switch on and off but the lamp doesn’t work
And this is problem
I found also that when i connect the relay to the pin a voltage drop occurs and the volt become around 3.2 not 4.5 or more and the lag occurs (( I’m using atmega not the arduino and 9 v battery))
Please help me
Hello guys, just wanna ask, I want to connect my arduino to a 12v battery (It's possible right?), if so, I want to control a light bulb with the same power source also 12v battery, do I still need a relay? If so what volt should I use?
I'm trying to do the same thing did you ever figure it out?
From what i understand u can get 12 v relays the adrino only runs on 5v (which u can get from a 12v phone charger) the arduino can only take very low current . So yes u need tge relays
yes you made a good video and the instructions are on point however please purchase a pair of wire strippers and learn to properly connect an AC circuit insure there are no exposed wires by using the proper size or guage of wire and when connecting a wire open (unscrew) the terminal far enough so the wire is inserted and there is no exposed copper hanging behind the terminal.
I wish you had gone into more detail about how this set-up was wired, the power supply, each relay circuit, Arduino.
Thank you....very helpful.
How to program an aurdwino
#define BLYNK_PRINT Serial
#include
#include
char auth [ ] = "key";
char ssid [ ] = "name";
char pass [ ] = "pass";
void setup ()
{
Serial.begin(9600);
BLYNK.begin(auth, ssid, pass);
}
void loop ()
{
Blynk.run ();
}
Why had you collected all those drink cans?
Wire strippers and please....some plugs for your cables... its a good video but i'm puking at the electrical wiring :)
Nice I can hardly wait!!
Hello @UCXRkG_PB-qAR67_LBMLONcA,
Thnx a lot for your great UA-cam, It means a lot if you share what you’re good in, so we can learn from each other. I hope you have time for a small simple question. Is there power on your relay coil when the NO contact is closed (when you’re hooked up appliance is on) like a standard relay or does it gets a pulse each time you switch on and off you’re appliance?
Greats
Bart
Dude you are amazing!
Nice job sir.
Good job man!!!
....next time the video looks more suitable (professional) when you put first the alu cans in the waste paper basket.
Super clear - appreciate it.
Thanks, but you need to slow down, and drink less red bull ITS BAD FOR YOU as we can here
speaking of safety, if ur not an electrician pls don't do it with 230VAC
even if you are alone in your room and nobody touch your equipment and you are sure 100 percent from that, you should never connect the relay to the ac 220 volt this way,,, its dangerous man,,, safety first before anything ............
Wow, fancy UA-cam leaving a video up like this with such dangerous work, really disgraceful and dangerous workmanship, nobody should follow this video in regards to the AC terminations, clearly no clue or capability to deal with AC voltages.
the relay is active LOW???? What in the fuck?
Nice video but please re-do it!!!!.. or you will be sued by someone!
Those over exposed wires to the mains is HORRIBLE! If someone tries out the way you handle live voltages they will DIE!!!
I know, a suggestion after almost 3 years on the tube but rather later then never, this is DANGEROUS!!!
Yes this isnt safe, but I do not think you know how electricity works.
Ummm dont fuck about with mains voltage? Ever?
The cringing begins at 2:34
Great info but with high voltage wiring like that someones gunna die...
THANK GOD, someone that speaks proper english finally explaining this correctly... thank you a ton!!!!..
you definitly earned my sub and like!!!! but just wanna say that wiring job was horrid.. and why were you shaking so much.. dang
i think he took his redbull addiction little too far, judging by the shear amount of empty cans in the background and HIS SUPER SHAKY HANDS!!!
Ehh please dont cut and strip wires like this.. looks very unprofessinal. Where are your tool? 😅
This video is a fkin bible for someone trying to learn how to even start powering a high powered device.
Horrible job of showing how it's wired together.
bro.... you butchered those wires. do yourself a favour and buy some side cutters and strippers.
Standard Lamp😂
rip hope i dont die
thats a lot of redbull.
helal lan adamsın
First!!! ;)