RGB Matrix HUB08 Arduino Mega Problem

HI, i have the folowing RGB Matrix Panels.

P16 Outdoor HUB08 Connector. The Panels have 20x10 RGB Pixels (3xLED 1R1G1B)

I try to Power them with an Arduino Mega 2560 but i have no Success.
I alway get an distorted Text splitted in half and the Lower half is not alligned with the Top Part

I have no clue how to solve my Multiplexing Problem.

Assuming board memory is adequate, write a few test functions for an awareness of the layout.

  1. Light the four corners (different colors for RGB, different blink rate for monochrome)
  2. On then off, from the zeroth to the last
  3. light first and last of each row.
  4. light first and last of each column.
  5. Map a potentiometer from first to last

Please show your code. What's library do you using?

Hi,

here is my test Code:

#include <RGBmatrixPanel.h>

#define CLK 11 // USE THIS ON ARDUINO UNO, ADAFRUIT METRO M0, etc.
//#define CLK A4 // USE THIS ON METRO M4 (not M0)
//#define CLK 11 // USE THIS ON ARDUINO MEGA
#define OE 9
#define LAT 10
#define A A0
#define B A1
#define C A2
//#define D A3

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

void setup() {

matrix.begin();

// draw some text!
matrix.setCursor(11, 0); // start at top left, with one pixel of spacing
matrix.setTextSize(0); // size 1 == 8 pixels high

// print each letter with a rainbow color
matrix.setTextColor(matrix.Color333(7,0,0));
matrix.print('1');
matrix.setTextColor(matrix.Color333(7,4,0));
matrix.print('6');
matrix.setTextColor(matrix.Color333(7,7,0));
matrix.print('x');
matrix.setTextColor(matrix.Color333(4,7,0));
matrix.print('3');
matrix.setTextColor(matrix.Color333(0,7,0));
matrix.print('2');

// whew!
}

void loop() {
}

I have to set the Cursor on 11 because the Visual Area starts here.

Here i try to show the resulted Are i can use.:

The Red Area means this is the adressable Space i am controlling but the Green Area are the Panels. So if i want to Start to Position 1 i have to Jump to 11 and overjump the first 10.

To go to Pos 1 in the 2nd Panel i also have to overjum 4 digits.

Maybe all the Pros are now laughing. But i am not the Master Pro :slight_smile:
so pleaseee.. Help i do not want to throw away 10 Panels. :slight_smile:

Where the pins R1 G1 B1 are connected? I didn't see it in the code.

The library RGBmatrixPanel.h is incompatible with HUB08 panels. To do it correct way, you have to redraw the whole library.

But you can first try to adapt it with small changes. Try to run a code that will light up the panel pixel by pixel along horizontal lines starting from the upper left corner and show the result in the video.

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