HOW TO – Drive a lot of LEDs from a few microcontroller pins

Technology
HOW TO – Drive a lot of LEDs from a few microcontroller pins

15163Abb887994B8277Ea697.Large
Westfw writes – “Using the fact that many microcontroller pins have three states (+V, GND, or “high impedence”, you can drive N*(N-1) LEDs from N pins. So the little 8 pin microcontroller like a PIC12Fxxx or an ATtiny11 can drive 20 LEDs on its five available output pins, and still have one pin left for some kind of input.”Link.

Discuss this article with the rest of the community on our Discord server!
Tagged

current: @adafruit - previous: MAKE, popular science, hackaday, engadget, fallon, braincraft ... howtoons, 2600...

View more articles by Phillip Torrone

ADVERTISEMENT

Ready to dive into the realm of hands-on innovation? This collection serves as your passport to an exhilarating journey of cutting-edge tinkering and technological marvels, encompassing 15 indispensable books tailored for budding creators.

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK