how arduino nano works

 


 
This is going to be a bit of a different video to what I usually do so sometimes when I make these videos I’ll, post them on YouTube of course, and schedule them. And then sometimes I want to post on Facebook and include the link to the video and say this is my latest video something like that, and sometimes I get quite a lot of interest. Sometimes people will private message me and say something like wow that’s that’s interesting. I wish I could do something like that or or I could never do that or something like that. You know so. I’Ve decided I’m going to make a video for absolute beginners and then explain what exactly I’m doing with these videos and I’m going to show you how you can do it too, but very simple, so to start with I’m going to show you what I’ve got here. This is what you’ll need to do. This really simple tutorial. So, to start with what I’m actually going to do here or what you’re gon na do is you’re going to make an LED blink, so that’s the I’ll, be doing I’ll just show you that it’s, just a really simple, LED and you’ll need to get a yellow One these are really really cheap. You can get them off eBay, so yeah an LED you’re going to need the resistor again really really cheap. This is a 47 ohm resistor and that’s a bit of a weird number.

I know Brit um yeah. You need a 47 ohm resistor, so what’s the rest of this stuff. This is a mini. Usb cable! Explain that in a second, why I need that, and this is called the breadboard. You get these really cheap again from an eBay about a pound or two piranhas. Something like that, so this is a breadboard and basically what you do is you. You push components into it and then basically, these these things here, sort of wired together with strands of conductive material matter or something like that, so they act as wires. Basically, so that’s a breadboard stick component into it. Secondly, one of those – and you all speak one of these, so this is pretty much what my videos are all about. This is a microcontroller and they’re. Surprisingly cheap. You can easily pick these up and yeah they’re, not expensive, maybe a few pounds something like that, and this is basically the brains of the operation. This is pretty much the main point or the main component in all of my videos, so on the others are Czech and we’re going to manipulate this chip to do something in this case we’re going to manipulate it to make that LED blink, so I’m, going to Show you how to do it I’m, going to keep it really really simple, okay, so to start with let’s real quick look at this microcontroller, so this thing is called an Arduino Nano and it’s.

Why I’d recommend for new people that different ones, Arduino Pro Mini, Arduino, Uno, etc? But Arduino Nano is really good for beginners is really simple to use and I won’t go into it too much but yeah. If you starting get an Arduino Nano. So the first you can see here is caution, static, sensitive devices not to be humbled by unauthorized personnel. Why acts so to start with, be certain you get permission from somebody who’s authorized hey. Can I open this okay? Thank you. Okay, so let’s open it up. So what have we got here? So this is the Arduino Nano and the way it works. This is a little chip on there, which is, like I said earlier, that the brain of the the whole thing there’s a little switch on here and there’s, a USB socket. So earlier I mentioned about that Mike sorry, not micro mini USB and what you do is basically plug one end and here and plug the other end into a PC or a laptop and that’s. Basically, all there is to that or for the time being anyway, and these little holes here easier for you to solder on these. Now it can actually, you can actually buy these pre soldered I’m, not much more expensive, maybe it’s an extra pound or something. So if you don’t want to solve, though you haven’t got a soldering iron just by the pre soldered one and you don’t need to do any more soldiering that’s, why I’ve got the breadboard? Basically, you just put these in like this and then solder it up and I’ll show you how now so for those of you bought the pre soldered one.

You can probably skip a minute or two and and follow along from that. So for those of you self, this is why I usually, then I usually just push this temporarily put pins in then push it into a breadboard and it sort of holds it for you. It makes it a lot easier, so I suppose I should zoom in a bit more, so you can see what I’m doing so I’ve got some very fine solder. Just move this along a bit and I usually start from the furthest away. First, and sometimes, if you song line, gets dirty just there, I just whack it on a hard surface surface the plastic bit and the rubbish comes off. Okay, I’ll just check that that’s that’s. Okay, you can see all the pins are soldered on and it’s pretty good. They need snipping off really those sharp bits – that’s not ideal, but but whatever hits on so I’m gon na reverse it now and then solder the other side up. I think this thing help yeah there we go that’s, okay, so I turn it around now and solder. The other side and it’s the same same idea really: okay, there’s another little trick as well and that’s to when you’re soldiering. If something’s, not holding still, you can use blue tuck, I use it all. The time see that will be much easier now, just put a bit blue sack, underneath it okay and that’s carry on so most difficult one first, which is that one and that’s done so I’ll just knock the rubbish off the soldiering iron and then switch it off And we’re done with soldier okay, so you might be thinking now well, wouldn’t.

