Welcome to this tutorial. If you are directly seeing this tutorial, then you can start of from beginning from previous tutorial. You can continue if you just want to continue this. Keep the following circuit diagram handy and tally it with your Arduino Breadboard circuit with this circuit diagram to avoid any mistakes.
- If you are directly seeing this tutorial, then please complete the below circuit first. The tutorial on below circuit is here "http://iotmonk.com/courses/getting-started-with-arduino/" you will get the following circuit. Now we will resume from here.
2. Follow the blue dot area and connect the black wire from -ve rail of breadboard into the following terminal of breadboard as shown below.
3. Now again, connect the +ve rail of breadboard on the terminal of breadboard in the following way.
4. Now, we will extend the power supply of the Arduino microcontroller to the other rail of the breadboard.
5. Finally, we will connect the right rail of breadboard to the left rail. Follow the below image, and connect the wires as shown.
6. Now connect take the button and connect in following manner. If you have 2 legged tactile button, then you will connect in the following manner. In the further steps, you will understand the connections.
7. Now connect the 9nth pin of Arduino Leonardo Pro Micro to ground rail of breadboard using a 10k resistor. This setup is called "Pull Down Resistor". It will hold down the logic to '0' if there is not input on the pin. I.E. the default value of pin no 9 will be 0.
8. Now connect the first leg of button to vcc. So when we press button, we will get +5V or logic '1' on the other leg of push button.
9. Now finally connect the pin no 9 of Arduino Leonardo Pro Micro to 2nd leg of push button. Refer below image.
And you are done! Now move on to next step for programming it and seeing the out put of the setup.