Using 5V 1 channel relay module for Arduino

  Рет қаралды 269,722

Robojax

Robojax

7 жыл бұрын

Watch the latest video for this 5V relay: • Control AC bulb with 5...
Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
The best thank you for me is to not skip ads and Subscribe 🔔 to my channel, like 👍 the video and do not skip the ads.. It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
This video shows you how to use 5V relay module for Arduino.
First the 5V 1 channel relay is explained and tested. Then from the Arduino software the relay is turned ON and OFF to demonstrate how it work and buzzer is tested.
Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
Tutorial by Ahmad Shamshiri form Canada
****************************
Learn Arduino from a proven instructor with 100s of projects, code, wiring diagram in structured course in one place. Purchase Arduino Course at Udemy.com : robojax.com/L/?id=153
****************************
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link paypal.me/robojaxTV
Get early access to my videos by becoming my Patreon and and have your name mentioned at end of very videos I publish on KZfaq: robojax.com/L/?id=97
If you want to learn Arduino from proven instructor on **Udemy**: bit.ly/rj-udemy
Follow me on Facebook robojaxTV
Follow me on Twitter: / robojaxtv
Follow me on Instagram: / robojax
Tutorial by Robojax.com
Get other projects code and learn Arduino
robojax.com/learn/arduino
#robojax #robojax_relay #robojax_wifi