You need to solve the Aelita solder, the LED and the resistor, but you actually don’t we’ve got this breadboard for connecting things together now so from from now on. We won’t need to solve this, so I’ll just get rid of the blue tack and everything. Okay, let’s continue. Okay, so we’ve got the Arduino Nano pushed into the breadboard now, and the next thing we want to do is add in the LED. So if you just take your LED you’ll notice that there’s a long side and a short side well, the long side is plus on the short side is negative. So we want to do is get the long side and just push it in to where it says. D2, so you’ll see that there’s these little holes and the way the holes go. Is they sort of run that way, they’re all linked to all those holes are linked like that in a line. So all on that line they’re all linked together. Sending me push the alongside into any other holes for d2 and then just join it over to this rail in this way in these rails. Here these run the other way. These are all linked together that way horizontally. If we say that’s vertically, these are all linked together. That way so push it in like that. Okay, so I’ll just move this a little bit closer, so you can see so where D 2 is I’ve got the LED, the long side pushed in and then a short side is in the rail like that.

Okay, so now get your resistor and then the hole. Next, to be minus of the LED push the resistor in there and then plus the other side into the ground, the ground side, the ground pin, if you like so like this so it’s in the same rail as the pin of the LED here and over here, It’S going to ground and what’s going to happen is that d2 is going to provide it with a voltage and it’s going to go. The circuit it’s going to be from d2 across here then through the resistor underground. Okay. So what you need to do next is to plug the mini USB in like that and then plug them in the USB into the computer, your laptop as well, okay. So the way this works is there’s, a hardware side and a software side and we’ve done the hardware side it’s all wired up. But now we need the software side. And what I mean by the software side is that you’ve got a write, a small program which gets flashed onto the little chip. So what I mean by flashed is basically you write a program and it gets popped onto the chip and then the ship runs that program constantly, which you write so anyway to be able to do this, you need some software and the software is called Arduino studio. So if you just go to a search engine and type in Arduino or Arduino CC, you’ll see the Arduino home page, so let’s just go on to that and then go to software and then go to download the Arduino IDE.

So if you just go to, I mean most of you’ll, be using Windows out. Imagine so click on windows installer and then asks you for a contribution. These people work really really hard to create this Arduino software, so so download this software just go to just download or whatever you want to do and it’ll take some time. Okay, so when it’s downloaded click on it and it should come opening Arduino, would you like to install yes and then what will happen? Is it’s not gon na work with me because I’ve already uninstalled, but what will happen is that it will ask you to install and you have to just press Next Next Next Next, okay, install, etc, and then, when it’s finished, you should find that there’s an icon. A bit like this, probably on your desktop and this icon here, this blue icon, with a white infinity symbol, that’s Arduino studio. So if it’s so yeah, maybe I have to go to Windows and then take an Arduino it’s more than likely on your desktop, though, but anyway, when you’ve got it, click on or double click into the icon, Arduino studio, and then this will come up so just To make sure go to file and then new and a new one will come up, and basically this is where you write in the code to be able to flash over to the Arduino. So at this point, you’ve got the Arduino plugged in at least I think you have so go to tools and then go to board and then in this boards area here make sure you choose the arduino nano because that’s the that’s, what we’re using arduino nano and Just make sure everything’s the same so how I’ve got it here so protests at 80 mega three to eight, which it should be set to that anyway and then programmer select, AVR ISP mark to the other arm will probably work too, but this is just the one.

I use so yeah when it’s popped in. Let me just make sure mine’s plugged in there we go. You’Ll have to choose a port, so tools and then port. Now, if you’ve got several ports, you’re gon na have to work out which point it is but familiar. One I’ve got one and it’s comport, four, so select the port, that’s appropriate and then let’s start writing. Code I’m. Not gon na go to math about explaining what’s going on here, but then I’ll keep it simple. So let’s start all right, pin mode open bracket, two and then output don’t want is. This is a very, very simple program. We’Re almost done actually so what that means is when the program first starts, set, pin two to be an output pin. In other words, we want to control its output we’re using it to output, to something okay. So then, in loop now this code here loop repeats forever anyway. So what we want to write in here is digital right, pin too high, so that means get pin to unset it or on you could call it um. Then we want to delay the program for 1000 milliseconds delay, uses milliseconds, which is a thousandth of a second, so 1000 thousandth of a second is one second, then digital right pin to hello, and then we wanted another delay of one second and that’s all there is To it to this sketch that’s the sketch complete, sometimes I call it sketch or program whatever you want to call it.

