P4-1921-64x32-8s matrix board

Hi everyone, I m really struggling, i have been trying for a few months and im losing the will to live. Im a newbie to all this.

I am struggling to get this panels to work with audrunio, infact esp32, uno amd mega will not work. I have tried, all as far as i can see, codes, and project on here and just losing battle.

Can someone help clairfy which one will work amd what tweaks it needs?

You'd show us your code and full wirings first.

Then, ever seen (and tried) what is described on this Instructable?

Hi @mattw87
Your problem is clear.
Most of arduino examples and libraries are for "standard" HUB panels where the scan number is a half of panel height (ie 64x32 s16).
Your panel is different since has a scan as quarter of the height.

There are a very few libraries that can control such panels:

  1. ESP32-HUB75-MatrixPanel-DMA - generally for "standard" panels only, but can "tweaked" to support non-standard ones
    GitHub - mrfaptastic/ESP32-HUB75-MatrixPanel-DMA: An Adafruit GFX Compatible Library for the ESP32, ESP32-S2, ESP32-S3 to drive HUB75 LED matrix panels using DMA for high refresh rates. Supports panel chaining.

  2. GitHub - 2dom/PxMatrix: Adafruit GFX compatible graphics driver for LED matrix panels - supports some non-standard panels

  3. GitHub - board707/DMD_STM32: STM32Duino library for RGB, Monochrome and Two-color led matrix panels - can be setup for non-standard panels, but works on STM32 and RP2040 boards only

So i have the same problem with the 32x16 1/4 scan boards due to the same issue. Can amyone help provide the right code knowing that the chipset is ICN2038S amd decoder 138. Attached is information from the board. The board being p8-3535-32x16-4s.


Please explain your problem with more detail. Does the panels not works at all (no pixels on the screen) or it works, but pixels lits in incorrect order?

I am working with HUB panels on STM32 and RP2040 arduino boards, using the last library from the list above - DMD_STM32. I could help you to setup your panels to work with this library.

If had someone try to help me as im not the brightest at this. There is an issue with multiplexing I believe. They have managed to get one led to light up but it only moves along 4 leds then jumps down 4 lines moves 4 leds and repeats. I could up load the code etc.

Helping get it working would be great, they are outdoor panels i have 3 boards in need to work in parallel then to display scrolling text.

Sounds good, it is definitely multiplexing problem. What board and library did you use?

What you means as "parallel" ?
Usually panels chained one by one.

Yes 3 chained one by one in a row sorry. The library used was RGBmatrixPanel.h I know he made some changes in the .cpp file. It's starting to get out of my death I assumed I purchased the panel and download the library, plug a controller in and away I went lol

TESTING_P10RGB.ino (1.1 KB)
RGBmatrixPanel.cpp (31.1 KB)

I have attached the program, I am not sure what the program does, it was typed as a test, also I have added the .cpp that's been edited, I will try and upload the video of result.

result

I did try working with the library (option 2 which you provided) I felt this is the best match but I can do the tweaks, to hard for me. Happy to watch, be guided etc, I am desperate :slight_smile:

I slightly edit the code. Run it and show the video

#include <RGBmatrixPanel.h>

#ifdef __AVR_ATmega328P__  // Check if ATmega328 is being used
#define CLK 8
#elif defined(__AVR_ATmega2560__)  // Check if ATmega2560 is being used
#define CLK 11
#else
#define CLK 21
#endif

#define OE 13
#define LAT 23
#define A 27
#define B 19
#define C 14


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

void setup() {
  Serial.begin(115200);
  matrix.begin();
  matrix.setTextWrap(false);
  matrix.setTextSize(2);

  pinMode(OE, OUTPUT);
  pinMode(LAT, OUTPUT);
  pinMode(CLK, OUTPUT);

  matrix.fillScreen(0);
}

void loop() {
  for (int j = 0; j < 16; j++) {
    for (int i = 0; i < 8; i++) {
    
      matrix.drawPixel(i, j, matrix.Color888(0, 0, 255));
      delay(30);
     
    }
  }
  delay(200);
  matrix.fillScreen(0);
 
}

PS It is not the solution, just a test

Its currently got esp32 conneted, keep that or swap to uno/mega?

The library doesn't matter.
Try to run this code, change the methods if need

This code gave this result

20240404_160928.mp4 - Google Drive

Not sure if it helps but I do have the led layout... I will post it anyway, it may help.

According to the video, It is not a multiplexing, sorry.
Your panels has a specific driver. See this link

I think it will be difficult to run it on standard libraries.

Im stuck! I wonder if there is a way to connect the HC-06 bluetooth module to the main controller that came with the boards. The controller amd boards work well just the app is shocking and i wanted to make a new app to limit use to other users of the board. Or manybe adapt the app somehow or learn how the app talks to the controller to make new app.