it counts down from 20 and lights up pin 13 LED when the timer is complete.
It uses no extra hardware which is usefull for low-cost projects.
It also features multiplexing to get the job done with only 9 pins altogether for the displays.
Remove these ads by
Signing UpStep 1Parts needed
COMPONENTS:
1. An Arduino (any kind will do)
2. A dual-7 segmant display or 2 seperate 7 segment displays.
3. 2 Resistors (the values depend on your display)
4. About 50cm of non-stranded wire
TOOLS:
1. A soldering iron and solder. (My display was SMD so i had to solder wires to it for connection)
2. A fume extractor. (I really reccomend buying or making one as they are very helpful to you)
3. A wire stripper, or you could just use scissors
| « Previous Step | Download PDFView All Steps | Next Step » |








































I have the same Problem its to fast .... and its the same when i change it from delay(0,5) to delay(5) // int timer 100
Please help
To make a delay of 1 second, you would use delay(1000);
So, using delay(5) would make 1/200 of a second which is VERY fast.
Make it delay(500) for half a second.
arduino ide: http://www.arduino.cc/en/Main/Software
arduino: http://www.amazon.com/Arduino-UNO-board/dp/B004CG4CN4/ref=sr_1_1?ie=UTF8&qid=1311389063&sr=8-1
A - top
B - top right
C - bottom right
D - bottom
E - bottom left
F - top left
G - middle
You will probably need to look at the datasheet for whatever 7-segment component you have to tell what pins correspond to what segment, though.
I have some coding experience with arduino and I'd be willing to help.
http://www.kingbrightusa.com/product.asp?catalog_name=LED&product_id=CA56-21GWA
Having only just really started electronics, I am not too sure how to wire up one of these displays, and even then it would take me some time to write the code. Can anyone give me a hand on how to wire it up?
Thanks for any help!!
int timer = 500;
becomes
int timer = 100;
and
all the delay(0.5);
becomes
delay(5);
You can see this in your photograph the 1 is much brighter than the 9 and 8 would be dimmer still. You need to remove the cathode resistors and put a current limiting resistor in each segment's anode.
Is this a Common Anode, or a Common Cathode display?
Would be great if you could post the displays model nr printed on the side.
Thanks!
The model is a KINGBRIGHT KCDC04-101.
Sorry for the late response.
Its simply a text file, Rename it to .pde.