Communicating With An LED Matrix

Most of the LED matrix posts we run delve into the hardware design. This time around [J Bremnant] used prefab modules and focused on writing code to address the display. The hardware combines two 24×16 LED boards from Sure Electronics with a Teensy 2.0 to drive the display and provide a USB connection. The firmware comes in just under 8k, leaving graphic manipulation up to a PC.

[J Bremnant’s] Python script offers a lot of flexibility when working with the display. There are three modes selectable through a terminal interface. One just tests the display and then drops into Conway’s Game of Life. The second mode lets you send commands via serial interface so it can be used as a message ticker. The final feature is frame addressing that allows graphics to be dropped into the display. See each of these featured in the video after the break.

[youtube=http://www.youtube.com/watch?v=Yuv5SUVp5ik]

9 thoughts on “Communicating With An LED Matrix

  1. I have a few of these Sure displays, and they’re great for the price. I made a stock ticker + weather report + user-defined message display with a web interface.
    I googled a bit and found that signage like this can be pretty expensive. I was going to go around to some local business and see if I could sell some and make some easy money. As Erik mentioned, however, they’re not extremely bright, and you probably wouldn’t even be able to read it through a store window on a sunny day. Great for indoor use, though.

  2. I wanted to pick some of these up – looks awesome. 200fps at full random graphical updates is awesome in that you could easily do 25fps @ 8 levels of brightness faked software pwm.

  3. @NatureTM/Frollard
    Right, these boards have brightness control via pwm generated from ht1632 driver chips. Since it’s done from that chip, I probably won’t lose fps. It’s just a matter of sending the board right serial command, which is already implemented in the C code (I just haven’t used it yet).

Leave a Reply to jbremnantCancel 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.