8x8 LED Matrix expansion board - DIY
-
You can made this expansion board using cheap and ready-to-use LED module like this $1.5 item
For schematic diagram and printed board drawing please visit project page at EasyEDA
Also you can download the python program (file matrixtest.zip attached to project) as small sample how to to use SPI python module with MAX7219 integral led driver. For more clear understanding how it work refer to datasheet of MAX7219.Important hardware notice: Omega2 CLK line very sensitive for outside parasitic capacitance, so special "1-line bus buffer" integral circuit used for this outgoing signal. Without this smal IC your Omega2 may work very unstable - remember this issue for your future projects!
-
@Valeriy-Yatsenkov Nice project! I see you are using SPI with your LED matrix. Others here have had much trouble with SPI ... which version of Omega firmware are you using? You found that using the M74VHC1GT125DT1G buffer CMOS logic level shifter IC on the CLK line cleans the signal. Too bad there isn't a pin version ie breadboard friendly version of this IC. I'm curious how you decided to try this buffer chip?
-
@Ken-Conrad My Omega's firmware version is 0.1.9 b149 and I never had a software problem with basic SPI functions (but I did not try to record a really long sequence of bytes - there was no need). Only hardware issue with weak CLK output was founded. Sometime it seems like unstable Omega booting process when SPI device connected, sometime unstable or impossible reading/writing to SPI device. The reasons to use M74VHC1G... in final project was: 1) very small size, possible to put it under module board; 2) small input capacitance and very fast logic; 3) very cheap and popular. For breadboard mounting and experiments I use some chips in DIP packages such as 74HC125 or 74HC244N. The letter H means "High speed" - is what we need.
-
@Ken-Conrad It works, because the address-byte's value is never 127 or higher, nor is ever more more than 16 bytes transferred in a single go, and thus he never hits the bug.
-
@Valeriy-Yatsenkov Thanks, I appreciate your explanation. I decided to add this buffer chip to my next parts order, it seems useful to try on questionable digital lines.
@WereCatf I see, sounds like a fast NYC roach.
-
can this be used to run a 16 x 32 full color panel?
-
@Michael-Hebert if you mean panel like this https://www.adafruit.com/product/420 then I think you can not. This is not SPI device but "12 16-bit latches that allow you to drive the display with a 1:8 scan rate." as described by Adafruit. Also, "Keep in mind that these displays are designed to be driven by FPGAs or other high speed processors: they do not have built in PWM control of any kind." "you'll need 12 digital pins, and about 800 bytes of RAM to buffer the 12-bit color image." Without own driver/controller this panel is silly device.
As an idea only - try to use Arduino based board and Adafruit library as panel controller, and Omega2 as main unit and communicate them using SPI, I2C or UART.
-
Is it possible to add another LED module?