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
970 stars 211 forks source link

QIANGLI 1/8 "5125 + 32019" vs "5125 + 5158" panels #681

Closed rigorka closed 1 month ago

rigorka commented 1 month ago

The Led panels supplier that I have to work with presently only have two types of panels available for the form factor that I need: "5125 + 32019" vs "5125 + 5158".

It seems both 32019 and 5158 are the shift registers that this library does not support "out of the box" presently. I can get one of those panel types for testing easily, and I am reasonably fluent in C++, so could possibly try to implement the support for one of those shift regs. However the info on those chips seem to be a bit scarce.

I would greatly appreciate an advice from the developers of this lib re:

board707 commented 1 month ago

According to datasheet, the DP32019 driver is not a shift register, it is a normal "138 type", compatible with the library code.

For reference on the most popular drivers, you can see the table in my Wiki

board707 commented 1 month ago

@rigorka What are the panel scan and dimensions in pixels?

rigorka commented 1 month ago

@board707 Thank you very much for the wiki, it is really very useful! The panels are 32x32px, 1/8 scan. Looks like I shall try 32019 version then.

board707 commented 1 month ago

Keep in mind that the 32x32 1/8 panel will most likely have a non-standard pixel pattern, you will have to decipher it yourself.

rigorka commented 1 month ago

Yep, that's what I'm good at - had to implement pixel mapping for a number of strange panels to date, just never worked with these chips before. Once again, thank you for the clarifications!

board707 commented 1 month ago

If there are any problems, I could help. Good luck.

rigorka commented 1 month ago

Oops. My supplier just told me they're out of 32019 version so I will have to implement 5158, which is in fact a shiftreg. So might ask you for some advice after I receive the test panels early next week and do my homework on them.

board707 commented 1 month ago

This is actually a good occasion, because I have long wanted to try adding a shift register driver support to this library :)