mrcodetastic/ESP32-HUB75-MatrixPanel-DMA

p4 64x32 1/8 problem.

NazarDoeH opened this issue · 29 comments

Hi, I'm having issues with the 64x32 1/8 matrix. I've tried multiple libraries, but they don't work. This library works somewhat, but not without issues.

video_2024-04-16_17-23-14.mp4

photo_2024-04-16_17-27-38
photo_2024-04-16_17-27-30

#define PANEL_RES_X 32 // Number of pixels wide of each INDIVIDUAL panel module.
#define PANEL_RES_Y 32 // Number of pixels tall of each INDIVIDUAL panel module.

#define NUM_ROWS 1 // Number of rows of chained INDIVIDUAL PANELS
#define NUM_COLS 1 // Number of INDIVIDUAL PANELS per ROW

For 1/8 matrix you need to setup the virtual panel with double width and half of height than your real dimensions,
So for 64x32 try to setup

#define PANEL_RES_X 128 // Number of pixels wide of each INDIVIDUAL panel module.
#define PANEL_RES_Y 16 // Number of pixels tall of each INDIVIDUAL panel module.
video_2024-04-16_18-40-14.mp4

That's for:
#define PANEL_RES_X 128 // Number of pixels wide of each INDIVIDUAL panel module.
#define PANEL_RES_Y 16 // Number of pixels tall of each INDIVIDUAL panel module.

It looks like you have a problem with connection of one of A B C pin

video_2024-04-16_19-17-55.mp4

That's connected to the correct pins.

I've tried multiple libraries

Did you work with STM32 or RP2030 boards?
Do you ready to test your panel with yet another library?

I worked with an STM32. But at the moment, I don't have any such boards. All I have are esp32 and esp8266.
Also, I have already tried to run on some other libraries, such as PxMatrix, ESP32-P3RGB64x32MatrixPanel, and SmartMatrix.

if you come across a stm32 or rp2040 board, you can try DMD_STM32 library.

Also, I have already tried to run on some other libraries, such as PxMatrix, ESP32-P3RGB64x32MatrixPanel, and SmartMatrix.

Did it work with these?

The panel has ICDN2037 driver and SM5166 switch - nothing special. It should works with any of these libraries. The issue, probably, is in the multi-line coordinate pattern.
Another option - the panel is just broken. However, in the first post we can see a picture with a full panel working - so I think panel is OK

@NazarDoeH
Do you ready continue the tests? Could I ask you to run the code?

Hi @board707. I'm not at home now and won't be back until tomorrow. I'll write to you as soon as I can.

Hello everyone, I have a problem with this library. I use four 32x32 1/8 panels, when I chain them into a single row (i.e. NUM_ROWS = 1 and NUM_COLS = 4) everything works perfectly!!! But as soon as I change the chaining configuration to NUM_ROWS = 2 and NUM_COLS =2, only the first row works correctly, the second does not display anything at all as if it were simply disconnected.

It is a known problem, look at the comments to issue #624
To resolve it, you need to edit a VirtualMatrix header file

thank you very much @board707, I made the adjustments and everything works