8x8 LED Matrix with MAX7219 - troubleshooting (how to connect HL-M1388BR)

If you bought a LED Matrix 8x8 on Aliexpress (or somewhere else) and when you turn it on - ALL LEDs ARE ON and YOU NOT ABLE TO CONTROL LEDs – you have bought the incompatible :roll_eyes: LED matrix module. Chinese sellers do not see the difference between the common cathode (HL-M1388AR) LED matrix and common anode (HL-M1388BR) LED matrix. This PCB designed for common cathode LED matrix module. But the LED Matrix on it (HL-M1388BR) - is common anode LED matrix module. Do not worry, it can be fixed – just rewire it properly:

If you did everything correct - it will work as it should!

Sure, it does not look as elegant as before, too many wires - but it works! I hope it will help you! Good luck! :wink:

HL-M1388BR.pdf (443 KB)

SharoV: Chinese sellers do not see the difference between the common [u]cathode/u LED matrix and common [u]anode/u LED matrix.

Well, if your principal business is selling pens, iPhone cases and sexy lingerie, you may not be in much of a position to perform testing and Quality Control on electronic things.

SharoV: Chinese sellers do not see the difference between the common [u]cathode/u LED matrix and common [u]anode/u LED matrix.

There are 8 sets of anodes and 8 sets of cathodes in both, either way. See them as rows, turn the thing 90-deg and they're columns and vice versa - they're squares. Caveat emptor (Nihil assumere.)

[quote author=Runaway Pancake link=msg=2461699 date=1446518958] There are 8 sets of anodes and 8 sets of cathodes in both, either way. See them as rows, turn the thing 90-deg and they're columns and vice versa - they're squares. Caveat emptor (Nihil assumere.)

[/quote]

This is exactly what I did - but illustrated and easy to understand :sunglasses:

Hello,

For starters, I’m a newbie so please excuse the fact that I’m not very knowledgeable.

I’ve been playing around with LED Matrix’s and Max7219 chips as separate components. I got everything going without too much trouble. Then I saw these modules and thought it was a great way to daisy chain a number of these without having all of the wires connecting the LED Matrix to the Max 7219 chips.

So, I bought 5 of these modules on eBay. Yep. 5 of them.

What I noticed was that the first time I powered the arduino with these modules attached, even before I had a chance to upload the program, a number of LED’s were lit in a pattern. I then uploaded the program and it had no effect.

I’ve attached a photo showing the LED pattern.

Now, I don’t know whether this issue is the same as yours. However, I have a couple of common cathode LED Matrix’s. So, in the hope that the issue I am having is the same as yours in which you describe the LED Matrix board being set up for common cathode but the LED Matrix on the board being common anode, I took the LED Matrix off the board and replaced it with what I know to be a common cathode LED Matrix. Unfortunately, that didn’t fix the issue. Instead I had different LED lights being lit and not being able to change the LED’s through the program.

So, I don’t know if it is a common anode LED Matrix attached to a Common cathode board or vice versa or something else entirely.

All I know is that I just expected it to work.

I plugged the VCC on the board to 5V on the arduino.
I plugged the Gnd on the board to Gnd on the arduino.
I plugged the DIN to pin 2 on the Arduino
I plugged the Load/CS to pin 3 on the Arduino.
And I plugged the Clock to pin 4 on the Arduino.

It;s great that you got things working. However, for me it kind of defeats the purpose if I end up with
a whole bunch of wires connecting the board to the LED Matrix as the reason I got the module was because it represented a clean way for me to play around with a number of LED matrixes without the bother of having heaps of wires.

Is there another way I can get these modules to work?
Should they have worked when I took out the LED Matrix on the board and replaced it with a common cathode LED Matrix if the issue was the same as your issue?

I’m actually quite surprised that these items are sold without any quality control. It might be okay for a seasoned person who can work around the issue and find a solution. However, as a newbie, this pretty much leaves me lost at sea and with no other option but to just write the cost of these modules off as money down the drain.

I’ve attached two pics. One is me getting two of these LED Matrix’s to work the old fashioned way with two Max7219 IC’s and all the wires connecting them. The second pic is what is appearing on these LED Matrix Modules I bought. It’s the same collection of LED’s appearing in all five modules.

Cheers

Tony

f345c3d4958c950769ce5567a719f049234c2464.jpg

4e1f6221339cb3ef9dfab4697c8365a1f9759c66.jpg

Well, this was most (very) recently discussed here. Please read my comments. As best I can interpret it, you may simply have both the inappropriate version of the display purchased with the modules and those you obtained separately. Note that it is entirely misleading to refer to the matrix displays as "common cathode " or “common anode” (even if the datasheet does so) as this simply fails to meaningfully describe their configuration.

Do please note though when using these modules (or MAX7219s in general if the display is any distance from the MCU), you need a pull-up resistor (10k or 47k will be fine) on ~CS. Your first picture suggests that problem.


Oh yes, you bought the wrong modules for daisy-chaining. You want these.