hzeller / rpi-rgb-led-matrix

Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO
GNU General Public License v2.0
3.64k stars 1.16k forks source link

64x64 RGB LED-Matrix not working properly (Split Image) #1435

Closed jan424242 closed 1 year ago

jan424242 commented 2 years ago

Hey, I have a Project for School and my 64x64 RGG LED-Matrix is not working properly (image) We are using a Adafruit HAT with RTC

The command is: sudo ./demo -D 0 --led-rows=64 --led-cols=64 --led-gpio-mapping=adafruit-hat Does anyone have similar problems? I need help asap, thanks :D

image 20220526_111210

hzeller commented 2 years ago

Did you do the necessary hardware mod on the HAT that is described in the README? https://github.com/hzeller/rpi-rgb-led-matrix#64x64-with-e-line-on-adafruit-hatbonnet

jan424242 commented 2 years ago

Yes, I have a newer version of the "HAT" than described in the "Readme" file. With this HAT, you have to put a dot between E and 8 next to the HUB75 connector. (you can see it on the Image)

kaerka commented 2 years ago

I have the same panels, and same hat, and am having the same issue. I've nearly exhausted all options - it seems like maybe either the code or the hat just can't handle ABCDE/64x64 panels, or perhaps an issue with the 1/32 scan rate?

Mine shows a nearly identical set of black bars across it, along with flicker - but only when on the 64x64 smaller LED panels.

I have:

My setup is (at the moment, it changes as I test different things):

Anyway - on my setup, I'm not sure where to go with further troubleshooting - but am willing to help test and post photos/videos of results.

kaerka commented 2 years ago

Here are a few photos of mine, and also my command line for those. Ignore the panel on the right and below, those have different code running on them.

$ sudo ./demo -D 0 -m 100 --led-gpio-mapping=adafruit-hat --led-slowdown-gpio=4 --led-brightness=50 --led-chain=4 --led-rows=64 --led-cols=64 --led-multiplexing=0 --led-pixel-mapper="U-mapper:1" --led-row-addr-type=0

IMG_2524

$ sudo ./demo -D 9 -m 150 --led-gpio-mapping=adafruit-hat --led-slowdown-gpio=4 --led-brightness=50 --led-chain=4 --led-rows=64 --led-cols=64 --led-multiplexing=0 --led-pixel-mapper="U-mapper:1" --led-row-addr-type=0 IMG_2523

kaerka commented 2 years ago

I reflowed my E pin behind the connector, and then also did the jumper for the pins #4 to #18; and then recompiled for that. The reflow of my E pin seems to have been the fix for me - now it's working excellently! I just love your code - thanks and awesome! IMG_2535 IMG_2533

ignaciogaticarojas commented 2 years ago

Hi ! @kaerka could you please share images of your hardware mod on the hat?

Thanks!

kaerka commented 2 years ago

Sure - I had to reflow the solder on the DE pin behind the hub75 connector several times before it worked correctly, and then I added the jumper between pins 4 and 18, and recompiled for the quality option.

I'm still doing other things to improve the rate that I can push it, but it's pretty stable now.

This is the pins you have to short for a 64x64 panel to get those lines to go away, assuming that is the issue.

image

These are the pins for higher quality display output (it mainly reduces a little bit of flicker and artifacts). My jumper wire is atrocious, but it is working. image

And here is a picture of the overall 8 x 64x64 panel setup. I also upgraded my power supply, though at a different step. The 5v x 15a PSU I had was not enough, once I got it all working. Ignore the couple extra 32x32 panels, they're on separate controllers. Front: image

Back: image

Better macro focus of the overall hat on a pi4: image

ignaciogaticarojas commented 2 years ago

Hi @kaerka that is awesome, can you please explain me what do you mean by "reflow" the DE pin, does this mean removing it? Thanks a lot and congrats on such a nice display

kaerka commented 2 years ago

Thanks! Most of the thanks really goes to the developers of the rgb-matrix code and adafruit - most of this is beyond me, and I'm using it as a fast-paced python learning experience.

Reflowing the solder is to basically re-heat it, such that it resettles and provides a better connection. I'd have thought that my first attempt was good - it looked fine... but it didn't work. It took a total of 4 times re-flowing to get it 100% correct, I think it was overlapping onto the 3rd contact a bit, and then later I could see a little line between the two contacts which were supposed to be jumped. The little line between them indicated that they weren't really, even if the solder looked connected.

I did figure out that when trying to get it to re-flow - be patient, give it a a few min for the iron to heat up correctly and don't try to rush it. And then, also be careful that you're only putting heat on the solder and pads, and not on the board itself.

Last - in my case, this wasn't the only solder joint that I figured out that I'd done poorly. I reflowed many of the gpio pins as well. They don't look great, but all are showing good continuity on a multi-tester, so seem fine now.

combs commented 1 year ago

nice! Probably makes sense to close this issue out then?

davemaster commented 4 months ago

Hi ! @kaerka could you please share images of your hardware mod on the hat?

Thanks!

I had a Electrodragon adapter, and was very easy to mod it, because is a build-in connector paths to do it. Pin E to pin 8, or pin E to pin 4.

ELECTRODRAGON-RGB-ACTIVE-RPI-ADAPTER MOD 0

In my case, I welded a 3-pin header for quick set or unset option

ELECTRODRAGON-RGB-ACTIVE-RPI-ADAPTER MOD 1

Here, the final result, in picture:

ELECTRODRAGON-RGB-ACTIVE-RPI-ADAPTER MOD 2

Here a video of my adventure today... mission, acomplished.