Hello everyone!
I’m new to the forum and this is my first post, so I hope I got all the forum’s rules right. ![]()
I’m stuck with a project and hope someone can help...
I have an Arduino Mega 2560 Rev3 board and three 64x64-pixel RGB LED matrix panels of an unknown Chinese manufacturer which are connected to the board and are latched to each other via the HUB75 protocol. The board and the panels have independent power supplies. The panels receive a supply of 5 volts and 10 amperes. There is no other hardware.
I need to display text (custom-made by me using graphics primitives) and a still image on the panels as they were one single display. This display has to be made by the three panels placed in a row forming a rectangular display 192x64 pixels big.
I tried, as a test, to use only one panel as the display and everything is working well. I tried each panel individually so I know they aren’t defective.
Then I tried to use three panels together as the display but I can’t make them work.
I tried with two different libraries to manage the panels.
The first library I used for my tests is DFRobot_RGBMatrix 1.0.1 (the latest available version) which I installed via Arduino IDE.
This is the sketch which uses this library:
#include <DFRobot_RGBMatrix.h>
DFRobot_RGBMatrix display(A0, A1, A2, A3, A4, 11, 10, 9, false, 192, 64);
void setup() {
display.begin();
}
void loop() {
}
As you can see, the sketch is very simple: it only creates the display object and initializes it with the .begin() method without doing anything else.
Despite this, when I run the sketch the panels switch on random pixels.
The second library I used for my tests was downloaded by a panel manufacturer’s website (not my actual panel manufacturer).
As far as I can tell (I’m only a junior programmer!
), this is a modified version of Adafruit’s RGBmatrixPanel library: the original library doesn’t have a constructor method for creating objects handling 64x64-pixel panels so such a constructor was added in the modified library. I guess there are other variations though...
This is the sketch which uses this library:
#include "RGBmatrixPanel.h"
RGBmatrixPanel display(A0, A1, A2, A3, A4, 11, 10, 9, false, 192);
void setup() {
display.begin();
}
void loop() {
}
Also in this case, the sketch does nothing special but only creates an object for the display and initializes it.
And also in this case, when I run the sketch the panels start flickering.
Since the library I used is not available via Arduino IDE, I tried to attach it (and all its dependent files) to this post but this action is not available for new users so I can’t provide you with its code in case you want to inspect it and I can’t copy the code inline as it’s very long. Please let me know how to do in case you need it.
I did other tests running both sketches with only two panels latched, instead of three, and modifying the code accordingly but the result is the same.
Any help would be vastly appreciated.
Thank you very much in advance.


