arduino voltage

 


 
Build something: new. I’m, Patrick Norton., I’m, Michael Hand.. We were going to bring you the most amazing confluence of aluminum gas, welding and lemons today., But that failed horribly. Yes.. Yes, it did., So instead Arduinos. Yay, What’s an Arduino. So Arduino is a microcontroller that you can program to do tons, infinite, things., It’s, a controller or a microcontroller. There’s like 32000 variations of these from BASIC PIC Stamp through Arduino.. Some people use Raspberry, Pi. I’m thinking. The cover of Make Magazine this month has 300000 different controllers. Inside of it. I mean a controller controls things right, Yeah exactly. So, like I said it’s, something that you can program to do a whole range of things.. So in this case, we’re going to show off how to control high powered applications or do high powered applications with this little low, powered, Arduino. And what’s crazy is by combining some kind of controller like the Arduino and some software you can probably download off the internet. Probably will have to download off the internet, you can make things, do things like automate, a dorm room, entertainment system or make sure some lights get turned on every time your garage is opened or that a song plays every time your cat sits down on its bed. It’S, just the limit is your imagination. Exactly. Controller boards. You can pick them up at Radio Shack now.. You got yours off of. I got mine off of eBay, I think for 12.

, Because it’s cheap and they all seem to work in my experience.. This is good.. So what’s with the Flying Spaghetti Monster homage of wiring, OK, so beyond the microcontroller, we also have this relay board.. This is an eight channel board. So that means that we can power eight different things, this way.. Well, you can turn eight different things on or off. On or off. So a relay board is super old school in that it’s, just like a remote controlled switch that this is a physical switch that’s. Switching on and off. There’s a chance. Every time you turn the headlights on in your car, a relay is actually doing the switching.. I mean these are basically as far as electronics are concerned. This is Stone Age technology., So these are cool that it’s looking for a 5 volt signal. And when it gets that 5 volt signal it turns on. And by turning on I mean it, closes the connection and then closes the loop. Yeah. You send voltage in this end., It does magic.. It closes the switch at this end. And I love reading the specs 10 amps 250 volts AC 10 amps 30 volts DC.. That means 120 volts 220 volts as long as it’s, not higher than 10 amps, 30 volts DC as long as it’s, not higher than 10 amps. Anything up to that maximum. That’s, really awesome. That’s a lot of juice to work, with. Yes.. So the way I have this set up is that I have a ground going to the relay switch.

And then I have pins 2 to 9 here that equals eight right. I think so. Yeah pins 2 to 9, that those are controllable so that I can say, OK send a signal. And then, when it gets that signal, then it’ll turn on.. Hence the controller part of the Arduino but there’s more purple, wires.. Yes, so this I have it set up so that it has an external power supply., Because from what I understand with these big eight channel boards, the Arduino doesn’t have enough power or enough amperage to turn all of them on or off at a time.. So I don’t want to burn out my board., So I have this external supplier that will supply the power to actually close the gates. Like one to four relays. You found that you can supply off the board without burning it, out. Yeah exactly., Then things like sketchy., Then I just was scared.. What are we controlling and how are we controlling it Is that where the software comes in, This is where the software comes in.. So right now we have some LED lamps plugged in here. And that’s a 12 volt load.. This is 12 volts, which is still way more than the Arduino can do.. It can do five volts., And then we also have an AC application. Here.. We have a fan plugged in here. Don’t worry.. This is safe not like last week. Hopefully we think or the week before last week.

, So let’s jump into the software and I’ll show you how this is actually connected. Cool. How this is powered.. First, you need the actual Arduino software which you can find at Arduino.cc. It’s downloads, for I think Mac, Linux everything. Intel Galileo.. So once you have that downloaded you’ll see you have this cool little software here. And the nice thing about Arduino, especially, is that smart people have figured out how to do whole lots of things already. Yay.. So I found on this Arduino dash info dot, Wikispaces dot com, someone already wrote code to control a relay. AKA Arduino power.. Yes, so I just straight copied and pasted this code into our Arduino software, here. I’m, going to say it because it’s my job is that legal, Michael Probably they put it on the internet. It’s generally accepted and cool. OK., Just saying.. So the way you actually send code to the Arduino is that you make sure you have it connected to your computer., So this just has a USB cable.. So first of I’ll compile the software and then I’ll upload.. So if you’re getting errors here, you probably have to select the port that you want to be on.. Things are happening. In this case I have the USB., But it worked. And, as you can see, this code cycles through.. It turns on all the switches and then turns them off. It doesn’t have to cycle them. It’s just what this particular application is doing.

