LED Life and Charlieplexing

posted Oct 24th 2008 5:04pm by
filed under: led hacks, misc hacks


Yesterday, we featured [Andrew]‘s orientation aware camera. We want to highlight another one of his projects: LED Life. It’s a 6×5 LED matrix playing Conway’s Game of Life. He used the low power MSP430 like our e-paper clock. The best part of the writeup is his explanation of how Charlieplexing works. Microcontroller GPIO pins generally have three possible states: output high, output low, and input. This combined with the directional nature LEDs and some creative wiring means you can run a large matrix of individually addressable LEDs with just a few IO pins. Instead of just flipping the IO pins on and off you change their assigned state. Have a look at [Andrew]‘s site for some great illustrations of how the system works. A video of his LED Life board is embedded below.



7 Responses to LED Life and Charlieplexing

  • pip says:

    Yay!! More wasting electricity!

    o.o

  • Fwirt says:

    Cool idea… I actually thought that this instructable had a more complete explanation of how charlieplexing works:
    http://www.instructables.com/id/Charlieplexing-LEDs–The-theory/

  • amk says:

    uhoh … better duck eliot. last time i mentioned charlieplexing in comments I was beaten with the “not a hack” stick.

  • tony says:

    Thats a really interesting way to use the GPIO of a MCU. I would have never thought to utilize the input state to control an output.

  • pc486 says:

    andrew had issues bending plastic, but my favorite plastic provider offers a kit and an instructional video on how to make really good looking bends:

    http://www.tapplastics.com/info/video_detail.php?vid=6&format=quicktime

  • gyro_john says:

    Charlieplexing – that’s my free education for the day. Thanks a lot for posting this.

  • Someone says:

    This charlieplexing is very interesting, only drawback seems to be that he only turns on one LED at a time. Of course (he mentions it) he could lit up more than one at a time, but probably this will soon draw too much power. Amplifier stage would be necessary then (and a more complex one than for normal matrix multiplexing), killing the simplicity of the design.

  • Leave a Reply

    XHTML: You can use these tags: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

    Send us your hacks










         




    Hacks

    Resources