3 Digit Arduino Binary Counter

by braulio777 in Circuits > Arduino

1774 Views, 4 Favorites, 0 Comments

3 Digit Arduino Binary Counter

3 Digit Arduino Binary Counter

This project is a counter 1-999 by using 4-LED to each digit while its control pin is the anode by leaving free the cathodes for being interconnected to its corresponding row of LEDs and resistor between this and Arduino pin. The common anodes will define the 4-Binary Display will show the ones, the tens, the hundreds from the right to the left respectively.

Bill of Materials

20170625_145633.jpg
20170625_145637.jpg

1 Arduino Nano

1 Small PCB

12 3mm Red-LED

4 470 Ohm-Resistor

1 USB-A to mini USB cable

Diagram

3 Digit Arduino Binary Counter_schem.png

Note that you have to interconnect the cathodes of each row of LEDs that will be connected to its respective resistor between each group and the Arduino Nano pin while the anodes will be commons in each digit by being the ones, the tens and the hundreds from the right to the left respectively the digit 1, 2 & 3..

Beginning the Project

20170625_173250.jpg
20170625_173309.jpg

Begin installing the digit 1 & 2 array and interconnect the pair of cathodes in each row as it's seen in the middle of the common anodes while the last groups form the digits mentioned.

Install the Last LEDs

20170625_181617.jpg
20170625_182000.jpg
20170625_182002.jpg

Now, you can interconnect the cathode pins (the yellow ones) of the row of the three LEDs while leave free its anode pins(the silver ones) that will be forming the digit 1, 2, & 3.

Preparing Your Arduino Nano

20170625_183402.jpg
20170625_183615.jpg
20170625_183625.jpg
20170625_183634.jpg

For preparing your Arduino Nano, you only insert 7-pin into the Arduino holes from D2 to D8.

Install the Arduino Nano

20170626_114831.jpg
20170626_114852.jpg
20170626_114854.jpg

Insert the Arduino Nano prepared in the previous step in the appropriate holes of your PCB.

Completing the Project

20170626_114917.jpg
20170626_114920.jpg
20170626_114923.jpg

For completing the project, do the rest of connections. That is, draw a connection from each group of cathodes to be wired to its respective resistor while the free end of each resistor will be connected from bottom to up to the arduino pins D2 to D5 respectively Without forgetting digit1 to digit 3 will be connected to Arduino pins D6 to D8 correspondingly.

Uploading the Code

20170626_121402.jpg
20170626_121627.jpg
20170626_121330.jpg
20170626_121335.jpg

Once finalized the project, feel the freedoom of visiting the next website:https://pastebin.com

Then, upload the code at: https://pastebin.com/W0xm4PNX