Introduction: LED Bargraph Counter
This project is a counter from 1 to 10 and it lights each segment LED until completing the 10 segments and again it begin lighting from the first LED to the last one. For constructing the Arduino LED Bargraph Counter, I used an Arduino Nano in its implementation. The whole project contains the proper Arduino Nano, a 20-pin LED Bargraph, ten-150 Ohm resistors, and a small PCB.
Step 1: Bill of Materials
1 Arduino Nano
1 20-pin LED Bargraph
10 150 Ohm-Resistor
1 Mini to USB-A cable
Step 2: Schematic
This is your diagram so that you can wire it correctly. Observing carefully the schematic, you won't have any problem with the project and complete it successfully.
Step 3: LED Bargraph
Installing the LED Bargraph, you can observe the side letters are the anodes for being connected to your Arduino Nano; but before you should connect them to the resistors of 150 Ohm. Remember the resistors will be connected between the LED bargraph and the Arduino Nano.
Step 4: Arduino Nano
Install the Arduino Nano in front of the LED bargraph. Then you should more or less match the Arduino pins 2-11 to LED Bargraph pins from the right to the left respectively.
Step 5: 150 Ohm-Resistor
Install the resistors of 150 Ohm between the Arduino Nano and LED Bargraph by utilizing Arduino pins 2-11. Finally, connect the Arduino pin 12 to all cathodes of the LED Bargraph.
Step 6: Complete the Project
Once completed the project, go to the following website: https://pastebin.com/8Sg8z6Jj
In the previous website, you will encount the code for your project.