After building a few LED matrices from LED strip lighting and soldering a ton of connections, I decided to give these pre-fabricated LED matrix modules a shot. After a bit of research it turns out that using only a Raspberry Pi and a fully functional Library from the Legend Henner Zeller, you can accomplish just about anything. The cheap Chinese panels that we sourced are fitted with a HUB75 connector which is easily interfaced with a breadboard and some jumper wires or using the opensource Active-3 board, again designed by Henner. His library can be found here: Rpi-RGB-LED-Matrix Library – https://github.com/hzeller/rpi-rgb-led-matrix


Bill of Materials (BOM)

  • LED Matrix: http://www.aliexpress.com/store/1239156 (P5 32x32 modules with Hub75 are a good starting point.)
  • A Raspberry Pi 2 or 3
  • A breadboard and T-Cobbler RPI 40 pin Breakout (Just to make life easier! You can grab these from Adafruit.)
  • Alternatively build an Active-3 adapter for easier chaining of Matrix Panels. (See hzeller github page for more details.)
  • Some Jumper Wires
  • A sense of adventure.....

Code

Assuming you are semi-proficient with Linux and have installed Raspbian than you can follow along here. Otherwise you first need to setup your RPI and access the terminal/SSH interface. The guide here will get you up and with the “NOOBS” installation for your pi.

Install Henner Zeller’s LED Matrix library onto your Pi:
[crayon-59c45e422dd67471814687/]
Unzip the Archive:
[crayon-59c45e422dd75738039069/]
Once unzip completes you should then be able to view the directory and it’s contents:
[crayon-59c45e422dd7c357734897/]
You then need to compile the library by running the command:
[crayon-59c45e422dd81167786125/]
Once compiled, you can run the following command, this will give you an output of all the available switches:
[crayon-59c45e422dd87803338944/]
This command will output the following for your reference:
[crayon-59c45e422dd8d700254025/]
Now its time to get some output onto the panel. If you are running a singular 32×32 panel, you should be able to run the example without issue.
[crayon-59c45e422dd95280036894/]
If your panel is connected correctly and powered up you should see a scrolling image pass through the panel. With the example above it will only last 10 seconds. You can now begin to experiment with the above switches to see what output you can achieve.


Advanced

  • Output RPI GUI to Matrix Panels (Coming Soon!)
  • Output Twitter msg to Matrix Panels (Coming Soon!)
  • Use Pixelpusher Protocol on Matrix (Coming Soon!)

Media