Pixel mapping known, but can’t get correct picture.
I think problem is in DP32020A, which have different control inputs from commonly used 138 decoders. It uses serial interface - DIN, DCK, RCK, DOUT (data, clock, output register latch, data for next chip), instead of A0, A1 and A2 for decoder-multiplexers.
DP32020A - is shift register, therefore it needs different control. Whether SmartMatrix library supports such type ICs in role of decoder.
I used ATMEGA88 microcontroller to convert “A”, “B”, “C”, “D” address signals to DIN (on C line) and DCK (on A line) signals for 32020 chip.
ATMEGA88 runs on an internal RC oscillator, so no external components are required.
A very simple code was sufficient for this purpose. On port C, which is configured as input, we read “A”, “B”, “C”, “D” address. “C_din” and “A_dck” are pins of D port configured as output. “B_rck” is not used and always in zero state.
Although it is quite possible to use an Arduino nano.
Wow, what a great idea! I never considered implementing address translation with a little micro. I’ll add this solution to the wiki when I have time to let others know SmartMatrix library can (with a little help) work with more types of panels
Hi
Work with shift register multiplexer is a very simple, the code is literally a couple the lines:
digitalWrite(pin_DMD_B, HIGH);
digitalWrite(pin_DMD_C, (curr_row == 0)); // Shift out 1 for line 0, 0 otherwise
digitalWrite(pin_DMD_A, HIGH); // Clock out this bit
digitalWrite(pin_DMD_A, LOW);
digitalWrite(pin_DMD_B, LOW);
The code - put 1 in the register at row 0 and shift it one bit at every next row.
Hey @Irakli_Jibladze1 could you share the codes here?
i also have same led panel - HRLOP4-10S-1921-V3.2
the chinese vendors didn’t provided with the datasheet or anyother technical stuff, so i have just firgured out on my own that the led board is housing sm5368 line decoder, however the exact ic used as led driver remains mystery. As of now, i am successful in filling the led with solid colours, playing with left, right, top and bottom of panel by putting random colour in them, but i am not able to insert a full text on panel, when i start putting text for e.g. ‘TEST’ at x = 5 and y = 10, the ‘T’ and ‘E’ comes beautiful with 15 spacing between them, but the starting pixels coloumn of ‘S’ get dropped out and the last ‘T’ is completely nowhere to find.
Any help in this regard will be appreciated.
I am using ESP-IDF and ESP32-HUB75-MatrixPanel-I2S-DMA.h library with Adafruit GFX forced close.
Your words that follows contradicts this. You state that your panel uses a 5368 multiplexer, whereas the author of the first post does not have such chips; this means your panels are not the same.
It is an absolutely typical for the so-called four-scan panel.
In that case I would recommend you to open an issue on ESP32-HUB75-MatrixPanel-I2S-DMA library’s GitHub and ask user board707 to help you.