P4(1921)-80x40-10S-V20 matrix and the SmartMatrix library

Does anyone have experience with the P4(1921)-80x40-10S-V20 matrix and the SmartMatrix library?

I am using an ESP32 without an external latch and custom pinout to HUB75 with another similar matrix - P4-2121-80x40-20S-HT1.0, for this I needed to add a new linear SM_PANELTYPE in MatrixCommonHub75.h file with the parameters:
MATRIX_PANEL_HEIGHT 40
ROW_PAIR_OFFSET 20
MATRIX_SCAN_MOD 20
COLS_PER_PANEL 40

With these parameters, this module worked well, but I need to connect the aforementioned P4(1921)-80x40-10S-V20, instead (in all likelihood, MATRIX_SCAN_MOD should be 10 for it). It is built on SM16208SC chip.
I’ve tried iterating through all the options, but I can’t seem to find a working set of options.

Please help me choose the right parameters.

Thanks in advance

I’m experiencing something very very similar with my 96*48 panel running on a 6124D chips and a Teensy 4.1 & V5 shield.

I’m hoping someone sees this soon.

SOLVED!
For my matrix P4(1921)-80x40-10S-V20 in MatrixCommonHub75.h file added new SM_PANELTYPE - SM_PANELTYPE_HUB75_40ROW_80COL_MOD10SCAN with parameters:
MATRIX_PANEL_HEIGHT 40
ROW_PAIR_OFFSET 20
MATRIX_SCAN_MOD 10
COLS_PER_PANEL 80

And in file MatrixPanelMaps.cpp for SM_PANELTYPE_HUB75_40ROW_80COL_MOD10SCAN case added map:

const PanelMappingEntry panelMap80x40Mod10 =
{
{0, 7, -8},
{0, 23, -8},
{0, 39, -8},
{0, 55, -8},
{0, 71, -8},
{0, 87, -8},
{0, 103, -8},
{0, 119, -8},
{0, 135, -8},
{0, 151, -8},
{10, 8, 8},
{10, 24, 8},
{10, 40, 8},
{10, 56, 8},
{10, 72, 8},
{10, 88, 8},
{10, 104, 8},
{10, 120, 8},
{10, 136, 8},
{10, 152, 8},
{0, 0, 0}
};

All works well

Regards

P.S.
For the matrix P4-2121-80x40-20S-HT1.0, a new SM_PANELTYPE - SM_PANELTYPE_HUB75_40ROW_80COL_MOD20SCAN has been added to the MatrixCommonHub75.h file with the following parameters:
MATRIX_PANEL_HEIGHT 40
ROW_PAIR_OFFSET 20
MATRIX_SCAN_MOD 20
COLS_PER_PANEL 80 //here is my mistake in the main post - sorry please

And in the MatrixPanelMaps.cpp file for SM_PANELTYPE_HUB75_40ROW_80COL_MOD20SCAN case has been added:

const PanelMappingInput PanelMap80x40Mod20 =
{
{0, 0, 80},
{0, 0, 0}
};

P4(1921)-80x40-10S-V20 is an outdoor module, when P4-2121-80x40-20S-HT1.0 is indoor, the first one is built on 60 pcsSM16208SC chips, and the second one is built on 30 pcs FM6124 chips, these chips seem similar, but the first matrix makes 2 times more scans, and as a result, it is brighter. Therefore, the architecture of the modules is different, which requires different pixel mapping.

Good luck to all!

1 Like

Please recall where the format of such a lookup table is described?

In example MultiRowRefreshMapping

hello @Irakli_Jibladze i have P4 84*40 panel and want connect to esp8266 can use same libary that u use ,can you share your code and wiring