If you want to read more on direct drive solutions please see my posts here (clock using direct drive 7segment led ) or dotmatrix (external link) and pin connections and fonts
It needs only 3 pins from the microcontroller/arduino/raspberry pi to control the entire display. It is available in the form of low cost kits / can order the individual chip-set. Kits are pretty easy to assemle (see figure)
Assembly
MAX7219 kit components |
The assembled led matrix is shown below
Assembled max 7219 led matrix (see the text on led array facing the bottom) |
Quickly test the led matrix on arduino
I used the library Maxmatrix which can be downloaded here (unzip and copy the MaxMatrix folder to arduino/library folder. Load the example sketch to test the scrolling text pattern. (remember to set the number of led matrix if you use more than one and also the pin numbers). The connection is quite simple. I used
int data = 8; // DIN pin of MAX7219 module
int load = 9; // CS pin of MAX7219 module
int clock = 10; // CLK pin of MAX7219 module
So change to what ever pin you intend to use and also if you use more matrices , connect DOUT to the next matrix and the rest are parallel.
Usage on the Raspberry pi -> i followed the guide here
No comments:
Post a Comment