Well, not the onboard leds were going to be learning about these leds and resistors and basically starting up on what are arduino circuits. Now you would normally think this as a ball, but this aint, no normal bulb, is an led and leds are quite complicated. I dont want to bore you so im just going to go through it a bit. You can see theres uh. I hope i hope you can see theres a long leg and a short leg. The short leg is where you put the negative voltage or an arduino, the ground gnd and the posit the long leg is the positive voltage where apparently youre going to be putting the 5 volts or or 3.3 volts. But i recommend 5 volts. So we have our um resistor. This is a resistor. Well, sorry, look at this. This is a register. I think youre, seeing this when you break up something electronic and you find one of these stuck in some way yeah. This is a resistor. You need this, so you can turn the led on and if you dont use resistor, your led is going to burn in a while. So you should always use a resistor with your led youre going to stick it to any leg. You want now im also going to be teaching you how breadboards work but yeah well get to that now. Leds use something which is called a semiconductor semiconductors turn on when you need them enough, when you need them to be conduct not to be conductors so yeah thats pretty useful.

Here we have a breadboard. You need to get this because im going to be using this in nearly every single one of my projects and tutorials. So i recommend you just get arduino kit. I dont recommend you get the original kit. I recommend you either get the e lego uno kit or you can get any other kit. But if its a kit with less components, then you might then occasionally, after every five episodes or so youre, going to be needing to get some more stuff. So im going to explain to you what breadboards are. This is a half size breadboard, because apparently i dont have a full size breadboard. I have two half sizes, so the the breadboard here you can see these numbers and everything, but the thing about it is that you see this negative and these positive. This only comes in the half and the full breadboard it doesnt come in many breadboards. It might be what you get so the convenience about. This is that when you put a negative voltage onto this thing behind the negative line, the whole line becomes negative and the same for positive. So you get the idea, but in breadboards the rows are not connected. Only the columns are connected and not now the this whole column. This way and its like any column, theres a separation under that column, those two columns will not be connected, even if theyre like together, for example, we have wait a minute.

Give me a second okay. So ive opened up this picture. You can probably not see it because this picture is not good quality. You cannot probably see the stuff which is written on it, because my camera quality isnt that good either sorry ill, get it fixed later so yeah. You can see this okay, this one is slightly better, so all holes in the upper the negative, positive rows theyre connected, but columns are not so otherwise. Theyll get all muddled up and in the columns you can see, are divided. That means, if this column is all connected, then the column under it after the division will not be connected to the upper column, which is weird but fine. Yeah thats it so were going to be needing to use, were not going to be needing to use this normal knowledge. Now remember in many breadboards the ones with no negative positive, it will be slightly hard to use it because then you will have to make it go all in columns the negative and the positive. So i recommend you just buy the kit, which has many breadboards and the non mini, because minis are also useful when you want to make like tiny project tiny project, so im just gon na quickly close this up and were going to be building our circuit. Now, how can i get this in a view which i can show this is going to be confusing? Okay, another question which you may ask me: how are we going to connect the arduino with the breadboard, how we have jumper wires, of course, theyre male to females and females to males ive, already gone through that that that the the part which has the pin is The male and the part which doesnt have the pin is a female, so you need to get male 2 males to connect to breadboards if youre using arduino uno an arduino nano it the input pins in it, theyre not theyre, not female.

They are also male me. It means youre going to be needing female to male pins like this one. I also have a nano which got burnt because it was chinese when i gave it an improper battery. I needed this in the beginning, so yeah were gon na, be making our circuit dry gum. I am honestly wondering how im going to get this. Give me a second okay were back, and you can see my obs studio. Okay, never mind that im going to be making my picture big, so give me a second right there. Okay, you can see me now now. Let me just make sure my camera is right. Can you see the breadboard sorry, my obs studio studios only need it. Okay, yeah, you can see the stuff now. I hope this we have my led or resistor and a whole lot of jumper wires. You dont need these many, but i have this many now most people say you should be using the black wire to connect ground voltages, which is exactly what im going to do, even though you know that you have one two three three ground pins three ground pins In the arduino and if youre using more than that, then youre just gon na wan na put it in the positive part, negative part any place negative. You want it in im. Gon na put it here and im gon na use the ground. The el the ground pin, which is right next to our gnd, were right.

Next to our pin number 13. now pin number 13. As you remember, we used it and my and my thing its still blinking right now now i wanted to say that the digital pins they have an ill built resistor. So this, let me show you another way. You can do it if you dont have all the stuff and but you still want to do it. You just put the big leg in pin number 13, the digital one and the short one in ground. Why is this not working? Okay, so wait a minute. Let me just see if my obs is recording this yeah. It is so i quickly changed my led because it wasnt working last time so the long leg in 13 short one and ground yeah. You can see its on. Why isnt it blinking? Oh because i changed the program yeah, i should have thought of that before so yeah its on. I must have put the led on program in it. Anyways im quickly going to go into my arduino ide and i can still see the ide not much uh. Let me okay, you can see my ide now, i hope were going to be re uploading, the same program we did im just gon na bring hope for it to compile this compiling sketch. Are you gon na compile or not? Okay, its done uploading. I hope you can see its blinking now so were just gon na put our let me go back to the bigger view, sorry about the opening of obs studio, but i hope you can see its interface ill, give her a tutorial on how to use it.

So yes, im quickly going to take my the long leg into 13 and the short one into ground. You can see its blinking now yeah really cool, but we dont want to do some weird stuff anyways. It has a built in register. You can check out my vid. You can check out some resistor values, but i recommend 180 ohms or 330 ohm resistor. If you want to do that as the led stuff so im just gon na for my for your convenience im putting the long leg on this. This, the one side now apparently youre going to be seeing that the ground, where youre going to be seeing this now im just going to put in the im going to re. Look it doesnt, really matter where you put the resistor but im putting for your convenience. Im putting it in the long leg of the led and, as you remember, putting the long leg in pin 13. So i take any male 2 male 1, which apparently i dont know im gon na my brother, my brother hes, a very small person, and he took up the thing i was using to keep my jumper wires together now theyre malfunctioning sort of so i put it Here and in pin 13 – i put this here now remember the short wire goes to ground im, just showing you that if i didnt do it would still work. But then, if i put it here and then take another wire which hopefully is mailed to me, i need to get one right now.

Wait give me a second now white ones are usually used for like voltages and stuff. Why am i running out of male domains? Today and he was working some arduino with me – you know what he did. He took out. Every single jumper bar he brought out was like white and im, like you got some white stuff. So, yes, the whole line is now black. All of this line is now ground, voltage and youre supposed to put it around here. So, yes, you can see its blinking now i hope otherwise, my obs studio connection is wrong, so yeah thats about it for this tutorial, and i guess you learned out now, even if its it, i still have to give you your homework now. What i want you to do is i want you to go into pin mode when in your arduino ide, which im just going to show you right here, youre going to go into, pin mode youre going to add another youre going to add another pin mode, see Uh see what im saying here: youre gon na add another pin mode and youre gon na add another pin which is going to be pin any digital pin. You want from 2 to 12 because you have to keep 13 and youre going to set up another led with another resistor and another pin going into pin whatever digital pin you use on so thats your homework. I want you to make another led blink.

https://www.youtube.com/watch?v=n3CicGeIif4