So what we’re doing here is basically turn the LED on hi means on then we’re waiting for one second with it on then we’re writing below. In other words, turn the LED off then we’ll wait in for one second and then we repeat, leap repeats, so just repeat forever. So what will happen is that our LED will start blinking, so it will be on for a second then off for a second. So anyway, now you’ve done this. Just click upload that it might ask you to save it. I’Ll save it there so it’ll say upload into iOS board and they’ll, say compiling sketch and then it’ll come up with all this here and then there you go done uploading. So that was really fast okay, so if we go back over to the Arduino now you can see that it’s blinking and it’s blinking according to what we’d written in that little program there so yeah. I hope you liked the video that’s a really really simple introduction into Arduino, and this is basically what I’m doing on my videos. So, okay, it was fairly easy, it’s, not anything special, but um hopefully found it easy enough, and hopefully you can understand where this leads. Really – and you can go as far as you want with this – you can do extremely complicated things with it, involving all sorts of different things. You can work with batteries, you can work with LCD screens, you can work with sound.

You come up with all sorts. You can work with power, so switching things on or off. You can work with remotes radio control, all sorts of different things, and lots of phones and little devices like that actually run off chips, not too dissimilar to this chip. You’Re, actually using here right now. Lots of devices use these sorts of microcontroller chips anyway, so I hope you liked the tutorial and I hope it was useful.

 
 

how arduino nano works Video

 

 

 

 

 

 

how arduino nano works news

 

 

 

 

 

 

 

how arduino nano works Social

 

 

 

 

official.arduino
2019-10-25T18:08:03+0000

Last weekend we announced that we’re working on a new development environment with advanced features. Let’s take a deeper look at what is in store for the Arduino Pro IDE!
safe image.php?d=AQB3t842udQGDBtr&w=720&h=720&url=https%3A%2F%2Fblog.arduino.cc%2Fwp content%2Fuploads%2F2019%2F10%2FPRO IDE BlogpostFeatured - how arduino nano works
official.arduino
2019-10-25T15:12:36+0000

“Let us change the world by making technology accessible to everyone and put it into the hands of every student and educator.”
safe image.php?d=AQCy9PEcAbMgaw1B&w=720&h=720&url=fbstaging%3A%2F%2Fgraph.facebook - how arduino nano works



 photo

 

 

(Visited 2 times, 1 visits today)

About The Author

You might be interested in

Comment (24)

  1. I think the dead simplest arduino to start with is the uno. But yeah the nano holds new peoples hands juuuust a little bit less, usually with power. So it’s got the most ‘reward’ once you mount the learning curve.

  2. very useful thank you im just getting into this hobby im trying to make a gameboy with a arduino micro controller connected to the pi shouldnt be too hard i hope you have taught me how they work thank you

  3. Thank you vey much ! I juste receive a bunch of Arduino Nano and I was not successfull with a test program so I did not know if they whre good or not. I just did as you explained and it work perfectly so now I can be more serious about it. You are right, they are not costly so it’s perfect for little project.

    1. Get a 6v battery or 4x 1.5v cells and put the anode of the battery to the VIN pin, cathode to gnd pin. 🙂

    2. Thank u sir for da reply, I already answered my project review today and best part was they didn’t ask this question

  4. Great tutorial. Also, do you agree that you sound like the guy from How Ridiculous? Nothing against you, I just thought it was funny

  5. I don’t have soldering skill. For education purpose,Is it possible to use Arduino Nano on breadboard without soldering it? (push pin in the breadboard,align the holes, lay the nano onto it and connect wires to it)

  6. 47Ω resistor is extremely rare for us. But we widely use resistors like 1kΩ for LEDs. But resistance is not calculated like that. Here’s a formula of getting resistance for LEDs. Forward voltage of LEDs vary from one another.

    When it comes to yellow,
    Forward voltage = 2V
    Forward current = 20mA

    Minimum resistance required can be calculated like this,
    R=(Source voltage-Forward voltage)/(Forward current)

    Source voltage can be varied. If you’re using 12V and when the resistance is lower than what it needs, the LED will be burned.

    Note: The lower the resistance of an LEDs, the brighter the light and the lower its lifetime.

LEAVE YOUR COMMENT

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