Let's use the fritzing tool to see the circuit that we got so far for this step. I just want to remind you, that you can download the original circuit files from this chapter. So you can play with that yourself, open the fritzing and template files and play with that. Now looking on this simple circuit, so we have the arduino over here, the breadboard with all kind of external components. The external components that we would like to use are six leds, two pushbuttons and some resistors
We learned that the resistor that is connected in serie to the led is being used to limit the current. You can see also the value of that resistor and of course the other side is being connected to specific pin number. So in total, i have like 6 wires connected to the 6 leds. We also learned that one side the cathode and the other side is the anode. The cathode, meaning the short side is connected to the ground, and remember this all horizontal line is the ground coming from the arduino, you see gnd over here, supplying us ground and supply also 5v power.
Now in addition we have the two pushbuttons, this one and the other one. The pushbutton is connected using pulldown resistor, this is a pulldown resistor. If i will click on that you can see the value of that resistor, 10 kilo ohm. Now the idea, that i am connecting the resistor to the ground and then connecting to one side of the pushbutton and the other side to 5v power
In the middle i am connecting, that's the yellow wire... This is the input pin i would like to measure. At the end it's connected to some pin in the arduino that we will setup as an input pin. It is symmetrical so i have pulldown resistor also for this pushbutton. That's all very simple. Please watch this video demonstration below to understand it better.
Explanation Of Designing Of Arduino Project And Circuit
December 15, 2018
0
Tags
Dear visitor. Click on "Follow" button from right side above and sign in with your Gmail account. Write unlimited comments on every post. 100% Free