arduino 5v

 

adrotate 468x60 - arduino 5v

 
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.

 
 

adrotate 468x60 - arduino 5v

arduino 5v Video

 

 

adrotate 728x90 - arduino 5v

 

 

 

adrotate 468x60 - arduino 5v

 

arduino 5v news

 

 

 

 

 

adrotate 468x60 - arduino 5v

 

 

arduino 5v Social

 

 

adrotate 468x60 - arduino 5v

 

 

official.arduino
2019-10-02T19:32:52+0000

👋 Want to bring Tony Stark-like gesture control to your projects? Learn how with the BLE-enabled MKR WiFi 1010 and Nano 33 BLE Sense boards using the ArduinoBLE library.
safe image.php?d=AQDyi1ELcW4VGzhx&w=720&h=720&url=https%3A%2F%2Fhackster.imgix.net%2Fuploads%2Fattachments%2F997327%2Fblob dChOhNMmeF - arduino 5v
official.arduino
2019-10-02T19:08:01+0000

Arduin-yo ho ho! A fairground favorite, the pirate ship is a fun way to explore the oscillation of a pendulum. How much fun, you ask? Access our Science Kit Physics Lab preview and see for yourself: http://bit.ly/2oC6L0Q

🔬 Now that you’ve gotten your feet wet, dive into the kit and enjoy all nine experiments. Order yours today: http://bit.ly/2MnQ7fr

70537898 550174072395145 8798850142103928832 n.jpg? nc cat=102& nc oc=AQmCfMPwMf1oPpYqFhzbxfnGdbrmsjZXrEEBy1ox5Z8EJtiYMADoFNZ5mnSNRgCCY74& nc ht=scontent - arduino 5v
zTrSEAsE normal - arduino 5v
momiji_e3
Tue Aug 28 10:55:18 +0000 2018


改めて試作した放電器のログとり中。放電終了すると電池は電気的に完全に切り離されるから放置でOK。PCBにするときは4本か6本くらいは1枚に並べたい。電源はどうしよっかな。(今回はArduinoの5V) https://t.co/PVZ7tbBQWg


momiji_e3 photo
DayJi84D normal - arduino 5v
databytz
Mon Dec 07 12:30:39 +0000 2015


RT @ohioantiquities: 7 SOLD! 80x80x10mm 5v 0.25A 2 Pin Brushless 80mm Cooling Fan Computer #RaspberryPi – USA SELLER #arduino #diyelectroni…

Looped Zen Magnet Cleaner

NealisNeal photo

Looped Zen Magnet Cleaner

NealisNeal photo

2016-04-15T14:35:45



 photo

2016-04-15T14:35:40



 photo

2016-04-15T14:35:36



 photo

 

adrotate 468x60 - arduino 5v

 

(Visited 5 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 *