Use Arduino to Switch Power On and Off!

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 พ.ย. 2024

ความคิดเห็น • 361

  • @gmslayton
    @gmslayton 10 ปีที่แล้ว +55

    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.

    • @diytryin
      @diytryin  10 ปีที่แล้ว +13

      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

    • @Lyrabon
      @Lyrabon 8 ปีที่แล้ว +1

      DIY Tryin My L led is off and NO is dim what does that mean?

  • @MainlandRC
    @MainlandRC 10 ปีที่แล้ว +19

    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.

  • @spokosjr
    @spokosjr 10 ปีที่แล้ว +17

    you covered the apple logon on the macbook but you forgot down on the right the apple box

  • @SeeJaysPlace
    @SeeJaysPlace 9 ปีที่แล้ว +8

    Patrick Norton, I'm not sure if I'm old school or not but, I miss watching Screen Savers

  • @DarkStar851
    @DarkStar851 9 ปีที่แล้ว +8

    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)

  • @anthonyvolkman2338
    @anthonyvolkman2338 9 ปีที่แล้ว

    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

  • @VladRomanov89
    @VladRomanov89 9 ปีที่แล้ว +46

    Using relays to drive LED strips... Interesting...

    • @lolz2018
      @lolz2018 9 ปีที่แล้ว +12

      Sarcasm? :p i would think mosfets are way better?

    • @shyamharidas1828
      @shyamharidas1828 9 ปีที่แล้ว +10

      EEEnthusiast they were probably just trying to inrodyce us to the idea. We can even apply this to AC appliances

    • @michaelsills8038
      @michaelsills8038 7 ปีที่แล้ว

      @diederik you are correct that mosfets would be much better for these types of applications. Either works tho.

    • @raidzor5452
      @raidzor5452 7 ปีที่แล้ว

      Yeah... But there is no real difference... Relays are just easier to connect...

    • @MrFixBroken
      @MrFixBroken 6 ปีที่แล้ว

      They literally applied it to an AC appliance in the video (the fan)

  • @DaveHurka
    @DaveHurka 9 ปีที่แล้ว +14

    gee, I wonder what kind of laptop he is using...

  • @neppy5
    @neppy5 10 ปีที่แล้ว +1

    cool demo and great to see Patrick after all these years, used to watch him on The Screen Savers lol

  • @UmairHussaini
    @UmairHussaini 9 ปีที่แล้ว +1

    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.

  • @gmctech
    @gmctech 7 ปีที่แล้ว

    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.

  • @Kattemageren
    @Kattemageren 9 ปีที่แล้ว +2

    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

  • @nogster
    @nogster 10 ปีที่แล้ว

    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.

  • @WOLFSCHRAMM1
    @WOLFSCHRAMM1 10 ปีที่แล้ว +1

    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

    • @FathinLuqmanTantowi
      @FathinLuqmanTantowi 9 ปีที่แล้ว

      or just use transistor driver to draw current directly from source

  • @sth6027
    @sth6027 7 ปีที่แล้ว

    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.

  • @pingu99991
    @pingu99991 10 ปีที่แล้ว +5

    I like the apple logo conspicuously hiding behind the tape haha

  • @tuckervaldeze7179
    @tuckervaldeze7179 10 ปีที่แล้ว

    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.

  • @Aterrebgnuoy
    @Aterrebgnuoy 8 ปีที่แล้ว +9

    Did anyone else feel bad for those relays when he set the delay to 40ms?

  • @TimurIskhodzhanov
    @TimurIskhodzhanov 8 ปีที่แล้ว +5

    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.

    • @edlingja1
      @edlingja1 7 ปีที่แล้ว

      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 :#

    • @caffeinatedinsanity2324
      @caffeinatedinsanity2324 5 ปีที่แล้ว

      I'm much more worried about the coils generating voltage spikes.

  • @nautitard
    @nautitard 7 ปีที่แล้ว

    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.

    • @TheMrFrontera
      @TheMrFrontera 7 ปีที่แล้ว

      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

    • @nautitard
      @nautitard 7 ปีที่แล้ว

      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)

  • @RealDealHolyfield2099
    @RealDealHolyfield2099 10 ปีที่แล้ว

    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!

  • @andrewk8636
    @andrewk8636 8 ปีที่แล้ว +175

    thats right cover that apple logo, hiding the shame lol

    • @rabbitdrink
      @rabbitdrink 8 ปีที่แล้ว

      Hehe

    • @peachpark7568
      @peachpark7568 8 ปีที่แล้ว

      i dont understand, wheres the shame in using apple?

    • @rabbitdrink
      @rabbitdrink 8 ปีที่แล้ว +13

      It means "i am an idiot because I spent all my money on a computer from the 90s"

    • @peachpark7568
      @peachpark7568 8 ปีที่แล้ว

      lololololololololololololol thanks

    • @zm7160
      @zm7160 8 ปีที่แล้ว +24

      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.

  • @JustifyJustin
    @JustifyJustin 10 ปีที่แล้ว +1

    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 ;)

  • @nitishroat
    @nitishroat 5 ปีที่แล้ว +2

    Would the laptop be on the whole day ?? to ON and OFF the relay??

  • @Wisdomofautumn
    @Wisdomofautumn 7 ปีที่แล้ว

    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?

  • @mikesimmonds1916
    @mikesimmonds1916 8 ปีที่แล้ว

    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

  • @fernandovera7363
    @fernandovera7363 6 ปีที่แล้ว

    What power supply did you use?, Do you use a power regulator? How did you make they conections?

  • @DarrenLandrum
    @DarrenLandrum 10 ปีที่แล้ว +2

    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?

    • @diytryin
      @diytryin  10 ปีที่แล้ว +7

      You've always got to have a Plan B (and C, and D, and E, and sometimes F)

    • @DarrenLandrum
      @DarrenLandrum 10 ปีที่แล้ว +2

      Well, here's to more Plan A's working out. :)

    • @alcool1729
      @alcool1729 9 ปีที่แล้ว

      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!

    • @rabbitdrink
      @rabbitdrink 8 ปีที่แล้ว

      +Al cool there's no such thing as arduino credits idiot

  • @lennova5846
    @lennova5846 5 ปีที่แล้ว +1

    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!

  • @benlambert8481
    @benlambert8481 ปีที่แล้ว

    LOVE the channel name...

  • @thinkvantage1684
    @thinkvantage1684 6 ปีที่แล้ว +1

    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.

  • @adryx_92
    @adryx_92 10 ปีที่แล้ว +2

    Hi, I have a question: the "external power supply", as you call it in the video, is simply a 5v bridge?

    • @FathinLuqmanTantowi
      @FathinLuqmanTantowi 9 ปีที่แล้ว +1

      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

  • @Sorcli
    @Sorcli 7 ปีที่แล้ว

    Great info. Could this also be used as a 12v fuses box, so if one was running 12v devises it would protect them?

  • @rowebil00
    @rowebil00 10 ปีที่แล้ว

    Now some of your relays have been switched to normally closed and normally opened.
    That is a lot of switching for those relays. :)

  • @kralkatorrik34
    @kralkatorrik34 8 ปีที่แล้ว +13

    Raspberry Pi is not a micro controller.

    • @latzobear
      @latzobear 8 ปีที่แล้ว

      lmao. true

    • @skkar2k2
      @skkar2k2 7 ปีที่แล้ว +3

      Raspberry Pi is not just a micro controller........

  • @alexrodgers8367
    @alexrodgers8367 10 ปีที่แล้ว

    Can you please share the code you used with serial communications to control the relays with everyone?

  • @oscarmanicaVGS
    @oscarmanicaVGS 10 ปีที่แล้ว

    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

    • @ArsenioDev
      @ArsenioDev 10 ปีที่แล้ว

      Check the pinouts, search for examples on the internet!
      Good luck out there in the world of arduino!

  • @vistanationrockafellaz
    @vistanationrockafellaz 5 ปีที่แล้ว

    Patrick you old tech guys buddies is Rosevelt right

  • @elricho72
    @elricho72 9 ปีที่แล้ว

    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

  • @FreeParkingSearch
    @FreeParkingSearch 9 ปีที่แล้ว

    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?

  • @unwin42
    @unwin42 10 ปีที่แล้ว

    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.

  • @firasalrubaiee2599
    @firasalrubaiee2599 8 ปีที่แล้ว +3

    would you show me the project with more details I mean how you connect wires from zero to end and I procreate you

    • @kevinsymss8373
      @kevinsymss8373 7 ปีที่แล้ว +1

      you don't connect 0 and 1 on arduino,
      relay 1 connect to 2 , relay 2 connect to 3 and so on

  • @danrtavares
    @danrtavares 9 ปีที่แล้ว

    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.

  • @Dorclord
    @Dorclord 9 ปีที่แล้ว

    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

    • @salahosmani2829
      @salahosmani2829 5 ปีที่แล้ว

      th-cam.com/video/AaOUW36XF8I/w-d-xo.html

  • @daze8410
    @daze8410 4 ปีที่แล้ว

    Arduino is rated for 6 - 20 VDC. Raspberry Pi, as a I learned the hard way, is only rated for 5VDC.

  • @johnpleskina9268
    @johnpleskina9268 9 ปีที่แล้ว

    How can I power the relay externally? It appears my relay module is not properly interupting 120VAC

  • @alfidapvl9994
    @alfidapvl9994 6 ปีที่แล้ว

    Can you guys put a video how to control electric appplainces using headcount

  • @dalivrubot5909
    @dalivrubot5909 10 ปีที่แล้ว

    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?

  • @akiljames83
    @akiljames83 7 ปีที่แล้ว

    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?

  • @meemvids738
    @meemvids738 9 ปีที่แล้ว

    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.

  • @davewalters9926
    @davewalters9926 6 ปีที่แล้ว

    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?

  • @ipconfigearth102
    @ipconfigearth102 7 ปีที่แล้ว

    Please make a short and simple video on remote turn on of pc... No wake on lan option in mobo.

  • @mozkitolife5437
    @mozkitolife5437 8 ปีที่แล้ว +2

    Can I integrate a temperature threshold from a sensor to turn the fan on?

    • @yggdrasill7811
      @yggdrasill7811 8 ปีที่แล้ว

      +Jason Axford sure can, arduino is perfect for getting sensor inputs and outputting data or signals

    • @mozkitolife5437
      @mozkitolife5437 8 ปีที่แล้ว

      +Sam Wu Cheers. I'm building a fan-forced fireplace heat exchanger with temp controlled AC ducted fan.

    • @yggdrasill7811
      @yggdrasill7811 8 ปีที่แล้ว

      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.

  • @ThePlowGuys
    @ThePlowGuys 9 ปีที่แล้ว

    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?

    • @imgoodatgames
      @imgoodatgames 9 ปีที่แล้ว

      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.

    • @ThePlowGuys
      @ThePlowGuys 9 ปีที่แล้ว

      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.

    • @xFuaZe
      @xFuaZe 9 ปีที่แล้ว +1

      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)

    • @imgoodatgames
      @imgoodatgames 9 ปีที่แล้ว

      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.

    • @ThePlowGuys
      @ThePlowGuys 9 ปีที่แล้ว

      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?

  • @rageshadey
    @rageshadey 7 ปีที่แล้ว

    *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.

  • @tomlaight
    @tomlaight 9 ปีที่แล้ว

    can you implement a PID with arduinos? I really have never had anything to do with them

  • @Oracle8008
    @Oracle8008 9 ปีที่แล้ว

    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

  • @SirArghPirate
    @SirArghPirate 8 ปีที่แล้ว

    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.

  • @melannieworld
    @melannieworld 3 ปีที่แล้ว

    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?>

  • @obaidsid
    @obaidsid 4 ปีที่แล้ว

    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

  • @vdic7
    @vdic7 10 ปีที่แล้ว

    How do you make the control with the computer, it would be nice if u put the last code :)

  • @DaiShuryoTechnus
    @DaiShuryoTechnus 9 ปีที่แล้ว

    Where would the ground wires go for the 120 V devices??

  • @markwatson7636
    @markwatson7636 4 ปีที่แล้ว

    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.

  • @erikfekete356
    @erikfekete356 6 ปีที่แล้ว

    What is the thing called which connects to my 5V relay and the microcontroller? I am a newbie in this topic, so...

  • @joeyserrano4693
    @joeyserrano4693 9 ปีที่แล้ว

    May i ask what is the specific Arduino board part no.you used as well as the software and source code.

  • @stampgermany
    @stampgermany 9 ปีที่แล้ว

    You've been so helpful! Thanks! I really like your videos and their quality!

  • @rabbitdrink
    @rabbitdrink 8 ปีที่แล้ว

    It would be nice if you could teach me how to wire this up.

  • @GurpreetSingh-mz8tz
    @GurpreetSingh-mz8tz 8 ปีที่แล้ว

    how the relay is connected to the arduino plz explain it with a circuit diagram

  • @JordanMiller1117
    @JordanMiller1117 7 ปีที่แล้ว

    The "external power supply", what exactly is it? What is with the screen on it?

  • @paziipa
    @paziipa 8 ปีที่แล้ว

    Subbed just for that ending dance

  • @dansnow7
    @dansnow7 10 ปีที่แล้ว

    How about adding bluetooth and an app for mobile devices?

  • @isoboy2125
    @isoboy2125 9 ปีที่แล้ว

    Newbie question: Would the fast switching of relays cause a lot of voltage spike?

    • @IFailFirst
      @IFailFirst 9 ปีที่แล้ว

      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.

    • @Zack-dk3pt
      @Zack-dk3pt 9 ปีที่แล้ว

      IFailFirst ive never had a problem

  • @deucedeuce1572
    @deucedeuce1572 ปีที่แล้ว

    Does the 5v need to be on constantly for the relay to stay open (on)?

  • @tomhetto9397
    @tomhetto9397 8 ปีที่แล้ว

    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 ?

  • @MrHurricaneFloyd
    @MrHurricaneFloyd 10 ปีที่แล้ว

    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.

  • @abjurian
    @abjurian 8 ปีที่แล้ว

    Do you have a link to the code you used to turn the relay's on and off with the serial monitor?

  • @WRAND2208
    @WRAND2208 9 ปีที่แล้ว

    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.

    • @NobleBrutus
      @NobleBrutus 9 ปีที่แล้ว

      +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.

    • @WRAND2208
      @WRAND2208 9 ปีที่แล้ว

      +NobleBrutus thanks pal i checked some blogs regarding this so now your simplified answer makes a lot sense.

    • @WRAND2208
      @WRAND2208 9 ปีที่แล้ว

      +Christian Himmelstrand great explanation and a good simple example.thank you so much man.

  • @sommawolf4273
    @sommawolf4273 9 ปีที่แล้ว

    which code did you used to control relays with serial port

  • @toycarfoushboy
    @toycarfoushboy 7 ปีที่แล้ว

    I subbed up guys! Really like learning this kinda of stuff and seems like y'all are gonna teach me some.

  • @rohanbharadwaj3470
    @rohanbharadwaj3470 10 ปีที่แล้ว

    How would you go about plugging a fan into the relay?

  • @ExStaticBass
    @ExStaticBass 7 ปีที่แล้ว

    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?

  • @malikattaurrehman4723
    @malikattaurrehman4723 7 ปีที่แล้ว

    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 ??

  • @AlcoholicGam3r
    @AlcoholicGam3r 9 ปีที่แล้ว

    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.

  • @lorenzo3
    @lorenzo3 7 ปีที่แล้ว +1

    I can control 12v load with this relay 5v arduino?

  • @Zack-dk3pt
    @Zack-dk3pt 9 ปีที่แล้ว

    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

  • @johnross3752
    @johnross3752 6 ปีที่แล้ว

    can you use this as a brake out bord for stepper drivers like gecko

  • @azimalif266
    @azimalif266 6 ปีที่แล้ว

    Is it possible to split a large load among multiple relays? so that an arduino can control a large load.

  • @huzaifasserugo4357
    @huzaifasserugo4357 ปีที่แล้ว

    hi Mike, how can I get this code. the link in the description is not working. Thank you

  • @Jazzcasanova
    @Jazzcasanova 10 ปีที่แล้ว

    Will you plz share that RelayControllerNoDelay sketch??

  • @program_brain
    @program_brain 8 ปีที่แล้ว

    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

  • @filipbook5605
    @filipbook5605 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!

    • @jtmack55
      @jtmack55 9 ปีที่แล้ว

      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

  • @Decentralized_World1
    @Decentralized_World1 8 ปีที่แล้ว

    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.

    • @shifty51008
      @shifty51008 8 ปีที่แล้ว

      with the right code it can do all of that stuff

  • @saleembukhari7728
    @saleembukhari7728 6 ปีที่แล้ว

    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

  • @CanvasDonRane
    @CanvasDonRane 9 ปีที่แล้ว

    How to connect an external power supply for the relay module?

  • @dice2333
    @dice2333 10 ปีที่แล้ว

    can u post the last code plz "switching on and off using 1 and 0"

  • @franciscosanchez9406
    @franciscosanchez9406 8 ปีที่แล้ว

    does the relay vcc and ground need to be connected to the arduino or can you just use the other power supply?

  • @JmsarchitectIn1
    @JmsarchitectIn1 7 ปีที่แล้ว

    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

  • @zirkoni42
    @zirkoni42 10 ปีที่แล้ว

    Arduino is not a microcontroller, it's a development board brand that uses different microcontrollers.

  • @gaets04
    @gaets04 7 ปีที่แล้ว

    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 ?

  • @jeffreyho6625
    @jeffreyho6625 7 ปีที่แล้ว

    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?