??? 11/08/09 17:12 Read: times |
#170572 - Simple, simple, simple Responding to: ???'s previous message |
Richard Erlacher said:
How, exactly, would you apply an 8x8 matrix display of the type Erik suggested to this problem? Are you assuming you can drive each LED independently? Just how would you arrange that? How many I/O's would it require? What other hardware?
This sort of clock uses words rather than characters, wouldn't you say? After all, it will say, "It is FIVE PAST FOUR", or "IT IS TEN TILL SEVEN", so the "IT IS" occurs quite frequently, while "NOON" may not occur so often. How do you see the row/column organization of the 8x8 matrix working in this application? How would you adjust the brightness? I am expecting a student to be able to figure that out. You should be able to figure it out too. Driving row/column-connected diodes is no harder than when creating a "moving" display. The only difference here is that the bitmap to emit only changes every 5 minutes if the four corner diodes are separately driven. Once/minute if they are part of the LED matrix forming the backlight. Using four 8x8 modules would require a maximum of 16+16 signals if accepting a bad 16-to-1 multiplexing. A more reasonable multiplexing would need a maximum of 32+8 signals. the 8 signals can be reduced to 3 with a 3-to-8 decoder. But a 16x16 backlight is bigger than needed so it will be enough to worry about the 11x10 part. The display could then be controlled by 20+3 signals (20*2^3 = 160 diodes and we only need 110). No problem for a normal microcontroller, so it should be possible to manage without any shift registers and clocking of the data. All the microcontroller would have to do is drive two "scan-lines" for 2ms before switching to the next set. That would give 100Hz refresh rate. Trivial code. Small code. Small CPU load. Exactly what problems do you see? A student don't need to bother with constant-current drive. Having enough voltage to burn over series resistors will reduce the variance in current depending on the Vf of the individual diodes. |