ESP32-HUB75-MatrixPanel-DMA icon indicating copy to clipboard operation
ESP32-HUB75-MatrixPanel-DMA copied to clipboard

Looking for help: How to adapt code to asimetric display

Open PeperonyPizza opened this issue 1 year ago • 19 comments

Overview

I would like to ask for help I have custom triangular panels for the robot, and I would like to use this repository to stream information from the PC to these panels. I have connected ESP to the panel, but when I try the PIO example I can only get the Red, Yellow and White to show up

https://github.com/user-attachments/assets/f674bc86-5fd6-4be5-a8ba-1c416aac7539

after this, the panel stays white with some static streaks of different colors.

Image I also sometimes get just random colors.

These are the components on the LED panel SM16389N under it, smaller text AJBJSKAD1 SM5369NS under it, smaller text AQCIQDAE15

2303031730_Shenzhen-Sunmoon-Micro-SM16306S_C2830324.zh-CN.en.pdf Note: found these datasheets using Perplexity, so I´m not sure if they are correct

74HC245KAJ under it, smaller text NHT323000

2311161805_Shenzhen-Fuman-Elec-74HC245KAJ_C19192982.zh-CN.en.pdf

I´m not sure about the scan rate The size of one panel is 37*156px

Help needed

I want to try to adapt this repo so I can use it with these panels. Can somebody help me or point me where to look at?

PeperonyPizza avatar Jan 28 '25 13:01 PeperonyPizza

These are the components on the LED panel SM16389N SM5369NS

Are you sure in these numbers? If so, why do you read a datasheet for SM16306 driver?

Could you show a clean photo of the panel rear side?

board707 avatar Jan 28 '25 13:01 board707

@board707 Yes, I´m sure, And because it was the closest I could find.

PeperonyPizza avatar Jan 28 '25 13:01 PeperonyPizza

rear side of the panel Image

closeup of the chips Image

PeperonyPizza avatar Jan 28 '25 13:01 PeperonyPizza

Very interesting panel. What setting did you use when you run an example with single color?

board707 avatar Jan 28 '25 13:01 board707

I only changed PANELS_NUMBER To 1 and NUM_ROWS, NUM_COLS to 1 i also tried changing mxconfig.driver = HUB75_I2S_CFG::FM6124; to all of the available ones but without success, on SM5266P it wasn´t working at all and DP3246_SM5368 was just white with some pattern

PeperonyPizza avatar Jan 28 '25 14:01 PeperonyPizza

What's panel dimensions did you use?

board707 avatar Jan 28 '25 14:01 board707

I left it on 64x64, I also tried changing it before, But I would always get similar results, eighter I would get a colorfully panel like on top or some random streaks of different intensity, or if I put a small number, I think less than 10, it would not work at all

PeperonyPizza avatar Jan 28 '25 14:01 PeperonyPizza

I´m also looking at thru current software that I´m using for control of this LED panels via Controller and found this Driver IC: SM16389SF Scan IC: 5369 DECODING Scan lines: 52

Image

Software is Autoled, controller is MC75E

PeperonyPizza avatar Jan 28 '25 14:01 PeperonyPizza

The label near the HUB75 connector says that it has a "37x156 s52" format. Real panel width is 155 pixels on base and 38 pixels height in the highest point. It means that the panel should use a very weird pixel pattern.

board707 avatar Jan 28 '25 14:01 board707

Driver IC: SM16389SF

I am afraid that this driver is unsupported by the library.

board707 avatar Jan 28 '25 14:01 board707

I am afraid that this driver is unsupported by the library.

What would I need if I wanted to make a driver for it? or is there a way to adapt the current ones?

PeperonyPizza avatar Jan 28 '25 14:01 PeperonyPizza

What would I need if I wanted to make a driver for it?

First of all - you need the datasheet of that specific driver. I didn't found it in the net.

board707 avatar Jan 28 '25 14:01 board707

The only one I can find is on this page https://www.linkage.cn/xianshiping/620.html and this one should be similar https://www.linkage.cn/uploads/allimg/20231204/2-231204161K1114.pdf

PeperonyPizza avatar Jan 28 '25 14:01 PeperonyPizza

Leaving aside that the 16389 and 16380 drivers might be different - the datasheet of the last one, SM18380, is not complete. Protocols of new Chinese drivers, the so-called PWM type, are a commercial secret and datasheets for them are not publicly available or are distributed in a truncated form without descriptions of the protocol and configuration.

board707 avatar Jan 28 '25 15:01 board707

Protocols of new Chinese drivers, the so-called PWM type, are a commercial secret and datasheets for them are not publicly available

So no luck for me I guess, but I will try to ask the supplier for the datasheet

PeperonyPizza avatar Jan 28 '25 15:01 PeperonyPizza

Do you really need panels of this shape? If not, it would be much easier to buy another panel than to try to run this one

board707 avatar Jan 28 '25 15:01 board707

Yup, I need to Use this specific panel

PeperonyPizza avatar Jan 28 '25 16:01 PeperonyPizza

just by looking at the image of the backsite I can tell this works quite different. Normal panels have shift registers to fill the lines and addressing chips to convert the ABCD(E) line selektor to a specific line. So there is like no change this panel will work with this library

Lukaswnd avatar Feb 04 '25 12:02 Lukaswnd

SM16389SF_ZIGOQZZV1.0_EN_2025.2.7.pdf SM5369PS_ZWGGSZAV1.0_EN_.pdf

I got datasheets from manufacturer

PeperonyPizza avatar Feb 12 '25 08:02 PeperonyPizza