Led matrix long display – daisy chain

I want to make a long display with scrolling text, with multiple of these MAX7219 led matrix modules.

I need this:
https://github.com/JonA1961/MAX7219array
->
git clone https://github.com/JonA1961/MAX7219array

test the demo: ImportError: No module named spidev

Ah.
http://www.100randomtasks.com/simple-spi-on-raspberry-pi

Make sure you have python-dev package and do:

mkdir python-spi
cd python-spi
wget https://raw.github.com/doceme/py-spidev/master/setup.py
wget https://raw.github.com/doceme/py-spidev/master/spidev_module.c
sudo python setup.py install

test the demo.

VoilĂ .

The last connected module on the chain is the first one of the display (most left)

By default the code is set for 8 modules, to change that edit the config in MAX7219array.py
NUM_MATRICES

Note that in the demo code there is also hardcoded stuff assuming 8 matrixes.

This entry was posted in Uncategorized. Bookmark the permalink.