A Charlieplex Display And A Board Layout Tip

[Ben] is getting himself up to speed with microcontrollers. He jumped into the deep end by taking on this Charlieplex LED matrix build. As you can see after the break, he not only made the display work, but coded Conway’s game of life to run on the ATtiny85 that drives the device. What you see above is the prototype version that [Ben] used to make sure he had the hardware just right. He’s seeing the project through to a manufactured board and this is where the layout tip comes from. In order to make sure he had enough space for all of his components he printed out the board artwork, taped it to some Styrofoam, and then inserted all of the through-hole parts. Now he can be sure that physically the design works, we’ll keep our fingers crossed that everything is also kosher electrically.

7 thoughts on “A Charlieplex Display And A Board Layout Tip

  1. Yup, you can control a lot of LEDs the higher you go. If you have X wires, you can control (X*(X-1)) LEDs… so 5 wires = (5*4) = 20 LEDs. But you can only light one at a time. I imagine if you try to run too many at once you might see some flicker.

  2. @Ben : The flickering really isn’t an issue. However, “ghosting” can be an issue (ie, extra LEDs dimly lighting). Furthermore, if one LED fails, you’re boned.

    With regard to strobing LEDs, its perfectly fine if the refresh rate is high enough. Simply make the pulses brighter, and you can decrease the pulse width required. A lot of LEDs have specifications for driving w/o a resistor at a certain PWM width (such that the self-heating due to internal resistance is within specs), which means you can maximize brightness for a short pulse, perfect for strobing.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.