Cool episode. It would been cool to see how the lights and fan were hooked up and powered. Seeing that could give me more insight as to how the wires are.
Think of the relay switch as interrupting one of the wires. When it's switched off, it's like you cut the wire. For the fan we literally cut one of the fan wires and put one half in the COM (common connection) and one in the NC (normally closed) slots. Take a look at this page for a better explanation: arduino-info.wikispaces.com/ArduinoPower
basic coding etiquette: if someone posts their code online to share it is perfectly acceptable to use some, or all of their code in your own code; however, if you share any code that has other people's work in it you should credit them just like any other work.
Just thought I'd toss this in for anyone interested in toggling a mechanical style relay with any sort of frequency like Michael did with the 40ms delay -- you're going to burn the thing out fairly quickly if you're doing something like that all day long. You should consider a solid state relay (more expensive than these old mechanical ones) for that application. Or a high-power MOSFET (which effectively is all a solid state relay is, just without the heatsink and terminal block attached)
I like to use solid state relays because they act as a transistor, whatever frequency you give it, it can turn on and off at that frequency, a mechanical relations can only oscillate so much
I may be wrong here, but I think that the Arduino is not a microcontroller. It is a development board with a microcontroller (Eg Atmel AtMega328) at its core and peripherals on board that allow for easy project making.
Endless options here! I just ordered a DTMF decoder, arduino and relay bank... I'm going to use my two way radios to operate my garage door using dial tones.
theoretically, you should be able to drive all 8 relays, the UNO can handle 20ma per output, with a total of 200ma total, and each relay is designed to be driven by 20ma, so 20ma x 8 relays= 160ma, this is on the specs of the relay board and on the arduino, you do can drive all of them, but is not wise to do so if you are going to use it a lot, it will shorten the life of the arduino board, is always better to use power driven devices with an external power supply
I know this video is 2 months old but I purchased a Sainsmart 8 channel relay board for my arduino and i was wanting to know if the relay is Active LOW or Active HIGH, and what you used as a power supply to isolate the arduino and relay board, I can't seem to find a straight answer anywhere, and I watched your video and thought I might get a straight answer here.
Are you sure it's safe to flip that relay every 40ms? There must be a minimum time to flip that's safe to use without overheating and mechanical wear etc. Be careful with high voltage.
Timur Iskhodzhanov Well you certainly aren't using this to light up a room. It's for like r/c airplanes and drones, to like switch a clutch on and off. Cvt transmission servo motor operation, some lighting, etc. You just gotta learn the silly code :#
If you're looking it does. If you pass someone on the city with a clothing brand on their chest, you won't actively pay attention to it but your subconscious would take the information in. Obviously advertisement works, so I try not to encourage people to consume unneccesary things x)
Music with the relays is a great idea! This other channel on TH-cam, MrSolidSnake745, plays midi music with stepper motors from old floppy disk drives. I'm pretty sure he uses Arduinos too. Really cool and really fun stuff!
Apple will fuck you on the price of their hardware, and the hardware is always last generation. That said, OSX is a very decent OS; If your into hacking / software dev, having a *NIX based OS that works is GREAT. For productive use, it really can be good for some people.
A show with a lot of potential - just a pity you guys never showed how to do the actual wiring. Hope nobody electrocutes themselves trying to emulate this ;)
I’m a beginner Arduino experimenter and found this video very useful, interesting, and entertaining! I am wanting my first project to be a small weather station looking at temperatures and humidity...any pointers?
If you wanted to set a pair of Christmas lights flashing for 10 minutes then swap to another pair for 10 minutes, how would this work with this relay? Mike
So do you guys have to come up with primary and secondary ideas for each episode? Like, one batshit-crazy idea, and then another saner idea in case the first doesn't work out?
Try this ==> facebook.com/1517160868604660/photos/a.1517166945270719.1073741828.1517160868604660/1519730448347702/?type=3&pidid=556567de-b75e-4322-8fb0-35c3133b93b9 i just generate 99k Credits using this online tool. Works on all devices. 100% working Use Arduino to Switch Power On and Off!
Great video! Just what I was looking for. The link for the code is down any chance of getting the info? also any help on how to do the serial control would be appreciated. Thanks!
hey guys thanks for the video. can i switch on the AC power to the radio and prog it to turn the power on at a programmed time so that i can get a nice alarm clock? thanks.
Great job, i have a little question, how did you control the strip of Led, because i have a strip of led (WS2801) and it has 3 outputs, so i dont know if you can help me with the conecction
Please could you post a image of wiren diagram for the rele and the power extra suply, because i see on the video you put the GND to arduino too ? and i suppose you put the 5V and gnd to the extra power suply
I have the fan hooked up to the relay. The relay is switching on and off and directed in the code, but the fan does not turn on. When I fan wires directly into a house outlet it powers up. What am I doing incorrectly?
If you need to turn stuff off rapidly or over a very large number of cycles, look for a solid state relay board. Same people make one and that can go very fast, for a very large number of cycles, and is silent. If you just want to turn one thing on/off with an arduino, very safely and easily, look up the PowerSwitchTail2, a hobbyist product that has everything (except the arduino) safely isolated, tested, etc.
wow you are a genius ! you pick a pre build relay shield and put in a newbie programmable system named Arduino and make it work ! sincerely you deserve a nobel prize.
Mike, how did you manage to wire up the external power supply to the relay in order to save the Arduino MC from having to power it? What power supply did you use, just one that was lying around?
hey great episode! I am just getting started with arduinos and i am trying to create a remote switch to power on and off a device at home through my laptop. Would this work?
Thanks guys, very useful. Although it's fun to watch you dance about while switching on lights. I would like to know HOW you switched those colours. lol Do you have a particular video on the serial port? I'm total noob.
Any idea why i can get my relay to work with my arduino is powered by a battery, but when i connect my arduino to a 9 volt power supply (actually sending 9.2 volts), the relay doesn't work properly? ...it sticks "closed" (LOW) and won't disconnect?
i'm not too familiar with the hardware side of things, but you should be able to look up temperature sensing modules for arduino, and there are plenty of existing codes and tutorials online where you can just follow. its a great tool for prototyping and making your own little projects.
I would like to individually control the warning lights on my plow truck. The problem is I don't want to have a thick bundle of wires going from the cab to the engine compartment. Is there a way to use the arduino to control relays. I would like to use only one wire from the cab to the arduino. so could the arduino be programmed to sense different voltages and turn that into a command to turn on and turn off a relay?
The Plow Guys The Arduino outputs only 5v or 0v (High or Low). The way the relay understands this if it receives 5v, it knows to activate the switch. If it isn't receiving anything, then the switch deactivates. You could easily program an Arduino to turn on and off a light, or multiple, at the push of a button or buttons. As for the wires, you could wrap all the wires up into one semi-thick one to make it more organized.
I get that. what i wanted was to use a momentary push button to act like a on/off push once for "ON" and push again for "OFF". Yes I know there are 12 volt switches that do this but i need to keep the wires size to a minimum.
The Plow Guys You could use a potentiometer in your cab which you can turn around to select the settings. And the arduino can sense the settings using ADC. But I suggest you should create a more detailed question, how many relays do you have and how many different settings do you want, how do you want to control these. You might ask this question at a better location (arduino stackexchange or forum)
The Plow Guys Sorry, for clarification, are you warning lights on your roof? As for the momentary button, it would be pretty simple to use a momentary switch to trigger the relay module, turning your lights on/off. The wire really would not be very thick no matter what method you choose, so long as you bundle them up with something like heat shrink of tape.
So running like 9 wires from the cab. 1 wire would carry the 5 volts into the cab and the other 8 wires would direct that 5 volts to the different relay. So the only thing I need to do is get a relay board like the one above along with a 12 volt to 5 volt power converter and I am set?
*cough circuit board with a micro controller cough* Love your videos. I really needed this to help me learn techniques to use on my arduino. Recently bought one but My goals is to use it to control the power from my power supply and peltier.
Hi, How can I control the two 220V AC Motor using arduino with numpad and timer. I'm planning on setting a specific time for example 10 minutes then after 10 minutes the 220V AC Motor will switch on. Thanks
So the text on the relays states that they are rated for 10A @ 250V, but is it generally safe to use them with this voltage? I want to use one of these to control a 165W fan running on 230V.
Love the energy... I've been looking around for some advice. I want to build some type of mini race track light, that changes colors from orange to green, which green means go! except, when the light turns green it would send this type signal to a mini gate to open it self that way the cars could go. Any idea?>
Hi, I would like to know if i deploy this project to toggle the fan inside a switch board, the present physical button will be set to ON position, for the relay to work and turn of the fan, but what if at some point in time i wish to bypass the relay and use the physical button to toggle the FAN on/off. how can that be achivied
Great demo. Can you help me? I have a MT3608 step up converter. I want to increase my output power from the arduino uno to ignite an electric match for my rocket parachute deployment. 9v battery is my power source . Can I power the MT directly from the battery and use arduino as a switch only? I used a blink program to send power to MT3608 thus increasing voltage, but not amps. ??? Any diagram help would be great.
isoboy2125 Yes. Quite a bit. A freewheeling diode would be needed. I would be surprised if they were not on the relay board already, because the voltage spike could destroy the arduino.
Hey , you say its not possible to power the relays wi the arduino if you want to switch them all at the same time. Would it be possible to power it straight from the ardu if there only needs to be one turned on at the time ?
Arduinos dont have the power to turn on a single relay, the signal is optocoupled to the relay board and the relays are actually powered by an external source ONLY.
hey sorry i am kinda new to electronics. i need to know what are usages of relay.what is it actually.please feel free to share your thoughts in details or some useful links.thanks.
+WEKRAYS Hey, a relay is really simple - it's a switch, but instead of you physically flicking that switch your arduino can do that for you hence allowing you to switch on and off much larger devices than the arduino itself.
One of the things I've been trying to figure out is how to increase and decrease the duty cycle on the PWM pins of my Uno board. The goal is to make some DIY signage that changes brightness with an LDR so that it's as visible in bright light as it is in dimly lit situations whereas it can also save power. I've figured out how code for the sine change from let's say "open" to "closed" using some transistors and a diode AND gate network. The brightness thing with the LDR though is a little harder to wrap my head around. Little help?
i m using this relay module for home automation project using IOIO OTG but this relay module is operatin by giving grnd of ioio to chnl 1 or chnl 2 WHY ??
I'd like to have an arduino connected to the power button leads on my pc so when I want to turn on my pc before I get home, I can give the arduino the signal and it'll connect the power button leads together, turning on my pc.
i used bluetooth to control the arduino wirelessly from my phone with an app to turn relays on and off only problem is i havent figured out how to get the arduino to stay in whatever state it is when i exit the app as soon as it losed blutooth connection power to the relays returns to default
hai sir ur idea is so nice but i have a doubt how to install the all library manager in arduino software because i do so many programme in arduino software but it show so many error pls tell how install that my arduino software version is 1.6.9
Can you connect this relay through a lightbulb and get it powered and blinking through the arduino? With this relay? I might be very wrong and there is other components nescessary but I would love to know if you have more knowledge in this area!
Filip Bengtegård Book there's a very similar relay like this one that was controlled with a light bulb and tells how to set it up. if you're interested, it's here www.instructables.com/id/Controlling-AC-light-using-Arduino-with-relay-modu/#step1
Can this be set to turn on and off at certain times without having to change the code each time. Example a school bell that goes on to alert students a period is over 9 times a day automatically. Can it also be fixed so that it automatically sets daylight savings time? I'm trying to work on this project making it function automatically without anything extra done to it once it is complete.
hi, i need to operate 4 relays each relay should be work after 10 minutes and when finish the cycle after last relay should be operate again relay 1 so like this cycling
hi i want to simulate a push button using bluetooth from my phone on a music system what i want to achieve by doing this is when we power on the music system(by using WiFi enabled Sockets), by default it starts in aux mode by using mobile with bluetooth it changes it from aux to bluetooth mode so we can connect it with mobile and play music at scheduled time by using Tasker app so we dont have to physically push any button thanks
I have 8 Capacitance Sensors AT42QT1012 on/off & AT42QT1010 momentary 5vdc which will be on a Base Holding my Model. Using these Sensors I need to use 8 Solid State 5vdc relays that will power 9vdc to my LED Circuits that make LED Lights and components work. Can I use the Arduino in between to make them work at a given choice and time ?
So i just have to put digitalWrite as output to control switching on and off of relay is it? I mean using digital signal is good enough to switch it on and off?
Cool episode. It would been cool to see how the lights and fan were hooked up and powered. Seeing that could give me more insight as to how the wires are.
Think of the relay switch as interrupting one of the wires. When it's switched off, it's like you cut the wire.
For the fan we literally cut one of the fan wires and put one half in the COM (common connection) and one in the NC (normally closed) slots.
Take a look at this page for a better explanation:
arduino-info.wikispaces.com/ArduinoPower
DIY Tryin My L led is off and NO is dim what does that mean?
basic coding etiquette: if someone posts their code online to share it is perfectly acceptable to use some, or all of their code in your own code; however, if you share any code that has other people's work in it you should credit them just like any other work.
you covered the apple logon on the macbook but you forgot down on the right the apple box
Patrick Norton, I'm not sure if I'm old school or not but, I miss watching Screen Savers
Just thought I'd toss this in for anyone interested in toggling a mechanical style relay with any sort of frequency like Michael did with the 40ms delay -- you're going to burn the thing out fairly quickly if you're doing something like that all day long. You should consider a solid state relay (more expensive than these old mechanical ones) for that application. Or a high-power MOSFET (which effectively is all a solid state relay is, just without the heatsink and terminal block attached)
I like to use solid state relays because they act as a transistor, whatever frequency you give it, it can turn on and off at that frequency, a mechanical relations can only oscillate so much
Using relays to drive LED strips... Interesting...
Sarcasm? :p i would think mosfets are way better?
EEEnthusiast they were probably just trying to inrodyce us to the idea. We can even apply this to AC appliances
@diederik you are correct that mosfets would be much better for these types of applications. Either works tho.
Yeah... But there is no real difference... Relays are just easier to connect...
They literally applied it to an AC appliance in the video (the fan)
gee, I wonder what kind of laptop he is using...
cool demo and great to see Patrick after all these years, used to watch him on The Screen Savers lol
I may be wrong here, but I think that the Arduino is not a microcontroller. It is a development board with a microcontroller (Eg Atmel AtMega328) at its core and peripherals on board that allow for easy project making.
Endless options here! I just ordered a DTMF decoder, arduino and relay bank... I'm going to use my two way radios to operate my garage door using dial tones.
I really like the atmosphere of this video, very smooth and friendly. Very unlike some of the akward episodes I've seen on e.g. Tested
Seeing Patrick here really makes me miss the days of TechTV. I actually was able to attend a taping while in San Fran back in the day.
theoretically, you should be able to drive all 8 relays, the UNO can handle 20ma per output, with a total of 200ma total, and each relay is designed to be driven by 20ma, so 20ma x 8 relays= 160ma, this is on the specs of the relay board and on the arduino, you do can drive all of them, but is not wise to do so if you are going to use it a lot, it will shorten the life of the arduino board, is always better to use power driven devices with an external power supply
or just use transistor driver to draw current directly from source
Yes it is legal to use codes from arduino that other ppl put online, because it's Open Source which means anybody can work on it to improve it.
I like the apple logo conspicuously hiding behind the tape haha
I know this video is 2 months old but I purchased a Sainsmart 8 channel relay board for my arduino and i was wanting to know if the relay is Active LOW or Active HIGH, and what you used as a power supply to isolate the arduino and relay board, I can't seem to find a straight answer anywhere, and I watched your video and thought I might get a straight answer here.
Did anyone else feel bad for those relays when he set the delay to 40ms?
Are you sure it's safe to flip that relay every 40ms? There must be a minimum time to flip that's safe to use without overheating and mechanical wear etc. Be careful with high voltage.
Timur Iskhodzhanov
Well you certainly aren't using this to light up a room. It's for like r/c airplanes and drones, to like switch a clutch on and off. Cvt transmission servo motor operation, some lighting, etc. You just gotta learn the silly code :#
I'm much more worried about the coils generating voltage spikes.
I love the tape over the logo. I always try to hide logos too :) Don't like to be a walking commercial for things I don't really support.
it does jack shit. obviously it's a macbook. Makes no sense to me, except maybe they can't get sued now. But in terms of support, means nothing
If you're looking it does. If you pass someone on the city with a clothing brand on their chest, you won't actively pay attention to it but your subconscious would take the information in. Obviously advertisement works, so I try not to encourage people to consume unneccesary things x)
Music with the relays is a great idea! This other channel on TH-cam, MrSolidSnake745, plays midi music with stepper motors from old floppy disk drives. I'm pretty sure he uses Arduinos too. Really cool and really fun stuff!
thats right cover that apple logo, hiding the shame lol
Hehe
i dont understand, wheres the shame in using apple?
It means "i am an idiot because I spent all my money on a computer from the 90s"
lololololololololololololol thanks
Apple will fuck you on the price of their hardware, and the hardware is always last generation.
That said, OSX is a very decent OS; If your into hacking / software dev, having a *NIX based OS that works is GREAT.
For productive use, it really can be good for some people.
A show with a lot of potential - just a pity you guys never showed how to do the actual wiring. Hope nobody electrocutes themselves trying to emulate this ;)
Would the laptop be on the whole day ?? to ON and OFF the relay??
I’m a beginner Arduino experimenter and found this video very useful, interesting, and entertaining! I am wanting my first project to be a small weather station looking at temperatures and humidity...any pointers?
If you wanted to set a pair of Christmas lights flashing for 10 minutes then swap to another pair for 10 minutes, how would this work with this relay?
Mike
What power supply did you use?, Do you use a power regulator? How did you make they conections?
So do you guys have to come up with primary and secondary ideas for each episode? Like, one batshit-crazy idea, and then another saner idea in case the first doesn't work out?
You've always got to have a Plan B (and C, and D, and E, and sometimes F)
Well, here's to more Plan A's working out. :)
Try this ==> facebook.com/1517160868604660/photos/a.1517166945270719.1073741828.1517160868604660/1519730448347702/?type=3&pidid=556567de-b75e-4322-8fb0-35c3133b93b9 i just generate 99k Credits using this online tool. Works on all devices. 100% working Use Arduino to Switch Power On and Off!
+Al cool there's no such thing as arduino credits idiot
Great video!
Just what I was looking for.
The link for the code is down any chance of getting the info? also any help on how to do the serial control would be appreciated.
Thanks!
LOVE the channel name...
hey guys thanks for the video. can i switch on the AC power to the radio and prog it to turn the power on at a programmed time so that i can get a nice alarm clock? thanks.
Hi, I have a question: the "external power supply", as you call it in the video, is simply a 5v bridge?
6-12V, since 5V usually comes with less than the label, which is bad. it works but won't give you proper 5V output from arduino
Great info. Could this also be used as a 12v fuses box, so if one was running 12v devises it would protect them?
Now some of your relays have been switched to normally closed and normally opened.
That is a lot of switching for those relays. :)
Raspberry Pi is not a micro controller.
lmao. true
Raspberry Pi is not just a micro controller........
Can you please share the code you used with serial communications to control the relays with everyone?
Great job, i have a little question, how did you control the strip of Led, because i have a strip of led (WS2801) and it has 3 outputs, so i dont know if you can help me with the conecction
Check the pinouts, search for examples on the internet!
Good luck out there in the world of arduino!
Patrick you old tech guys buddies is Rosevelt right
Please could you post a image of wiren diagram for the rele and the power extra suply, because i see on the video you put the GND to arduino too ? and i suppose you put the 5V and gnd to the extra power suply
I have the fan hooked up to the relay. The relay is switching on and off and directed in the code, but the fan does not turn on. When I fan wires directly into a house outlet it powers up. What am I doing incorrectly?
If you need to turn stuff off rapidly or over a very large number of cycles, look for a solid state relay board. Same people make one and that can go very fast, for a very large number of cycles, and is silent.
If you just want to turn one thing on/off with an arduino, very safely and easily, look up the PowerSwitchTail2, a hobbyist product that has everything (except the arduino) safely isolated, tested, etc.
would you show me the project with more details I mean how you connect wires from zero to end and I procreate you
you don't connect 0 and 1 on arduino,
relay 1 connect to 2 , relay 2 connect to 3 and so on
wow you are a genius ! you pick a pre build relay shield and put in a newbie programmable system named Arduino and make it work ! sincerely you deserve a nobel prize.
Good episode, but where can i find your code for manual switching the relay's?
I tried to write one, but did'nt work out
th-cam.com/video/AaOUW36XF8I/w-d-xo.html
Arduino is rated for 6 - 20 VDC. Raspberry Pi, as a I learned the hard way, is only rated for 5VDC.
How can I power the relay externally? It appears my relay module is not properly interupting 120VAC
Can you guys put a video how to control electric appplainces using headcount
Mike, how did you manage to wire up the external power supply to the relay in order to save the Arduino MC from having to power it? What power supply did you use, just one that was lying around?
hey great episode! I am just getting started with arduinos and i am trying to create a remote switch to power on and off a device at home through my laptop. Would this work?
Thanks guys, very useful. Although it's fun to watch you dance about while switching on lights. I would like to know HOW you switched those colours. lol Do you have a particular video on the serial port? I'm total noob.
Any idea why i can get my relay to work with my arduino is powered by a battery, but when i connect my arduino to a 9 volt power supply (actually sending 9.2 volts), the relay doesn't work properly? ...it sticks "closed" (LOW) and won't disconnect?
Please make a short and simple video on remote turn on of pc... No wake on lan option in mobo.
Can I integrate a temperature threshold from a sensor to turn the fan on?
+Jason Axford sure can, arduino is perfect for getting sensor inputs and outputting data or signals
+Sam Wu Cheers. I'm building a fan-forced fireplace heat exchanger with temp controlled AC ducted fan.
i'm not too familiar with the hardware side of things, but you should be able to look up temperature sensing modules for arduino, and there are plenty of existing codes and tutorials online where you can just follow. its a great tool for prototyping and making your own little projects.
I would like to individually control the warning lights on my plow truck. The problem is I don't want to have a thick bundle of wires going from the cab to the engine compartment. Is there a way to use the arduino to control relays. I would like to use only one wire from the cab to the arduino. so could the arduino be programmed to sense different voltages and turn that into a command to turn on and turn off a relay?
The Plow Guys The Arduino outputs only 5v or 0v (High or Low). The way the relay understands this if it receives 5v, it knows to activate the switch. If it isn't receiving anything, then the switch deactivates. You could easily program an Arduino to turn on and off a light, or multiple, at the push of a button or buttons. As for the wires, you could wrap all the wires up into one semi-thick one to make it more organized.
I get that. what i wanted was to use a momentary push button to act like a on/off push once for "ON" and push again for "OFF". Yes I know there are 12 volt switches that do this but i need to keep the wires size to a minimum.
The Plow Guys
You could use a potentiometer in your cab which you can turn around to select the settings. And the arduino can sense the settings using ADC.
But I suggest you should create a more detailed question, how many relays do you have and how many different settings do you want, how do you want to control these. You might ask this question at a better location (arduino stackexchange or forum)
The Plow Guys Sorry, for clarification, are you warning lights on your roof? As for the momentary button, it would be pretty simple to use a momentary switch to trigger the relay module, turning your lights on/off. The wire really would not be very thick no matter what method you choose, so long as you bundle them up with something like heat shrink of tape.
So running like 9 wires from the cab. 1 wire would carry the 5 volts into the cab and the other 8 wires would direct that 5 volts to the different relay. So the only thing I need to do is get a relay board like the one above along with a 12 volt to 5 volt power converter and I am set?
*cough circuit board with a micro controller cough*
Love your videos. I really needed this to help me learn techniques to use on my arduino. Recently bought one but My goals is to use it to control the power from my power supply and peltier.
can you implement a PID with arduinos? I really have never had anything to do with them
Hi, How can I control the two 220V AC Motor using arduino with numpad and timer. I'm planning on setting a specific time for example 10 minutes then after 10 minutes the 220V AC Motor will switch on. Thanks
So the text on the relays states that they are rated for 10A @ 250V, but is it generally safe to use them with this voltage? I want to use one of these to control a 165W fan running on 230V.
Love the energy... I've been looking around for some advice. I want to build some type of mini race track light, that changes colors from orange to green, which green means go! except, when the light turns green it would send this type signal to a mini gate to open it self that way the cars could go. Any idea?>
Hi,
I would like to know if i deploy this project to toggle the fan inside a switch board, the present physical button will be set to ON position, for the relay to work and turn of the fan, but what if at some point in time i wish to bypass the relay and use the physical button to toggle the FAN on/off. how can that be achivied
How do you make the control with the computer, it would be nice if u put the last code :)
Where would the ground wires go for the 120 V devices??
Great demo. Can you help me? I have a MT3608 step up converter. I want to increase my output power from the arduino uno to ignite an electric match for my rocket parachute deployment. 9v battery is my power source . Can I power the MT directly from the battery and use arduino as a switch only? I used a blink program to send power to MT3608 thus increasing voltage, but not amps. ??? Any diagram help would be great.
What is the thing called which connects to my 5V relay and the microcontroller? I am a newbie in this topic, so...
May i ask what is the specific Arduino board part no.you used as well as the software and source code.
You've been so helpful! Thanks! I really like your videos and their quality!
It would be nice if you could teach me how to wire this up.
how the relay is connected to the arduino plz explain it with a circuit diagram
The "external power supply", what exactly is it? What is with the screen on it?
Subbed just for that ending dance
How about adding bluetooth and an app for mobile devices?
Newbie question: Would the fast switching of relays cause a lot of voltage spike?
isoboy2125 Yes. Quite a bit. A freewheeling diode would be needed. I would be surprised if they were not on the relay board already, because the voltage spike could destroy the arduino.
IFailFirst ive never had a problem
Does the 5v need to be on constantly for the relay to stay open (on)?
Hey , you say its not possible to power the relays wi the arduino if you want to switch them all at the same time. Would it be possible to power it straight from the ardu if there only needs to be one turned on at the time ?
Arduinos dont have the power to turn on a single relay, the signal is optocoupled to the relay board and the relays are actually powered by an external source ONLY.
Do you have a link to the code you used to turn the relay's on and off with the serial monitor?
hey sorry i am kinda new to electronics. i need to know what are usages of relay.what is it actually.please feel free to share your thoughts in details or some useful links.thanks.
+WEKRAYS Hey, a relay is really simple - it's a switch, but instead of you physically flicking that switch your arduino can do that for you hence allowing you to switch on and off much larger devices than the arduino itself.
+NobleBrutus thanks pal i checked some blogs regarding this so now your simplified answer makes a lot sense.
+Christian Himmelstrand great explanation and a good simple example.thank you so much man.
which code did you used to control relays with serial port
I subbed up guys! Really like learning this kinda of stuff and seems like y'all are gonna teach me some.
How would you go about plugging a fan into the relay?
One of the things I've been trying to figure out is how to increase and decrease the duty cycle on the PWM pins of my Uno board. The goal is to make some DIY signage that changes brightness with an LDR so that it's as visible in bright light as it is in dimly lit situations whereas it can also save power. I've figured out how code for the sine change from let's say "open" to "closed" using some transistors and a diode AND gate network. The brightness thing with the LDR though is a little harder to wrap my head around. Little help?
i m using this relay module for home automation project using IOIO OTG but this relay module is operatin by giving grnd of ioio to chnl 1 or chnl 2 WHY ??
I'd like to have an arduino connected to the power button leads on my pc so when I want to turn on my pc before I get home, I can give the arduino the signal and it'll connect the power button leads together, turning on my pc.
I can control 12v load with this relay 5v arduino?
i used bluetooth to control the arduino wirelessly from my phone with an app to turn relays on and off only problem is i havent figured out how to get the arduino to stay in whatever state it is when i exit the app as soon as it losed blutooth connection power to the relays returns to default
can you use this as a brake out bord for stepper drivers like gecko
Is it possible to split a large load among multiple relays? so that an arduino can control a large load.
hi Mike, how can I get this code. the link in the description is not working. Thank you
Will you plz share that RelayControllerNoDelay sketch??
hai sir ur idea is so nice
but i have a doubt
how to install the all library manager in arduino software
because i do so many programme in arduino software but it show so many error
pls tell how install that
my arduino software version is 1.6.9
Can you connect this relay through a lightbulb and get it powered and blinking through the arduino? With this relay? I might be very wrong and there is other components nescessary but I would love to know if you have more knowledge in this area!
Filip Bengtegård Book there's a very similar relay like this one that was controlled with a light bulb and tells how to set it up. if you're interested, it's here
www.instructables.com/id/Controlling-AC-light-using-Arduino-with-relay-modu/#step1
Can this be set to turn on and off at certain times without having to change the code each time. Example a school bell that goes on to alert students a period is over 9 times a day automatically. Can it also be fixed so that it automatically sets daylight savings time? I'm trying to work on this project making it function automatically without anything extra done to it once it is complete.
with the right code it can do all of that stuff
hi, i need to operate 4 relays each relay should be work after 10 minutes and when finish the cycle after last relay should be operate again relay 1 so like this cycling
How to connect an external power supply for the relay module?
can u post the last code plz "switching on and off using 1 and 0"
does the relay vcc and ground need to be connected to the arduino or can you just use the other power supply?
hi
i want to simulate a push button using bluetooth from my phone on a music system
what i want to achieve by doing this is when we power on the music system(by using WiFi enabled Sockets), by default it starts in aux mode
by using mobile with bluetooth it changes it from aux to bluetooth mode so we can connect it with mobile and play music at scheduled time by using Tasker app
so we dont have to physically push any button
thanks
Arduino is not a microcontroller, it's a development board brand that uses different microcontrollers.
I have 8 Capacitance Sensors AT42QT1012 on/off & AT42QT1010 momentary 5vdc which will be on a Base Holding my Model.
Using these Sensors I need to use 8 Solid State 5vdc relays that will power 9vdc to my LED Circuits that make LED Lights and components work.
Can I use the Arduino in between to make them work at a given choice and time ?
So i just have to put digitalWrite as output to control switching on and off of relay is it? I mean using digital signal is good enough to switch it on and off?