Actions

How to drive many leds with a few io-pins

From Just in Time

Revision as of 23:50, 1 April 2012 by Danny (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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..