mrcodetastic / 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.
MIT License
942 stars 207 forks source link

Issue with 64x64 panel based on DP5125D and DP32020A #645

Open mzashh opened 3 months ago

mzashh commented 3 months ago

i got a new HUB75 Panel today and it does not seem to work properly with the library. The panel initializes fine and seems to display stuff but everything is mapped incorrectly and overlapping. the panel seemed to work more or less the same with different driver types, but it flickered with some the best one i found which worked is MBI5124 and I am using the same one in the below pictures.

also the panel is labelled as a QiangLi Q3

Here is the SimpleTestShapes demo (64x64)

simple_shapes

and here is the Plasma demo (64x64)

https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/assets/58217787/3a7ad8ec-2ff1-41e6-bb8e-baef87be240b

So i there any way I can drive this panel properly?

davemaster commented 3 months ago

Can You share a picture of your connections? E_pin present? Thanks in advance

mzashh commented 3 months ago

Can You share a picture of your connections? E_pin present? Thanks in advance

like my other 64x64 hub75 panel (which works fine cuz different driver) the E and D pins are either labelled as GND or NC and yes i have connected those and defined them in my code. i did a continuity test on them and D which is labelled as NC is not grounded while as E is grounded so either the input is ABC or ABCD, no E pin

board707 commented 3 months ago

I think, the problem is in the fact that DP32020A is a shift register miltiplexor - do you know how to work with it? By the way - what is the scan factor of the panel?

so either the input is ABC or ABCD, no E pin

sure, a three pins is enough for shift register

mzashh commented 3 months ago

I think, the problem is in the fact that DP32020A is a shift register miltiplexor - do you know how to work with it? By the way - what is the scan factor of the panel?

i am not sure how to work with it, the scan rate isn't mentioned either on the panel or where i bought it from but since the E pin is pretty much shorted to ground and D is no continuity to ground it is either a 1/16 or a 1/8 scan panel, pretty sure about 1/8 scan. i tried my code which works with my 32x32 1/8 scan panel but that does not work either. so it maybe a 1/8 scan but its wired pretty weirdly

i found this library https://github.com/ironsheep/P2-HUB75-LED-Matrix-Driver though it uses some proprietary hardware but it has support for DP5125D and states that the address is only ABC so 1/8 scan ig

board707 commented 3 months ago

since the E pin is pretty much shorted to ground and D is no continuity to ground it is either a 1/16 or a 1/8 scan panel, pretty sure about 1/8 scan.

As panel uses a shift register multiplexer, the number of ABC lines means nothing about scans. Please show a clear photo pf panel rear side

i found this library ... it has support for DP5125D

The DP5125 is a standard driver, you don't need a special library for it. The current library is definitely supports this driver.

mzashh commented 3 months ago

Please show a clear photo pf panel rear side.

PXL_20240620_222850573

board707 commented 3 months ago

According to number of chips, the panel is 1/32scans

mzashh commented 3 months ago

According to number of chips, the panel is 1/32scans

1/32 scan but no D and E pin man this is one weird panel, so any ideas on how to drive it?

board707 commented 3 months ago

1/32 scan but no D and E pin man this is one weird panel

Again, DP32020 is a shift register, it don't need more than ABC to control 32 scans. Read this, the part titled "HX6158" - it is an explanation how the SR multiplexors works.

board707 commented 3 months ago

this is one weird panel, so any ideas on how to drive it?

There is nothing weird about this panel. The 5125 driver is very common; some settings are needed only for the 32020 multiplexer. As far as I remember, @mrcodetastic had code for panels with such multiplexers. Now I need to get busy, a little later in the day I will find links in the "Issues" on such panels

board707 commented 3 months ago

The code to work with shift register multiplexors discussed in #164, #429 and some other issues. (Correction) - the advice from #164 probably won't work with 32020 chip.

@mzashh Do you have an experience to use this library with a "standard" 1/32 panel? If so, I will show what to change in the code to work with your panel.

mzashh commented 3 months ago

thanks for the help @board707 but seller has offered to replace my panel with a normal hub75e panel based on FM6124D + TC7262C driver, which i hope will work without any modifications. i have already packed my old panel for shipping it back so i cant really test stuff with it.

I will leave the issue open just in case someone else needs help with this type of panel in the future