Пікірлер: 250
@robojax
@robojax 6 жыл бұрын
This relay draws 66mA current in total when it is ON. So it will have no affect on Arduino at all.
@mihirthanekar1482
@mihirthanekar1482 4 жыл бұрын
Works fine...
@albertvaldez2669
@albertvaldez2669 3 жыл бұрын
The limit for the Arduino pin is only 40mA. Not good.
@advisedpotato8983
@advisedpotato8983 3 жыл бұрын
Albert Valdez pretty sure it’s 90mA according to google
@eduardomeller6926
@eduardomeller6926 3 жыл бұрын
The official arduino website say that "DC Current per I/O Pin: 20 mA". What to do now?
@eduardomeller6926
@eduardomeller6926 3 жыл бұрын
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.
@benjaminhoward9801
@benjaminhoward9801 7 жыл бұрын
This is exactly what I was looking for. Informative, fast and concise. Just brilliant. Thank you so much kind Sir, greatly appreciated.
@robojax
@robojax 7 жыл бұрын
you are welcome. :-)
@tonyb5469
@tonyb5469 6 жыл бұрын
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.
@viveknayar8677
@viveknayar8677 3 жыл бұрын
Tutorial should be like this Short Straight to the point Correct explanation Intersting Thnx a lot sir for such a wonderful video.
@BJ-uncensored
@BJ-uncensored 3 жыл бұрын
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.
@robojax
@robojax 3 жыл бұрын
I am glad you. It helped. Please check my other videos related to relay or other stuff. Please subscribe and share 👍
@randywetzler5976
@randywetzler5976 Жыл бұрын
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!
@robojax
@robojax Жыл бұрын
Excellent!
@darcostoianov186
@darcostoianov186 3 жыл бұрын
Bro, i searched this for days. Love it! Good tutorial 😁
@robojax
@robojax 3 жыл бұрын
I am glad you found it and it helped. and here is the version where you control AC bulb kzfaq.info/get/bejne/nZyba9aBr9_Nlmw.html
@timeorspace
@timeorspace 7 жыл бұрын
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!
@robojax
@robojax 7 жыл бұрын
You are welcome. I am glad you found the issue.
@pauljustingarde477
@pauljustingarde477 3 жыл бұрын
thank you so much for this I figured something out for my project!
@Lot10Games
@Lot10Games 5 жыл бұрын
Best exemple found on youtube. Nice presentation!
@robojax
@robojax 5 жыл бұрын
Thank you.
@dairemacmeiric6687
@dairemacmeiric6687 6 жыл бұрын
Thank you for this demo, it showed me exactly what I needed to know
@robojax
@robojax 6 жыл бұрын
you are welcome.
@jeffflowers5489
@jeffflowers5489 7 жыл бұрын
N.O. = Normally Open (off) and N.C. = Normally Closed (on)
@robojax
@robojax 7 жыл бұрын
Yes. Thanks for pointing and correcting.
@munawerhussain2304
@munawerhussain2304 5 жыл бұрын
Exactly
@onkarshikhare31
@onkarshikhare31 4 жыл бұрын
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
@filipistee885
@filipistee885 3 жыл бұрын
Ok to be honest, i got this for christmas and didnt understand it. Thanks for helping me understand!
@sarimbinwaseem
@sarimbinwaseem 5 жыл бұрын
That was simple and easy to understand man ..... Nice Edit: Subscribed....!
@robojax
@robojax 5 жыл бұрын
thank you very much.
@mikerodgers9069
@mikerodgers9069 6 жыл бұрын
Great job !! Simple, fully explained. Thank you
@robojax
@robojax 6 жыл бұрын
You are welcome.
@ser7ser7i
@ser7ser7i 5 жыл бұрын
Ooooooo first time i see you :) Thank you for all the good work.
@robojax
@robojax 5 жыл бұрын
You are welcome. Nice to have you on my channel.
@5621346
@5621346 3 жыл бұрын
very well done sir! i learned a lot!
@BluPrint834
@BluPrint834 3 жыл бұрын
Great explanation; in a simple video. thanks
@robojax
@robojax 3 жыл бұрын
Glad it was helpful!
@anushangapavith9278
@anushangapavith9278 3 жыл бұрын
Very useful. I was finding such video. ❤️❤️
@robojax
@robojax 3 жыл бұрын
Glad it was helpful!
@kp_kovilakam
@kp_kovilakam 3 жыл бұрын
Thank you for the simple explanation brother👍
@robojax
@robojax 3 жыл бұрын
Glad it was helpful!
@SuryamTT
@SuryamTT Жыл бұрын
Thank u sir .excellent .this is the one I looking for . Thank u so much
@sosscs
@sosscs Жыл бұрын
Is the signal/control pin connected directly to the base of the transistor?
@grIMAG3
@grIMAG3 5 жыл бұрын
Woah thankyou very much! This is so helpful.
@robojax
@robojax 5 жыл бұрын
You are welcome. I am glad you found it useful.
@mohamadhabibhomeidi5634
@mohamadhabibhomeidi5634 5 жыл бұрын
The green and red led is on but the relay not switch what the mistak? Is the currnt low?
@viswanathav9620
@viswanathav9620 Жыл бұрын
Very nice and explained in detail with easy method 👌
@robojax
@robojax Жыл бұрын
Hello, this a better video with wiring diagram from my course kzfaq.info/get/bejne/hJOoldulrK3TeKs.html
@nuenoir
@nuenoir 4 жыл бұрын
really simple and easy to understand! keep up the good work bro
@robojax
@robojax 4 жыл бұрын
Thank you.
@MrAbcdefgh1989
@MrAbcdefgh1989 5 жыл бұрын
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
@robojax
@robojax 5 жыл бұрын
Yes you can use it without Arduino. Just need the input to be 5V. I have video showing how to control relay using USB kzfaq.info/get/bejne/aJyIe8WQyNbNcXU.html or simple module kzfaq.info/get/bejne/fuB8ds6rvZvVY6s.html
@prudvi01
@prudvi01 3 жыл бұрын
Excellent video! Thank you so much
@robojax
@robojax 3 жыл бұрын
You're very welcome!
@kaushalyalakshitha9682
@kaushalyalakshitha9682 Жыл бұрын
thanx for your support ...!😀🥰🥰
@tharukagunasekara3807
@tharukagunasekara3807 7 жыл бұрын
That was very helpful. Thanks a lot.
@robojax
@robojax 7 жыл бұрын
you are welcome.
@amirulsiddiq7764
@amirulsiddiq7764 6 жыл бұрын
that was a very clear explanations.. thanks
@robojax
@robojax 6 жыл бұрын
You are welcome. Thank you for your subscription and thumb up.
@josephjimenez603
@josephjimenez603 4 жыл бұрын
Hi, I'm new to using arduino and relay (5vdc). I want to know whether it is necessary to use a resistor for the keypad cellphone that I will be connecting to the relay since I will connect the relay to the arduino nano module which has a 5v output?
@robojax
@robojax 4 жыл бұрын
are you talking about connecting something TO the relay or FROM relay? if connecting to the INPUT of relay then you don't need to put any resistor.
@debabratasikder9448
@debabratasikder9448 6 жыл бұрын
Strong basic & helpful ......thanks a lot.........
@robojax
@robojax 6 жыл бұрын
You are welcome. 👍
@palmy1055
@palmy1055 Жыл бұрын
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
@robojax
@robojax Жыл бұрын
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 kzfaq.info/get/bejne/hJOoldulrK3TeKs.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 kzfaq.info/get/bejne/neBpq9Snt9jTdI0.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 kzfaq.info/get/bejne/Y5yhhtV1uqeZkWw.html
@lottalava
@lottalava 2 жыл бұрын
hello, how could this relay be melted into a abs board?
@_hadisalame
@_hadisalame 6 жыл бұрын
Hi dear, I want to know if the ac power is available or not to read an input signal in the arduino.
@robojax
@robojax 6 жыл бұрын
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 kzfaq.info/get/bejne/ish8l6SC1auYmnk.html
@ineffige
@ineffige 3 жыл бұрын
you've just got a new subscriber. Great video!
@robojax
@robojax 3 жыл бұрын
Thank you.
@Arbyofuchprawnage
@Arbyofuchprawnage 5 жыл бұрын
Could something like this be used to trigger a garage door or similar where it just expects a button press and no voltage throughput?
@robojax
@robojax 5 жыл бұрын
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 kzfaq.info/get/bejne/balzhrWkmsjaeGQ.html
@PreetKaur-os8gc
@PreetKaur-os8gc 7 жыл бұрын
Very nice demo👍
@robojax
@robojax 7 жыл бұрын
thank you.
@muhammadhassim5862
@muhammadhassim5862 Жыл бұрын
Good tutorial thankyou sir!
@robojax
@robojax Жыл бұрын
here is the better version of this video with wiring diagram and details from my course kzfaq.info/get/bejne/hJOoldulrK3TeKs.html
@sanb3586
@sanb3586 5 жыл бұрын
Thanks dude you help me alot
@robojax
@robojax 5 жыл бұрын
You are welcome.
@The_Uberfly
@The_Uberfly 4 жыл бұрын
Yeaaaah i love the Paint way!
@robojax
@robojax 4 жыл бұрын
😊 .
@kingdavid4463
@kingdavid4463 3 жыл бұрын
Thank you man
@valor36az
@valor36az 7 жыл бұрын
Great tutorial
@robojax
@robojax 7 жыл бұрын
Thank you.
@power..2437
@power..2437 11 ай бұрын
Thank you so much
@hummingbird2520
@hummingbird2520 3 жыл бұрын
Can we do input of 3 volt
@AlexJoneses
@AlexJoneses 3 жыл бұрын
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?
@robojax
@robojax 3 жыл бұрын
yes it will.
@contravetile
@contravetile 5 жыл бұрын
Good Demo ☺
@robojax
@robojax 4 жыл бұрын
Hi, KZfaq 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.
@PT_Mohamed_Alaa
@PT_Mohamed_Alaa 3 жыл бұрын
Good and easy examble
@TinoushGTR
@TinoushGTR 3 жыл бұрын
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?
@robojax
@robojax 3 жыл бұрын
Hi, this video has nothing to do with USB. You could have searched for USB in my channel . Here is the video kzfaq.info/get/bejne/aJyIe8WQyNbNcXU.html
@tropicaljantie
@tropicaljantie 7 жыл бұрын
good explanation/demo. can a 220 device be controlled with this?
@robojax
@robojax 7 жыл бұрын
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)
@micaelantunes7055
@micaelantunes7055 5 жыл бұрын
What happen if you disconnect the trigger input when the gate is on? Will it stay closed forever?
@robojax
@robojax 5 жыл бұрын
No. It will turn OFF and stays OFF.
@veilixakawaii9919
@veilixakawaii9919 6 жыл бұрын
Hi , this relay same with the relay with the keyes ?
@robojax
@robojax 6 жыл бұрын
Yes it is. the same relay is just soldered on the board here.
@veilixakawaii9919
@veilixakawaii9919 6 жыл бұрын
thnks :)
@kranthieee
@kranthieee 4 жыл бұрын
Hello sir, what is the max voltage i can give it as an input to the relay
@robojax
@robojax 4 жыл бұрын
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.
@ausamzar7632
@ausamzar7632 3 жыл бұрын
Thanks dude
@robojax
@robojax 3 жыл бұрын
You are welcome.
@maciejskiba7606
@maciejskiba7606 3 жыл бұрын
Well explained
@robojax
@robojax 3 жыл бұрын
Thank you. Please subscribe. I appreciate it and helps my channel grow. Thank you
@rodriguezfranco3839
@rodriguezfranco3839 5 жыл бұрын
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
@robojax
@robojax 5 жыл бұрын
watch my video on Solid State Relay kzfaq.info/get/bejne/bJp-lNd9yq3XkXk.html
@Almonds7
@Almonds7 3 жыл бұрын
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.
@robojax
@robojax 3 жыл бұрын
Hi, you forgot the comma in pinMode(relayPin OUTPUT); just before the OUTPUT
@benardopoku3538
@benardopoku3538 2 жыл бұрын
Hello sir will this same relay work with dc solenoid valve ?
@robojax
@robojax 2 жыл бұрын
Hello, relay is just a switch and it work like normal switch with anything
@Pinolissimo
@Pinolissimo 6 жыл бұрын
thank you!
@robojax
@robojax 6 жыл бұрын
You are welcome.
@davetaylor3067
@davetaylor3067 6 жыл бұрын
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 ?
@davetaylor3067
@davetaylor3067 6 жыл бұрын
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
@robojax
@robojax 6 жыл бұрын
the "buzz" is where the relay doesn't get enough power. Is the relay 5V? some times they put 12V relay.
@hippohop6715
@hippohop6715 3 жыл бұрын
Thank you kind sir
@robojax
@robojax 3 жыл бұрын
You're welcome
@mrutyunjayashiremath5589
@mrutyunjayashiremath5589 5 жыл бұрын
thank u new experience this video
@robojax
@robojax 5 жыл бұрын
You are welcome.
@tanzixing3841
@tanzixing3841 2 жыл бұрын
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?
@robojax
@robojax 2 жыл бұрын
Hi, relay is just a switch which connect and disconnects the wire. Doesn’t matter if you connect 12V load or connect 220V
@tanzixing3841
@tanzixing3841 2 жыл бұрын
@@robojax ok thank you so much
@shahid866
@shahid866 6 жыл бұрын
i used your example on my project but my relay continuously still on both sketch condition (high & low) and not blinking why
@robojax
@robojax 6 жыл бұрын
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.
@alanmcrae8594
@alanmcrae8594 3 жыл бұрын
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?
@robojax
@robojax 3 жыл бұрын
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.
@donaldklopper
@donaldklopper 10 ай бұрын
NC = Normally Closed NO = Normally Open So the one is a NOT of the other Perfect video otherwise, nice, thank you!
@Luganjahkinghe
@Luganjahkinghe 6 жыл бұрын
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)
@robojax
@robojax 6 жыл бұрын
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.
@Luganjahkinghe
@Luganjahkinghe 6 жыл бұрын
RoboJax Videos I did not connect the output, I'm talking about green light
@9869415378
@9869415378 6 жыл бұрын
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??
@snvkgram
@snvkgram 6 жыл бұрын
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.
@robojax
@robojax 6 жыл бұрын
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.
@mohfa1806
@mohfa1806 4 ай бұрын
But how the LOW signal makes the relay on ??
@benharriston2532
@benharriston2532 3 жыл бұрын
thank you
@robojax
@robojax 3 жыл бұрын
You are welcome. Please subscribe. I appreciate it and helps my channel grow. Thank you
@xristoskaiti
@xristoskaiti 5 жыл бұрын
thanks!
@robojax
@robojax 5 жыл бұрын
You are welcome.
@younesakakba1034
@younesakakba1034 5 жыл бұрын
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 '' ?
@robojax
@robojax 5 жыл бұрын
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.
@younesakakba1034
@younesakakba1034 5 жыл бұрын
@@robojax codeshare.io/GLbAlK ( i'm using Nodemcu esp8266)
@SundayOwens
@SundayOwens Жыл бұрын
awesome
@robojax
@robojax Жыл бұрын
thanks. here is the better video with wiring diagram and more stuff kzfaq.info/get/bejne/hJOoldulrK3TeKs.html
@yogeshpatel617
@yogeshpatel617 6 жыл бұрын
Can the same can cut 12 volt ?
@robojax
@robojax 6 жыл бұрын
the relay can connect and disconnect any voltage up to 230V.
@electronicsolutionindia3538
@electronicsolutionindia3538 5 жыл бұрын
very nice
@robojax
@robojax 5 жыл бұрын
Thank you.
@Abbici
@Abbici 3 жыл бұрын
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...
@robojax
@robojax 3 жыл бұрын
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 kzfaq.info/get/bejne/nZyba9aBr9_Nlmw.html and here is the HIGH level trigger module video kzfaq.info/get/bejne/a56Iirl106ibg6c.html
@Abbici
@Abbici 3 жыл бұрын
@@robojax Ahaaaa... THANK YOU!!!
@robojax
@robojax 3 жыл бұрын
you are welcome.
@gizem8953
@gizem8953 3 жыл бұрын
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?
@robojax
@robojax 3 жыл бұрын
Hi, please watch this video then to learn how to drive a relay kzfaq.info/get/bejne/hJOWec5mlqvGaKc.html
@gizem8953
@gizem8953 3 жыл бұрын
@@robojax thank you
@deqdanandi6927
@deqdanandi6927 5 жыл бұрын
Can I know why whe want to give 5v to relay..the coding needed LOW
@robojax
@robojax 5 жыл бұрын
I have explained this in video. watch it again.
@nishanthsinceborn
@nishanthsinceborn 5 жыл бұрын
Super sir
@robojax
@robojax 5 жыл бұрын
Thank you .
@noodysamy3204
@noodysamy3204 3 жыл бұрын
can i connect 5v 1 channel relay to a 3.3v vcc?
@robojax
@robojax 3 жыл бұрын
no. it will not work.
@maqeelqureshi
@maqeelqureshi 7 жыл бұрын
Thanks
@robojax
@robojax 7 жыл бұрын
you are welcome.
@darwinlim4837
@darwinlim4837 3 жыл бұрын
is it ok to use 220V AC pump on this?
@robojax
@robojax 3 жыл бұрын
does not matter what. as long as the current rating of relay is respected, it should work.
@sanjaykumar-vr3fh
@sanjaykumar-vr3fh 5 жыл бұрын
Can this relay trigger 12v motor from 12v battery power supply?
@claudiosus
@claudiosus 5 жыл бұрын
No. Only 10 A.
@claudiosus
@claudiosus 5 жыл бұрын
See on the relay 10 A on DC et AC
@robojax
@robojax 5 жыл бұрын
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
@youssefvictor8088
@youssefvictor8088 7 жыл бұрын
Can I use it safely with 220v device without worrying about self induction ?
@robojax
@robojax 7 жыл бұрын
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
@youssefvictor8088
@youssefvictor8088 7 жыл бұрын
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 ?
@robojax
@robojax 6 жыл бұрын
Yes the diode is necessary to protect the circuit. This module has the protective diode so you don't have to worry.
@cordisdie140
@cordisdie140 3 жыл бұрын
Thank you
@robojax
@robojax 3 жыл бұрын
You are welcome. Here is $200 Arduino course for free Arduino Step by Step Course (over 100 lectures) Starts here robojax.com/L/?id=338
@cordisdie140
@cordisdie140 3 жыл бұрын
@@robojax woah! Thank you!
@rozamaevillaraza1178
@rozamaevillaraza1178 6 жыл бұрын
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
@robojax
@robojax 6 жыл бұрын
Yes you can. in this line int relayPin = 8;, just change 8 to another pin.
@rozamaevillaraza1178
@rozamaevillaraza1178 6 жыл бұрын
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
@robojax
@robojax 6 жыл бұрын
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.
@rozamaevillaraza1178
@rozamaevillaraza1178 6 жыл бұрын
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
@robojax 6 жыл бұрын
do you hear click sound? does the LED on the relay module turns OFF or ON?
@zeguyy
@zeguyy 4 жыл бұрын
what relay did you use?
@robojax
@robojax 4 жыл бұрын
it is shown in the video. "relay module arduino" is the keyword you search.
@tonymac96
@tonymac96 6 жыл бұрын
..how many mAmps can this relay consumes from the 5 volts ???
@robojax
@robojax 6 жыл бұрын
I just measured it and it draws 66mA current in total when it is ON.
@tonymac96
@tonymac96 6 жыл бұрын
Excellent!!!! Thanks!!!
@mohamedirfan2816
@mohamedirfan2816 3 жыл бұрын
ThankYou Somuch...
@robojax
@robojax 3 жыл бұрын
You are welcome
@mohamedirfan2816
@mohamedirfan2816 3 жыл бұрын
@@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...
@mohamedirfan2816
@mohamedirfan2816 3 жыл бұрын
@@robojax please help me...
@mohamedirfan2816
@mohamedirfan2816 3 жыл бұрын
@@robojax please...
@tulea95
@tulea95 5 жыл бұрын
Hello! Does anyone have this relay module for fritzing? Where can I find it to import it in fritzing?
@Dean.Michael.Winchester
@Dean.Michael.Winchester 2 жыл бұрын
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
@robojax
@robojax 2 жыл бұрын
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 kzfaq.info/get/bejne/hJOoldulrK3TeKs.html
@Dean.Michael.Winchester
@Dean.Michael.Winchester 2 жыл бұрын
@@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
@Dean.Michael.Winchester
@Dean.Michael.Winchester 2 жыл бұрын
@@robojax my bad, I connected it to NC instead of NO, I just checked it lmao, thanks dude
@robojax
@robojax 2 жыл бұрын
you are welcome. Please watch this video kzfaq.info/get/bejne/hJOoldulrK3TeKs.html which has better details and all videos have wiring diagram.
@neopumpkin5224
@neopumpkin5224 5 жыл бұрын
Sir, can you make a water dispenser by using relay, sensor, air pump and arduino..
@robojax
@robojax 5 жыл бұрын
I will make video that many people need. Water dispenser I never heard and it seems very few people might want it.
@neopumpkin5224
@neopumpkin5224 5 жыл бұрын
@@robojax Ok, sir. Thank you for replying my comment. ^_^
@robojax
@robojax 5 жыл бұрын
You are welcome.
@indrianto8649
@indrianto8649 7 жыл бұрын
hallo bro, are you have coding relay for cvavr bro? need help please :(
@robojax
@robojax 7 жыл бұрын
sorry bro, I have no experience of CVAVR. will look into it.
@sulskull
@sulskull 4 жыл бұрын
Some tutorials have a diode connected too, why is that? Sorry if the question is stupid, I’m a beginner
@robojax
@robojax 4 жыл бұрын
no question is stupid. You have a valid question. I have video on that here kzfaq.info/get/bejne/hJOWec5mlqvGaKc.html
@sulskull
@sulskull 4 жыл бұрын
@@robojax do I need a transistor if it's a relay module?
@robojax
@robojax 4 жыл бұрын
that's why I sent you the video. Watch it and you will get all your answers.
@manoramranavlogs728
@manoramranavlogs728 5 жыл бұрын
From where can i get low level trigger
@robojax
@robojax 5 жыл бұрын
Amazon, ebay.com or AliExpress.com
@manoramranavlogs728
@manoramranavlogs728 5 жыл бұрын
Thanks
@robojax
@robojax 5 жыл бұрын
You are welcome.
@pallavis6068
@pallavis6068 6 жыл бұрын
sir i getting exit status 1 error
@robojax
@robojax 6 жыл бұрын
It could be your Anti Virus real time protection. Disable "real time protection" and it should work. Watch this video kzfaq.info/get/bejne/ochgmsuXurWWcXk.html
@muhammednabasheerbasheer7899
@muhammednabasheerbasheer7899 4 жыл бұрын
Can a 12v relay work on 5v Arduino
@muhammednabasheerbasheer7899
@muhammednabasheerbasheer7899 4 жыл бұрын
I want to use the relay to connect to a 12v motor. I tried doing it, but it won't work
@robojax
@robojax 4 жыл бұрын
if 12V relay module. yes. When we say module, it means Relay with other components on the PCB.
@muhammednabasheerbasheer7899
@muhammednabasheerbasheer7899 4 жыл бұрын
@@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.
@robojax
@robojax 4 жыл бұрын
It seems you haven' understand it. see this video kzfaq.info/get/bejne/nZyba9aBr9_Nlmw.html
@personalaccount3332
@personalaccount3332 4 жыл бұрын
If the relay is trigger to n/o that means it break the circuit ryte
@robojax
@robojax 4 жыл бұрын
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 kzfaq.info/get/bejne/nZyba9aBr9_Nlmw.html
@personalaccount3332
@personalaccount3332 4 жыл бұрын
@@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
@robojax
@robojax 4 жыл бұрын
This is video is for that. or the other video. Use your bike instead of the bulb.
@googleuser4203
@googleuser4203 4 жыл бұрын
And I thought there is something wrong with my relay, turned out LOW signal makes it on and HIGH signal disconnects it.
@robojax
@robojax 4 жыл бұрын
Good to hear you find the issue.
@googleuser4203
@googleuser4203 4 жыл бұрын
@@robojax Yeah, thanks. Love your channel btw, keep the good work.
Control AC bulb with 5V relay using Arduino
12:10
Robojax
Рет қаралды 29 М.
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 8 МЛН
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 12 МЛН
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 484 М.
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 15 МЛН
DIY Smart Switch - Part 1 how to use a relay
8:02
byte sized engineering
Рет қаралды 638 М.
Connecting a Relay Module to a Microcontroller
11:41
Brad Henson
Рет қаралды 217 М.
HOW TO INTERFACE 5V 4 CHANNEL RELAY MODULE WITH ARDUINO
5:11
MYTECTUTOR
Рет қаралды 96 М.
How many relays can I connect to one Arduino?
9:38
AnotherMaker
Рет қаралды 49 М.
Control High Voltage Devices - Arduino Relay Tutorial
7:30
How To Mechatronics
Рет қаралды 629 М.
IR Sensor project with Single Channel Relay module #irsensor
3:26
Худший продукт Apple
0:53
Rozetked
Рет қаралды 146 М.
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 163 М.
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 2,2 МЛН