Hello everyone,
I’m trying to work on a relatively simple game project with a single 32x32 matrix by Adafruit ( P5-2121-32×32-16S-HL1.0). Unfortunately, I have now run into an issue while trying to hookup the panel to my Raspberry Pi 4B.
For technical reasons I can’t use a shield/hat to hookup the matrix so I’ve connected the HUB75 cable directly to the Pi’s pins using the standard pin schematic provided by the library’s documentation.
Now my issue is that no matter what I do, the matrix is only displaying seemingly random pixels.
When I plug it in it looks like the image on the left. Colors and position of the pixels randomly change when unplugging the HUB75 cable and plugging it back in.
Now when I run one of the example programs from the library what can be seen in the center image happens.
(The command being used here is sudo ./demo -D 0 --led-gpio-mapping=regular --led-slowdown-gpio=2 --led-scan-mode=1 --led-cols=32 --led-rows=32
)
The half of the display below or above of the previously activated pixels get lit up in the same color of the original pixels. This happens regardless of what code is being run or what settings are used while running. The only difference I could observe appears when inputting a different amount of LED rows which slightly changed the amount of pixels lighting up.
When exiting the program the pixels get reset to the state seen on the right image.
They just move down to the bottom of the previously lit up area. If I run a program again now, the half above these pixels gets lit up.
My best guess currently would be, that the output of the Pi gets misinterpreted because of a difference in voltage, but even then this behaviour seems not very fitting to me. Before I go and buy a level switcher and change up my whole setup I would just like to know if anyone more experienced than me has some other ideas. Thank you