Just found out that the 5V regulator of my arduino mega was not working anymore. I have a 12V power supply hooked on it, but the arduino only worked when the usb was hooked as well. I have to confess that I am not 100% sure it was the relay module the responsible for the broken 5V regulator, but as soon as I hooked it up the arduino started behaving strange. The problem with this relay module in particular is that it has no optocoupler. If I can give one advice to everyone is the following: DO NOT USE A RELAY MODULE WITHOUT OPTOCOUPLER WITH ARDUINO.
Thanks for sharing as I was scratching my head getting it to work. I was writing the Arduino code to write the pin as "high" instead of "low". Worked great after that!
Outstanding video. I loved the code split screen. Very good explanations, too! The reason I clicked is because it is the shortest video on arduino relays. It's taken me longer to thank you, than to watch and understand your video. Amazing! Thanks again.
One of the best, if not THE best tutorials I have seen. Subscribed. Now looking at all your others. I hope you have done, or will consider doing a mosfet tutorial. Being able to control low and high power devices is what the Arduino is all about.
Thank you for this video. I am wanting to turn a 5v DC pump on every 24 hours for a few minutes, what is the delay I can programme on a Mega 2560. Thanks
Hi, welcome. Arduino Mega or UNO does not make any difference. If are new to relay, then this video from my course will help you better as it has full wiring diagram ruclips.net/video/N-xbxtGGoHw/видео.html for timing we have Real-Time clock (or RTC) module we can use to control something at exact time and date. here is one full video to use RTC ruclips.net/video/gz9xqvRroDY/видео.html to make either a clock or just use it as Alarm to control a load. My Arduino Step by Step course that starts here ruclips.net/video/-6qSrDUA5a8/видео.html
Thanks for the video, it helped me troubleshoot my relay problems-I had previously grayed-out "//" my code line for specifying my output pin's mode. Now it works!
Hello, can I use this type of relay (+ board) self-standing also? I was thinking it for a personal project, commanded by my usb port, when I switch my smart-tv on (to automatically switch some external speakers on). Would it work? can I connect the command + supply powers together? thanks
Yes you can use it without Arduino. Just need the input to be 5V. I have video showing how to control relay using USB ruclips.net/video/26XHb_cpiAA/видео.html or simple module ruclips.net/video/HzLCkzX5q3w/видео.html
This is just a relay so you can turn ON or OFF a larger load. If you are looking for a push button control of relay, please see this video ruclips.net/video/7CCSRs5bvH0/видео.html
Hi, you can read values between 0v to 5v. If your values are in between 0-5 volts you can read it. So to measure AC voltage, just use resistor voltage divider to reduce it by 10 time or 20 times and then measure. If you want to know how to read voltage, watch this video ruclips.net/video/TbLdAQpE4jE/видео.html
yes you can. it is made for that purpose. But, make sure the relay can handle that amount of current (amper). So check the relay current rating usually 10A or more. and then check the 220v device power. Example if you connected 440W device, then 440÷220=2A
RoboJax Videos Thnaks for reply I saw videos using normal relay ( not module ). They used diode for protecting arduino, Should I use diode with normal relay and not necessary with module ?
Hi there, thanks for this video but i couldn't find a answer. I want my 12 fan go on when raspberry pi is turned on. So using the USB port as a trigger. Using just 5v and ground from USB. Is it possible?
Hi, no problem. Big difference, NO. The module shown in this video is not just relay, but it is a module with other components. this is LOW level trigger. if it is like a module, then both should be the same. but electrically they should have different characteristics like internal resistance, turn-ON current etc. The better and latest video of this video is here ruclips.net/video/g6k8sPJyif8/видео.html and here is the HIGH level trigger module video ruclips.net/video/58XWVDnB7Ss/видео.html
Yes you can if the amount of current for your motor is less than the rated current of your relay . see this for calculating relay power snag.gy/UDJMCg.jpg
Yes it can as long as the power of the device is not above the 10A. So the deice should be under 2000W. Ready the current your relay can handle. it should show 10A or 5A. then multiply Voltage (V) x Current(A)=Power (Watt)
hello sir , i did the same thing by using LED ( it's working well '' two state On/Off '' ) but when i use the same relay module switch it stuck in one state '' On '' ?
did you update the code or used exact code? it should turn ON and OFF. Share your code on this website codeshare.io/ once you pasted your code, you will have a unique URL (web address) and then send it to me to look at it. Please reply to this comment here so I can find your comment.
It is because you have connected your wires like that. You have 3 terminal (let's call it ABC) to connect your 220v. You have connected One to center (B) and one to the other side (A) . Simply keep the center wire (B) and change the position of wire (A) to (C) which means move it to the terminal which were empty and it will inverted now.
Hi , I have just followed your instructions and on my relay a red led is flashing in time to the on/off code instruction but when I put my multimeter onto the CPM and NO pins on the relay I am not getting a "buzz" can you help please ?
Hey Robojax, I wrote the code you have on Arduino int touchPin = 2; int val = 0; int relayPin = 8; void setup() { pinMode(relayPin OUTPUT); } void loop() { digitalWrite(relayPin, LOW); delay(500); digitalWrite(relayPin, High); delay(500) } ...and the arduino gave an error saying "too few arguments to function 'void pinMode(uint8_t, uint8_t)" what do you think is wrong I've followed everything you video have mentioned..please help Robojax. Much appreciated and thank you.
I got two of these for an Arduino project. They work okay, but there are no mounting holes! Anybody have any suggestions on how to mount them in a plastic project box enclosure along with other active electronics components?
adding mounting holes will make the size larger. you can either use acrylic to make your own box using glue or 3D print. you may also be able to find larger relay modules which holes on Amazon or eBay.
hello sir! im new to arduino. I have a question I am using arduino mega 2560 and my pin 8 is occupied. Is it okay if i put the input in relay to pin 7 or 10? because pin 9 is also occupied. thanks
Sir, I have another question. Can I connect a 12v solenoid to a 5vrelay. then a relay is connected to arduino? cause in some videos I see they use transistor. thanks
I am sorry I missed your question. yes you can. Relay is completely isolated (separated electrically) so you can connect any device that the relay can handle. If relay can handle 10A, then you can connect any device with up to 10A. Be careful if you work with any voltage over 50V to have proper protection and insulation.
Thank you for the response Sir. Now I connected the 5vrelay to arduino but my 12v solenoid which is connected to my relay doesnt work.. Maybe theres something wrong with my code. by the way i connected the wires of solenoid to COM and NC..
@@robojax but I connected the relay to the Arduino and then connected a 12v motor to it. But it is not switching. The Led placed instead of the relay is working, but the relay doesn't work.
I am facing one issue! The switching at relay is not working!! Although the LED on Relay blinks, the bulb is never powered-on. I have tested the power line is fine. But when the relay is turned on, the bulb does not get power. I don't see voltage at NO when relay is on. I tried with NC. Then the bulb is powered-on but it never gets switched-off. It is always on. Thanks in advance.
do 2 things. first. the two wire that you connect to relay, connect them together (to switch it ON) and then (carefully without touching it) connect the power to the bulb to make sure it turns ON. 2-using continuity tester on multimeter (which buzzes when you connect two prob) or if you don't have this option, use it as ohm meter and check the two terminal of relay where you connect the bulb. you should read zero OHM. there can't be anything else. you should find problem either in step 1 or in step 2. There is no more help I can offer.
is the red LED ON? if not check the power. When the red LED is one, try to connect the input (IN pin) of relay to 5V and then to connect to GND. You should hear click and green LED on. if this fails, the module is BAD.
Why my motor still works when I connected to NO? Does the relay works when the circuit have no electricity? I mean, I use 2 sources, from USB and from 9v battery, the relay doesn't light up if the electric from USB not connected and the board is not online, but the motor still works as it use the battery source
Yes it does turn something ON when it has not power. You can use it to turn OFF something or turn ON. You may need to watch this video which is part of the course ruclips.net/video/N-xbxtGGoHw/видео.html
@@robojax so, it doesn't matter if I use relay or not, the connection will always be ON? Even if I connect to Normally Open? I though relay is just the same as the switch with NO and NC hmm
N/O means Normally open (disconnected). so when relay if OFF, it is OPEN. When relay is ON, it is closes the switch. Watch this video ruclips.net/video/g6k8sPJyif8/видео.html
@@robojax hey I am programming a sanitizer dispenser with IR sensor, Arduino Nano,Relay module I want a timer limit for each dispensing (I mean, even if someone puts hand under IR sensor for a long time continuously it should only dispense for 4 seconds) I wrote void setup() { pinMode(8, INPUT);// set pin as input for IR sensor module pinMode(9, OUTPUT); // For relay module } void loop() { bool isON = false; int detect = digitalRead(8);// read obstacle status and store it into "detect" if(detect == LOW && !isON){ isON = true; digitalWrite(9,HIGH); delay(2500); digitalWrite(9,LOW); }else{ digitalWrite(9,LOW); } } But it's not stopping after 2.5 seconds even if put my hand for long time Is there any mistakes in my program Please help me....I am stuck I hope you will help me please...
Arduino has a main chip which is made by ONE manufacturer MICROCHIP. No matter where you get your Arduino, you ill have the chip from Microchip. Arduino is open source and anyone can make it . There is no clone or authentic. Just different manufacturer. In this case you could say it is not made by Arduino.cc
It could be your Anti Virus real time protection. Disable "real time protection" and it should work. Watch this video ruclips.net/video/kb0ghfUO2AE/видео.html
This relay draws 66mA current in total when it is ON. So it will have no affect on Arduino at all.
Works fine...
The limit for the Arduino pin is only 40mA. Not good.
Albert Valdez pretty sure it’s 90mA according to google
The official arduino website say that "DC Current per I/O Pin: 20 mA". What to do now?
Just found out that the 5V regulator of my arduino mega was not working anymore. I have a 12V power supply hooked on it, but the arduino only worked when the usb was hooked as well. I have to confess that I am not 100% sure it was the relay module the responsible for the broken 5V regulator, but as soon as I hooked it up the arduino started behaving strange.
The problem with this relay module in particular is that it has no optocoupler. If I can give one advice to everyone is the following:
DO NOT USE A RELAY MODULE WITHOUT OPTOCOUPLER WITH ARDUINO.
Tutorial should be like this
Short
Straight to the point
Correct explanation
Intersting
Thnx a lot sir for such a wonderful video.
N.O. = Normally Open (off) and N.C. = Normally Closed (on)
Yes. Thanks for pointing and correcting.
Exactly
When ever I connect relay by default my led attached to out put should be off .but I tried it shows on . What do I do
Ok to be honest, i got this for christmas and didnt understand it. Thanks for helping me understand!
This is exactly what I was looking for. Informative, fast and concise. Just brilliant. Thank you so much kind Sir, greatly appreciated.
you are welcome. :-)
Thanks for sharing as I was scratching my head getting it to work. I was writing the Arduino code to write the pin as "high" instead of "low". Worked great after that!
Excellent!
Outstanding video. I loved the code split screen. Very good explanations, too! The reason I clicked is because it is the shortest video on arduino relays. It's taken me longer to thank you, than to watch and understand your video. Amazing! Thanks again.
I am glad you. It helped. Please check my other videos related to relay or other stuff. Please subscribe and share 👍
One of the best, if not THE best tutorials I have seen. Subscribed. Now looking at all your others. I hope you have done, or will consider doing a mosfet tutorial. Being able to control low and high power devices is what the Arduino is all about.
Bro, i searched this for days. Love it! Good tutorial 😁
I am glad you found it and it helped. and here is the version where you control AC bulb ruclips.net/video/g6k8sPJyif8/видео.html
That was simple and easy to understand man ..... Nice
Edit: Subscribed....!
thank you very much.
NC = Normally Closed
NO = Normally Open
So the one is a NOT of the other
Perfect video otherwise, nice, thank you!
thank you so much for this I figured something out for my project!
Best exemple found on youtube. Nice presentation!
Thank you.
Thank you for this video. I am wanting to turn a 5v DC pump on every 24 hours for a few minutes, what is the delay I can programme on a Mega 2560. Thanks
Hi, welcome. Arduino Mega or UNO does not make any difference. If are new to relay, then this video from my course will help you better as it has full wiring diagram ruclips.net/video/N-xbxtGGoHw/видео.html for timing we have Real-Time clock (or RTC) module we can use to control something at exact time and date. here is one full video to use RTC ruclips.net/video/gz9xqvRroDY/видео.html to make either a clock or just use it as Alarm to control a load. My Arduino Step by Step course that starts here ruclips.net/video/-6qSrDUA5a8/видео.html
Thanks for the video, it helped me troubleshoot my relay problems-I had previously grayed-out "//" my code line for specifying my output pin's mode. Now it works!
You are welcome. I am glad you found the issue.
Great explanation; in a simple video. thanks
Glad it was helpful!
Very useful. I was finding such video. ❤️❤️
Glad it was helpful!
Thank you for this demo, it showed me exactly what I needed to know
you are welcome.
Is the signal/control pin connected directly to the base of the transistor?
But how the LOW signal makes the relay on ??
Thank you for the simple explanation brother👍
Glad it was helpful!
you've just got a new subscriber. Great video!
Thank you.
Hi , this relay same with the relay with the keyes ?
Yes it is. the same relay is just soldered on the board here.
thnks :)
Very nice and explained in detail with easy method 👌
Hello, this a better video with wiring diagram from my course ruclips.net/video/N-xbxtGGoHw/видео.html
very well done sir! i learned a lot!
Great job !! Simple, fully explained. Thank you
You are welcome.
Thank u sir .excellent .this is the one I looking for . Thank u so much
Ooooooo first time i see you :) Thank you for all the good work.
You are welcome. Nice to have you on my channel.
Hi,i want to ask if i want the relay module to connect with 12V dc led, which type of relay module i should use?
Hi, relay is just a switch which connect and disconnects the wire. Doesn’t matter if you connect 12V load or connect 220V
@@robojax ok thank you so much
If I connect the 5vdc to both the vcc and signal, and gnd to gnd, will the relay be activated every time it receives power?
yes it will.
thanx for your support ...!😀🥰🥰
The green and red led is on but the relay not switch what the mistak?
Is the currnt low?
Hello sir will this same relay work with dc solenoid valve ?
Hello, relay is just a switch and it work like normal switch with anything
Can we do input of 3 volt
Hello,
can I use this type of relay (+ board) self-standing also? I was thinking it for a personal project, commanded by my usb port, when I switch my smart-tv on (to automatically switch some external speakers on). Would it work? can I connect the command + supply powers together?
thanks
Yes you can use it without Arduino. Just need the input to be 5V. I have video showing how to control relay using USB ruclips.net/video/26XHb_cpiAA/видео.html or simple module ruclips.net/video/HzLCkzX5q3w/видео.html
Could something like this be used to trigger a garage door or similar where it just expects a button press and no voltage throughput?
This is just a relay so you can turn ON or OFF a larger load. If you are looking for a push button control of relay, please see this video ruclips.net/video/7CCSRs5bvH0/видео.html
Hi dear,
I want to know if the ac power is available or not to read an input signal in the arduino.
Hi, you can read values between 0v to 5v. If your values are in between 0-5 volts you can read it. So to measure AC voltage, just use resistor voltage divider to reduce it by 10 time or 20 times and then measure. If you want to know how to read voltage, watch this video ruclips.net/video/TbLdAQpE4jE/видео.html
What happen if you disconnect the trigger input when the gate is on? Will it stay closed forever?
No. It will turn OFF and stays OFF.
Can I use it safely with 220v device without worrying about self induction ?
yes you can. it is made for that purpose. But, make sure the relay can handle that amount of current (amper). So check the relay current rating usually 10A or more. and then check the 220v device power. Example if you connected 440W device, then 440÷220=2A
RoboJax Videos
Thnaks for reply
I saw videos using normal relay ( not module ). They used diode for protecting arduino, Should I use diode with normal relay and not necessary with module ?
Yes the diode is necessary to protect the circuit. This module has the protective diode so you don't have to worry.
Excellent video! Thank you so much
You're very welcome!
Hi there, thanks for this video but i couldn't find a answer. I want my 12 fan go on when raspberry pi is turned on. So using the USB port as a trigger. Using just 5v and ground from USB. Is it possible?
Hi, this video has nothing to do with USB. You could have searched for USB in my channel . Here is the video ruclips.net/video/26XHb_cpiAA/видео.html
Good tutorial thankyou sir!
here is the better version of this video with wiring diagram and details from my course ruclips.net/video/N-xbxtGGoHw/видео.html
Hi.
Sorry for the bother but...
I need your help really!!!
is there a big difference between JQC-3FF-S-Z and SRD-05VDC-SL-C?
Thank...
Hi, no problem. Big difference, NO. The module shown in this video is not just relay, but it is a module with other components. this is LOW level trigger. if it is like a module, then both should be the same. but electrically they should have different characteristics like internal resistance, turn-ON current etc. The better and latest video of this video is here ruclips.net/video/g6k8sPJyif8/видео.html and here is the HIGH level trigger module video ruclips.net/video/58XWVDnB7Ss/видео.html
@@robojax Ahaaaa... THANK YOU!!!
you are welcome.
really simple and easy to understand! keep up the good work bro
Thank you.
Can this relay trigger 12v motor from 12v battery power supply?
No. Only 10 A.
See on the relay 10 A on DC et AC
Yes you can if the amount of current for your motor is less than the rated current of your relay . see this for calculating relay power snag.gy/UDJMCg.jpg
hello, how could this relay be melted into a abs board?
good explanation/demo. can a 220 device be controlled with this?
Yes it can as long as the power of the device is not above the 10A. So the deice should be under 2000W. Ready the current your relay can handle. it should show 10A or 5A. then multiply Voltage (V) x Current(A)=Power (Watt)
Very nice demo👍
thank you.
Hello sir, what is the max voltage i can give it as an input to the relay
it says 5V. Higher voltage will not turn it OFF. Thank you for not skipping the ads and keep watching it. This will help me a lot.
hello sir , i did the same thing by using LED ( it's working well '' two state On/Off '' ) but when i use the same relay module switch it stuck in one state '' On '' ?
did you update the code or used exact code? it should turn ON and OFF. Share your code on this website codeshare.io/ once you pasted your code, you will have a unique URL (web address) and then send it to me to look at it. Please reply to this comment here so I can find your comment.
@@robojax codeshare.io/GLbAlK ( i'm using Nodemcu esp8266)
That was very helpful. Thanks a lot.
you are welcome.
is it ok to use 220V AC pump on this?
does not matter what. as long as the current rating of relay is respected, it should work.
Woah thankyou very much! This is so helpful.
You are welcome. I am glad you found it useful.
Hi I have relay but not like this it's not relay module just relay piece can I still connect this to arduino or raspberry?
Hi, please watch this video then to learn how to drive a relay ruclips.net/video/N-fFk51Eb8s/видео.html
@@robojax thank you
Why high and low have inverted result on relay? With High is off, with low is on. Can i use it for 1200w device? ( 220v)
It is because you have connected your wires like that. You have 3 terminal (let's call it ABC) to connect your 220v. You have connected One to center (B) and one to the other side (A) . Simply keep the center wire (B) and change the position of wire (A) to (C) which means move it to the terminal which were empty and it will inverted now.
RoboJax Videos I did not connect the output, I'm talking about green light
I have the same question. Why does the green light on relay turn on(i.e. the relay turns on) when a LOW is written to the relay??
Strong basic & helpful ......thanks a lot.........
You are welcome. 👍
what relay did you use?
it is shown in the video. "relay module arduino" is the keyword you search.
Good Demo ☺
Hi, RUclips made new tools so I can check which comments I have not replied and here I found you. Sorry I missed your comment. Thank you.
Hi , I have just followed your instructions and on my relay a red led is flashing in time to the on/off code instruction but when I put my multimeter onto the CPM and NO pins on the relay I am not getting a "buzz" can you help please ?
I have tested the input voltage to the relay and I am getting a 5V feed from the Arduino and the green pwr light is on
the "buzz" is where the relay doesn't get enough power. Is the relay 5V? some times they put 12V relay.
Sir, can you make a water dispenser by using relay, sensor, air pump and arduino..
I will make video that many people need. Water dispenser I never heard and it seems very few people might want it.
@@robojax Ok, sir. Thank you for replying my comment. ^_^
You are welcome.
that was a very clear explanations.. thanks
You are welcome. Thank you for your subscription and thumb up.
Hey Robojax, I wrote the code you have on Arduino
int touchPin = 2;
int val = 0;
int relayPin = 8;
void setup() {
pinMode(relayPin OUTPUT);
}
void loop() {
digitalWrite(relayPin, LOW);
delay(500);
digitalWrite(relayPin, High);
delay(500)
}
...and the arduino gave an error saying "too few arguments to function 'void pinMode(uint8_t, uint8_t)"
what do you think is wrong I've followed everything you video have mentioned..please help Robojax. Much appreciated and thank you.
Hi, you forgot the comma in pinMode(relayPin OUTPUT); just before the OUTPUT
Thanks dude you help me alot
You are welcome.
can i connect 5v 1 channel relay to a 3.3v vcc?
no. it will not work.
Can someone tell me if a ssr can be used for 5v direct current? would be to control an injector in a fuel injection project managed by arduino
watch my video on Solid State Relay ruclips.net/video/64NatLeGsaE/видео.html
Can the same can cut 12 volt ?
the relay can connect and disconnect any voltage up to 230V.
I got two of these for an Arduino project. They work okay, but there are no mounting holes! Anybody have any suggestions on how to mount them in a plastic project box enclosure along with other active electronics components?
adding mounting holes will make the size larger. you can either use acrylic to make your own box using glue or 3D print. you may also be able to find larger relay modules which holes on Amazon or eBay.
Good and easy examble
hello sir! im new to arduino. I have a question I am using arduino mega 2560 and my pin 8 is occupied. Is it okay if i put the input in relay to pin 7 or 10? because pin 9 is also occupied. thanks
Yes you can. in this line int relayPin = 8;,
just change 8 to another pin.
Sir, I have another question. Can I connect a 12v solenoid to a 5vrelay. then a relay is connected to arduino? cause in some videos I see they use transistor. thanks
I am sorry I missed your question. yes you can. Relay is completely isolated (separated electrically) so you can connect any device that the relay can handle. If relay can handle 10A, then you can connect any device with up to 10A. Be careful if you work with any voltage over 50V to have proper protection and insulation.
Thank you for the response Sir. Now I connected the 5vrelay to arduino but my 12v solenoid which is connected to my relay doesnt work.. Maybe theres something wrong with my code.
by the way i connected the wires of solenoid to COM and NC..
do you hear click sound? does the LED on the relay module turns OFF or ON?
..how many mAmps can this relay consumes from the 5 volts ???
I just measured it and it draws 66mA current in total when it is ON.
Excellent!!!! Thanks!!!
Some tutorials have a diode connected too, why is that? Sorry if the question is stupid, I’m a beginner
no question is stupid. You have a valid question. I have video on that here ruclips.net/video/N-fFk51Eb8s/видео.html
@@robojax do I need a transistor if it's a relay module?
that's why I sent you the video. Watch it and you will get all your answers.
Can a 12v relay work on 5v Arduino
I want to use the relay to connect to a 12v motor. I tried doing it, but it won't work
if 12V relay module. yes. When we say module, it means Relay with other components on the PCB.
@@robojax but I connected the relay to the Arduino and then connected a 12v motor to it. But it is not switching. The Led placed instead of the relay is working, but the relay doesn't work.
It seems you haven' understand it. see this video ruclips.net/video/g6k8sPJyif8/видео.html
Yeaaaah i love the Paint way!
😊 .
Thank you man
Well explained
Thank you. Please subscribe. I appreciate it and helps my channel grow. Thank you
I am facing one issue! The switching at relay is not working!! Although the LED on Relay blinks, the bulb is never powered-on. I have tested the power line is fine. But when the relay is turned on, the bulb does not get power. I don't see voltage at NO when relay is on. I tried with NC. Then the bulb is powered-on but it never gets switched-off. It is always on. Thanks in advance.
do 2 things. first. the two wire that you connect to relay, connect them together (to switch it ON) and then (carefully without touching it) connect the power to the bulb to make sure it turns ON.
2-using continuity tester on multimeter (which buzzes when you connect two prob) or if you don't have this option, use it as ohm meter and check the two terminal of relay where you connect the bulb. you should read zero OHM. there can't be anything else. you should find problem either in step 1 or in step 2. There is no more help I can offer.
Thank you kind sir
You're welcome
i used your example on my project but my relay continuously still on both sketch condition (high & low) and not blinking why
is the red LED ON? if not check the power. When the red LED is one, try to connect the input (IN pin) of relay to 5V and then to connect to GND. You should hear click and green LED on. if this fails, the module is BAD.
Why my motor still works when I connected to NO? Does the relay works when the circuit have no electricity? I mean, I use 2 sources, from USB and from 9v battery, the relay doesn't light up if the electric from USB not connected and the board is not online, but the motor still works as it use the battery source
Yes it does turn something ON when it has not power. You can use it to turn OFF something or turn ON. You may need to watch this video which is part of the course ruclips.net/video/N-xbxtGGoHw/видео.html
@@robojax so, it doesn't matter if I use relay or not, the connection will always be ON? Even if I connect to Normally Open? I though relay is just the same as the switch with NO and NC hmm
@@robojax my bad, I connected it to NC instead of NO, I just checked it lmao, thanks dude
you are welcome. Please watch this video ruclips.net/video/N-xbxtGGoHw/видео.html which has better details and all videos have wiring diagram.
Great tutorial
Thank you.
From where can i get low level trigger
Amazon, ebay.com or AliExpress.com
Thanks
You are welcome.
Can I know why whe want to give 5v to relay..the coding needed LOW
I have explained this in video. watch it again.
If the relay is trigger to n/o that means it break the circuit ryte
N/O means Normally open (disconnected). so when relay if OFF, it is OPEN. When relay is ON, it is closes the switch. Watch this video ruclips.net/video/g6k8sPJyif8/видео.html
@@robojax actually i want to connect relay to motorbike hand starter.. If the voltage pass through the relay.. How to make the relay back to n/c
This is video is for that. or the other video. Use your bike instead of the bulb.
NO: is Normally open sir. Not Normally ON.
Yes. It is but I has been recorded and can't edit it.
very nice
Thank you.
thank u new experience this video
You are welcome.
ThankYou Somuch...
You are welcome
@@robojax hey I am programming a sanitizer dispenser with IR sensor, Arduino Nano,Relay module
I want a timer limit for each dispensing (I mean, even if someone puts hand under IR sensor for a long time continuously it should only dispense for 4 seconds)
I wrote
void setup() {
pinMode(8, INPUT);// set pin as input for IR sensor module
pinMode(9, OUTPUT); // For relay module
}
void loop() {
bool isON = false;
int detect = digitalRead(8);// read obstacle status and store it into "detect"
if(detect == LOW && !isON){
isON = true;
digitalWrite(9,HIGH);
delay(2500);
digitalWrite(9,LOW);
}else{
digitalWrite(9,LOW);
}
}
But it's not stopping after 2.5 seconds even if put my hand for long time
Is there any mistakes in my program
Please help me....I am stuck
I hope you will help me please...
@@robojax please help me...
@@robojax please...
thank you!
You are welcome.
thank you
You're welcome
And I thought there is something wrong with my relay, turned out LOW signal makes it on and HIGH signal disconnects it.
Good to hear you find the issue.
@@robojax Yeah, thanks. Love your channel btw, keep the good work.
Super sir
Thank you .
hallo bro, are you have coding relay for cvavr bro? need help please :(
sorry bro, I have no experience of CVAVR. will look into it.
awesome
thanks. here is the better video with wiring diagram and more stuff ruclips.net/video/N-xbxtGGoHw/видео.html
Thanks
You also have a Arduino Uno clone😂😂, i buyed it by mistake.
Arduino has a main chip which is made by ONE manufacturer MICROCHIP. No matter where you get your Arduino, you ill have the chip from Microchip. Arduino is open source and anyone can make it . There is no clone or authentic. Just different manufacturer. In this case you could say it is not made by Arduino.cc
oh i didnt knew it, thanks. Appreciated!
You are welcome.
thanks!
You are welcome.
sir i getting exit status 1 error
It could be your Anti Virus real time protection. Disable "real time protection" and it should work. Watch this video ruclips.net/video/kb0ghfUO2AE/видео.html
Thanks
you are welcome.
8chennal 5v relay connection
did you search my channel for this?
NO means normally open not normally on!
thank. you are perhaps 17345th person mentinng it and I am very lucky.