Introduction: 2 Digit LED Bargraph Counter
This project is a counter from 1-99 for being developed with two-10 LED Bargraph and an Arduino Uno. The 2-Digit LED Bargraph Counter shows the functioning of a counter of 2 digits whose LED Bargraphs represent, one the tens and the other the ones. Each segment of LED Bargraph corresponds to a unit in the right side until completing 9 while a ten in the left side until completing 9 too. Then you really have a counter from 1-99.
Step 1: List of Materials
1 Arduino Uno
2 10 LED Bargraph
1 PCB standard
1 1X6 Header Arduino Shield
3 1X8 Header Arduino Shield
18 470 Ohm-Resistor
1 USB-B to USB-A cable
Step 2: Schematic
Note in your schematic the up LED segments in both sides are disconnected because they aren't in use and you will only occupy nine segments as in the tens as in the ones.
Step 3: Beginning the Project
For beginning your project, install the 1X6 & the 1X8 sockets and proceed to solder them according to the diagram of project. Also, insert the 10 LED Bargraphs interconnecting their respective cathodes.
Step 4: Working With the Ones
Set the resistors to be connected to the ones and close to their respective Arduino pins from D2 to D10 bottom to above. Then solder the resistors between their corresponding 10 LED Bargraph and Arduino pins.
Step 5: Working With TheTens
Set the resistors to be connected to the tens and close to their respective Arduino pins from D11 to D12, A5 to A0, & D13. Then solder the resistors between their corresponding 10 LED Bargraph and Arduino pins. Finally, remember to connect to Arduino GND the 10 LED Bargraph cathodes.
Step 6: Completing Your Project
Once completed your project, you can upload the code at the next website: https://pastebin.com/JU52S60u