Kit Instructions

advertisement
1-4 Digit Counter for Arduino
PART NO.
This project is ideal to understand the logic of work of a counter by utilizing Arduino code since you have available 4 programs: 1 for
1-digit, 1 for 2-digit, 1 for 3-digit, and other for 4-digit counter with one single 4-digit panel. Here, you can upload the code from 1, 2, 3,
or 4 digits according to what you want to use. The main components to this kit are a 4-digit panel and 7 resistors while the star that
produces the magical result is an Arduino Uno.. Video for this project in the following link:
http://www.youtube.com/watch?v=RrAq_A7OJ94
http://www.instructables.com/id/1-4-Digit-Arduino-Counter/
Time Required: 4 hours depending on experience
Experience Level: Intermediate
Required tools and parts:
Soldering Iron
Solder
Helping Hands
Wire Cutters/Strippers
Needle Nose Pliers
1 meter of wire #22
Bill of Materials:
Qty
Jameco SKU
Component Name
1
2152438
Arduino Uno Proto Shield (PCB only)
It's the base of this project
1
2006836
DISPLAY,COMMON
ANODE,RED,4
DIGIT,0.56
INCH
H,697nm,RIGHT
(RHDP),2.1Vf,1.0mcd
It's the main component of this project
1
160882
Connector Unshrouded Header 40 Position 2.54mm Solder Straight Thru-Hole
It's necessary for interfacing both the main circuit of this project and Arduino platform.
10
690700
Resistor Carbon Film 220 Ohm 1/4 Watt 5% (In Bags of 10 and 100)
It's an important part of this project.
1
2151486
Arduino Uno R3 DIP Edition (Revision 3)
It's vital so that this project functions.
1
222608
CABLE,USB2.0,A/B,3 FEET,BLACK,USB-A MALE TO USB-B MALE
It's vital to upload the Arduino code to this project from your computer.
Step 1 - Bill of Materials
1 PCB
1x4 Digit LED Display Panel
1x40 pin male headers pins
7 Resistors of 220 Ohm
1 Arduino Uno
1 USB-A male to USB-B male cable
HAND
DECIMAL
POINT
Step 2 - Separate 5 & 6 Pins
Cut 5 & 6 pins for using them later
Step 3 - Project's Diagram
Check the project's diagram so that you can understand what you will need in the project.
Step 4 - 1x4 Digit Seven Segment LED Display
Identifying the pins of this component, you can work without any problem with this item.
Step 5 - Insert the Pins Reserved Inside the Arduino Sockets
Insert the Pins Reserved Inside the Arduino Sockets those of 1x5 and 1x6 pins
Step 6 - Mount the PCB on your Arduino
After mounting the PCB on your Arduino, proceed to solder the tips of each pin you will be seeing in the PCB.
Step 7 - Dismount the PCB of your Arduino
Dismount the PCB of your Arduino for checking its look.
Step 8 - Mount the 1X4 Digit Display Panel
After mounting the 1x4 digit display panel, you can begin to solder its ends of connection to the PCB.
Step 9 - Installing the Resistors of 220 Ohm
After installing the resistors of 220 Ohm, you can complete all of electrical connections of this project.
Step 10 - Mount the Done PCB on your Arduino
After mounting the done PCB on your Arduino, connect USB-A male to USB-B male cable between your project and your computer.
Step 11 - Uploading One Digit Arduino Counter Code
You can upload the code for one digit Arduino counter in the following ink:
http://pastebin.com/YfywF6jD
Step 12 - Uploading Two Digit Arduino Counter Code
Upload two digit Arduino counter code in the following link:
http://pastebin.com/bqmjhHgX
Step 13 - Uploading Three Digit Arduino Counter Code
Upload three digit Arduino counter code in the following link:
http://pastebin.com/8WEvm1tW
Step 14 - Uploading Four Digit Arduino Counter Code
Upload four digit Arduino counter code in the following link:
http://pastebin.com/Wm1DPSwc
Download