??? 05/19/06 22:10 Read: times |
#116719 - Internet is not SMS Responding to: ???'s previous message |
Please don't use SMS text abbreviations. It is difficult to read, and makes everyone angry. Nobody objects to your difficulties with the English language. They do object to your use of SMS text abbreviations, though.
You should, perhaps, after you've read the datasheets and application information to which people have referred you, consider driving one segment at a time. It will enable you to control the brightness of each segment very precisely with just one resistor on each cathode, and actually simplifies the code. Rather than sending a "1" for each digit, you send a '1' for each segment in that digit, and probably won't need to use a buffer transistor. The digit select will, then, only have to sink the current required by one segment, since, for each digit time, only one segment will be enabled. You scan all digits first, as associated with each segment, leaving each digit "on" for the same amount of time, irrespective of its on/off state. Then, after scanning all the digits, you increment to the next segment. It works very well if you have little or nothing else to do at the time. This all depends on whether your microcontroller can both sink and source the necessary current to light a segment in your display. If so, then all is well. If not, you'll probably need a transistor or a segment driver, e.g. 74x240. RE |