Basic Stamp Help!!
SNAKExBITE
Posts: 8
Im trying to make a countdown timer using 4 seven segment displays. I want to run them of the REV C board of education. Can anyone help me do this?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol6/col/nv127.pdf
The reason for using a chip like this is that the Stamp I/O pins can't drive multiple 7-segment displays without external transistors and, once you have a couple of transistors and resistors, it's getting to be easier to use a single LED driver like the one shown in the Column.
If you still want to use discrete transistors, you connect the display segments just like you did with the single 7-segment display, with each segment (a,b,...) from the 4 displays connected to the same I/O pin. You then need a driver transistor and base resistor similar to what's shown in Nuts and Volts Column #6. The type of transistor and how it's connected depend on whether you have common-anode or common-cathode displays.
You already have code to display digits on the single digit display. For 4 digits, you turn on one display driver transistor at a time, output the segment information, then turn off that transistor and repeat the same thing with the next digit. It's called multiplexing.