Yeah. So this is very basic on how you get an idea of what things in the code you actually need. And then from there you can start playing with the code.. So in this case it’s setting to be like a one second delay.. If we want to get crazy, we can set it to be like 40 milliseconds. Which, when I You’ll break my fan., So I just sent it. It’ll, take four seconds. And then oh awesome. And the thing I love about the mechanical relay is you can hear them? Switching over. So I’ll just let this go for the rest of the episode. DRUMMING. Ok, maybe not. A little annoying.. So instead I have this code that I kind of expanded a little bit. It’s. Definitely not the cleanest code ever but I’m. Sorry everyone. It works.. So another cool thing you can do with Arduinos is that last application you could take this. It’s all self contained.. It doesn’t need to be connected to a computer., So you can just power the Arduino and it will cycle through that forever. If you want., You could have a crazy light display or you could use it to control neon light transformers or something. Yeah. But if you want to have it so that it’s listening for something. So now I brought in a serial port. So that the Arduino has a port that you can send commands to and then doing that it’ll do whatever you set it to do.

. So I have it set up so that it’s listening for different keys.. So if I hit one it’ll turn on the first relay. And if I want to turn it back off, I hit one again., So switching physical universe, things on and off your computer. I don’t know why I still find this incredibly fascinating., So the serial port can be very, very useful if you want to send commands to your Arduino. And hey while I’m. Still here you should check out Audible., Go to audiblepodcast.comdiy and you’ll, get a free audio book of your choice and you’ll help support the show., Nice segue huh. So part of the reason you got involved with the relays was so that you could do stuff. We’re going to do something kind of exciting in the next few weeks, with hard science again, not controlling lights, but controlling something else. Screaming may be involved. We’ll go more In depth with that, but I can show you a little just to finish this off. I have it set up so that I have a Python script here. Listening for numbers., So I could be like bum bum bum bum bum bum light show.. Ladies and gentlemen, would you like to learn how to make things, do things and just learn how to get your diy on Please subscribe to DIYTryin.com or YouTube.comDIYTryin.. I love how it through to the fan. That was beautiful. At DIY Tryin on the Twitters. And rumor. Has it there may even be a place to hang out with us on Reddit.

And if there is you’ll, see it down below. And if you’re on YouTube. Please comment down: below. I’m, Patrick Norton., I’m, Michael Hand. We’ll see you next week on DIY Tryin.. What did that look like Liz? It looked really good.

 
 

arduino voltage Video

 

 

 

 

 

 

arduino voltage news

 

 

 

 

 

 

 

arduino voltage Social

 

 

 

 

official.arduino
2019-09-13T20:23:14+0000

See the world through the eyes of this camera-equipped, snake-like robot.
safe image.php?d=AQB2kdm3zOD71KQX&w=720&h=720&url=https%3A%2F%2Fblog.arduino.cc%2Fwp content%2Fuploads%2F2019%2F09%2FUntitled 2 3 - arduino voltage
official.arduino
2019-09-13T16:58:23+0000

This 3D-printed prosthesis uses computer vision to adjust its grip depending on the object.
safe image.php?d=AQD dQbotzfS6mLl&w=720&h=720&url=fbstaging%3A%2F%2Fgraph.facebook - arduino voltage
image normal - arduino voltage
nomadics
Tue Apr 15 01:31:21 +0000 2008


RT @OmzloElec: Update: you can test this Arduino bug in analogRead() yourself with just a couple of resistors and a voltage meter.

https:/…

LVDHNrS5 normal - arduino voltage
circuitbasics
Sat Dec 27 08:14:04 +0000 2014


RT @circuitbasics: How to control an LED (or any other low voltage device) with your Arduino’s analog inputs [TUTORIAL] https://t.co/65BXzh…

Analog Servo motor Waterproof 9g MG90S For RC Robot Helicopter Airplane Boat

metatrona photo

Portable USB Vacuum Electric Pump Quick Seal Bag Strong Suction for Food Storage

metatrona photo

2016-04-15T14:35:45



 photo

2016-04-15T14:35:40



 photo

2016-04-15T14:35:36



 photo

 

 

Originally posted 2015-12-05 07:06:08.

(Visited 17 times, 1 visits today)

About The Author

You might be interested in

Comment (21)

  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.

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

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

  4. 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!

  5. I’m still a bit confused, I have this relay shield that has 4x 250 v 10 A AC relays, so you’d think it could switch 2500 watts but the data sheet says its switching power is only 70 watts? Can I still safely power a heater thats a kilowatt on this relay or should I be careful not to exceed 70 watts?

  6. 🙂 Thank you for your videos, great stuff. What would be a good basic automatic relay circuit to make load A2 turn on when load A1 shuts off?

    1. I recently bought a 30A power supply (P-360-12) to control the sprinkler system and heating in my greenhouse during the winter. The stat sheet ( http://www.wlgled.com/estaticos/media/producto-pdf/8PS120360DCU.pdf ) said “2) Do not overload, also avoid free of load while a power supply is powered on, keep proper loading” so now I’m concerned about damaging the power supply in the time that both the automatic heating (12v-16ish A) and watering (12v-2A) circuits disconnect. So I was thinking of adding another load (12v-15A) that would only turn on when the heating circuit disconnects (As it will be the most used load, as well as the biggest.). I’d prefer to lean away from Arduino as I am currently a novice and haven’t yet ventured into it, any suggestions?

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *