Introduction: Arduino 7-Segment Click Counter
Check out how to make your own 7 segment click counter!!
Step 1: Materials You Will Need:
1x Arduino Board(does not matter which version).
1x BreadBoard.
1x 1 Digit 7 Segment display.
2x Push Buttons.
4x 220 ohm resistors(Will work up to 1K).
16x Male to male jumper wires.
Step 2: Connect the Arduino to the BreadBoard:
Connect as shown in the image above:
Arduino 5V pin to the PLUS of the breadboard.
Arduino GND to the MINUS of the breadboard.
7-Segment pin 8 & 3 to the PLUS of the breadboard through your resistors.
NOTE: if your 7 segment display is a common cathode display, connect pins 8 & 3 of the display to the GND!!
7-Segment pin 1 to Arduino pin 6.
7-Segment pin 2 to Arduino pin 5.
7-Segment pin 4 to Arduino pin 4.
7-Segment pin 5 to Arduino pin 7.
7-Segment pin 6 to Arduino pin 2.
7-Segment pin 7 to Arduino pin 3.
7-Segment pin 9 to Arduino pin 8.
7-Segment pin 10 to Arduino pin 9.
Connecting the buttons:
connect one side of the button to the PLUS of the breadboard;
connect the other side through a resistor to the GND of the breadboard, and to Arduino pin 12.
Do that for the second button and connect it to Arduino pin 13.
Step 3: The Code:
Download the code and insert it to arduino IDE, and have fun!!
Write your comments down bellow!!