Chaining two 32x64 RGB LED matrices with Arduino Mega (without the two mirroring)

Hello,

I am currently trying to chain together two 32x64 RGB LED matrices ([64x32 RGB LED Matrix - 4mm pitch : ID 2278 : $39.95 : Adafruit Industries, Unique & fun DIY electronics and kits]). The goal is to have one display a shape while the other is off and vice versa. However, right now I can only get the panels to mirror each other when I chained them together. I am currently using an Arduino mega. I included a simple code I am using below and pictures of the set up. If anyone knows a way I can get these panels to act independently that would be a great help!

#include <RGBmatrixPanel.h>

#define CLK  11   
#define OE   9
#define LAT 10
#define A   A0
#define B   A1
#define C   A2
#define D   A3

RGBmatrixPanel matrix(A, B, C, D, CLK, LAT, OE, false, 64);


void setup() {

  matrix.begin();

  matrix.fillRect(0, 0, 20, 20, matrix.Color333(7/7, 7/7, 7/7));
  delay(1500);

}

void loop() {
  // Do nothing 
}

I have no experience with those displays but I am going to guess that you need to change 64 to 128.

If that's not it then I'll be interested in knowing what the correct answer is.

First of all I clarify that I have not worked with those matrices, maybe I say something nonsense.

Haven't you tried connecting the boards in parallel but using different OE pins for each board?

2 Likes

Can you clarify please? If one or the other panel is off, they are not truly acting independently, they could be receiving the same data but one is disabled. This could be done using the OE pins, as suggested by @MaximoEsfuerzo

Hi, the RGBmatrixPanel.h library doesn't support panel chaining

To control panels independently you need a panel chaining, therefore choose another library - SmartMatrix, ESP32-HUB75-MatrixPanel-DMA or DMD_STM32

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.