Difference between revisions of "How to drive many leds with a few io-pins"
From Just in Time
m (2 revisions: copying content from old site) |
|||
Line 2: | Line 2: | ||
The 12F509 Knight Rider uses this technique to switch 12 leds with only 5 I/O pins (the 6th pin is input only, so 5 is the max for the 12F509). | The 12F509 Knight Rider uses this technique to switch 12 leds with only 5 I/O pins (the 6th pin is input only, so 5 is the max for the 12F509). | ||
+ | |||
+ | In the meantime, we have learned that this technique is called Charlieplexing. So we weren't the first.. |
Revision as of 23:27, 8 February 2011
For any straightforward led matrix you can double the number of leds by using tri-state switching and parallel reversed leds.
The 12F509 Knight Rider uses this technique to switch 12 leds with only 5 I/O pins (the 6th pin is input only, so 5 is the max for the 12F509).
In the meantime, we have learned that this technique is called Charlieplexing. So we weren't the first..