carloartieri / 8bit_raspi_pixel_art_display

Raspberry Pi 32 x 32 LED RGB matrix project for displaying 8 bit pixel art animation montages
11 stars 0 forks source link

Distorted output #15

Open yvesio opened 5 years ago

yvesio commented 5 years ago

Hi Carlo,

I discovered this great project and tried to recycle an RGB matrix display I had from another Kickstarter project and some other stuff. The RGB matrix display is a 32 x 32 display with a HUB75 port and the Adafruit RGB Matrix Bonnet for Raspberry Pi is a different one (since it’s smaller and I like to use it with a Raspberry Pi Zero):

https://learn.adafruit.com/adafruit-rgb-matrix-bonnet-for-raspberry-pi?view=all

I made a video of the distorted output:

https://yves.io/IMG_9679.MP4

Do you have an idea how I could fix this?

Thanks, Yves

carloartieri commented 5 years ago

Hmm. I have no experience with any hardware other than the one that I built, but looking at the video, it seems as though the issue is that the pins don't map to same positions as they do in the bonnet I'm using. The library that's being used to map RGB values to the display is hzeller's https://github.com/hzeller/rpi-rgb-led-matrix. It should support the device that you have. Take a look at the documentation here.

In the settings.py file, I define the parameters used by the RGB matrix library. See here. In particular, you may want to play with the hardware_mapping option, which I've set to options.hardware_mapping = "adafruit-hat". By playing with these, you should be able to get it to run (there's a bit of documentation here and you may want to dig into that library's code). Please let me know if you make any progress and I'll update the readme to let other folks know.

yvesio commented 5 years ago

Good evening Carlo,

in the meantime I bought the exact same RGB panel as you did and with it everything works like a charm. So no fault on your part.

I have the suspicion, that the wiring of the port in my panel is different. My panel seems to have a third variant of the HUB75 port and I now need to poke around to see if I could change the wiring without actually soldering. Alternatively I could order the 32 x 32 panel with 6 mm pitch, which would fit in the existing frame.

If you like you could close this issue and I’d like to say thank you for your help!