Duplicated Row on RGB Matrix 64x32

Hi,

I have a project using RGB Led Matrix 64x32. I have a problem with duplicated row on that RGB matrix. When I tried to lit a pixel in row 0 coloumn 0, it is duplicated to row 7 coloumn 0.

Even if I used the example from the library, it's row duplicated.

Here is my reference:

The libraries that I used:

  1. RGB Matrix Panel Library
  2. Adafruit GFX Library
  3. Adafruit BUS IO

my Hardware
Arduino Mega 2560

Note: I have no issue in Hardware wiring. All wiring are good, based on the reference.

Can you help me please?

Thank You.

@happy_sholihul_fathoni, your topic has been moved to a more suitable location on the forum. Some people with the knowledge about displays only hang around in the display section so this will give a little more exposure.

Hi, @happy_sholihul_fathoni
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".

Can you please post the example and a schematic for you project please?

Thankls.. Tom... :smiley: :+1: :coffee:

  1. List item

Those of us who have been answering questions for some time know that when someone says something like that then that's the first place to look for a problem.

Please post a schematic as per the instructions from Tom, some photos would help too.

@sterretje Thank You for moving my topic to suitable location.

1. My Circuit:

2. Result:
I read temperature from MLX90614. The temperature can be displayed in Led matrix. but it's duplicated. Even if I try with the example of the library, it is duplicated too.

Could you explain to me why the row is duplicated please? thank you.

OK, I just uploaded both schematic and the result. could you explain to me why the row is duplicated?

Please share your code and the datasheet/link of your matrix.

(Wild guess: Running code for a 1/16 scan matrix with a 1/8 scan matrix)

Here is my code:

//------------------------------------------------------------------------------------
/*
Program Title : Body Temperature Detector RGB Version
Author : Happy Sholihul Fathoni
File Revision : 0
*/

#include <RGBmatrixPanel.h>
#include <Wire.h>
#include <Adafruit_MLX90614.h> //0x5A
#include "Arduino.h"

Adafruit_MLX90614 mlx = Adafruit_MLX90614();
float objecttemp = 0.0;
int calup = 31;
int caldown = 30;
float calibrate_temp = 0.0;

#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, D, CLK, LAT, OE, false, 64);

void setup() {
Serial.begin(9600);
matrix.begin();

mlx.begin();

}

void loop() {

matrix.fillScreen(0);
delayMicroseconds(1);
objecttemp=mlx.readObjectTempC()+calibrate_temp;
matrix.setTextSize(1);
matrix.setTextWrap(false);
matrix.setCursor(3, 0);
matrix.setTextColor(matrix.Color333(0,7,0));
matrix.print(objecttemp);
while(digitalRead(calup) == LOW){calibrateup();}
while(digitalRead(caldown) == LOW){calibratedown();}

}

void calibrateup(){
calibrate_temp=calibrate_temp+1.0;
delay(300);
}

void calibratedown(){
calibrate_temp=calibrate_temp-1.0;
delay(300);
}
//------------------------------------------------------------------

I can't find the datasheet of RGB led matrix that I used. but I can give you a picture:

The brand is --> EXDROID
the type is --> L-L2525MX-P5RGB

is the Led matrix 1/8 or 1/16 scan?
is the RGBMatrix Library run for 1/8 or 1/16 scan for 64x32 led matrix?

Where did you get the matrix? Maybe the seller has some information in his listing.

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

Using A-D suggests that the code is using 1/16 scan.

The supplier didn't know well about his RGB matrix.

If A,B,C,D means 1/16 scan, should I disable the D pin to make it 1/8 scan?

Dear All,

I have solved my problem. There are no issues in wiring nor the program.

The main problem is the hardware/RGB led matrix itself. When we buy new 64x32 led matrix, all are good. The new RGB matrix we bought is 1/16 scan. we ensure that to the supplier. And it is run smoothly.

For whoever find the issue about duplicated row in 64x32 matrix, ensure your RGB led matrix scanning value (1/8, 1/16 etc) match with the program.

Thanks all.

1 Like

I sometimes find it quite calming to step back through my wiring, testing and desoldering until I find the problem.

Maybe I’m just weird.

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