[SOLVED] 64x32 LED matrix not working with HAT + Pi2

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
jwheare
 
Posts: 17
Joined: Thu Nov 19, 2015 12:36 pm

Re: LED matrix only shines when jiggling the cable-64x32+HAT

Post by jwheare »

Here's what the signal on the OE- and CLK pins looks like with everything plugged in and the led-matrix demo running:

https://www.youtube.com/watch?v=tUajaw7x_Xw

I've tried with a new IDC cable and a fresh install of a raspbian jessie image on a formatted SD card, and have been discussing the issue with the author of the led-matrix software here:

https://github.com/hzeller/rpi-rgb-led-matrix/issues/90

It looks to me like the LED panel itself may be faulty, but let me know if I should take any more readings with the scope to confirm.

User avatar
adafruit2
 
Posts: 22200
Joined: Fri Mar 11, 2005 7:36 pm

Re: LED matrix only shines when jiggling the cable-64x32+HAT

Post by adafruit2 »

is there a reason you aren't just using our code?
https://learn.adafruit.com/adafruit-rgb ... g-matrices

User avatar
jwheare
 
Posts: 17
Joined: Thu Nov 19, 2015 12:36 pm

Re: LED matrix only shines when jiggling the cable-64x32+HAT

Post by jwheare »

Actually that's exactly the code and tutorial I'm using, except with the upstream code which is much more up to date, works better and explains the essential RGB_SLOWDOWN_GPIO flag to avoid image corruption on the Pi 2.

With the help of the upstream author of that code I diagnosed the problem was that GPIO pin 22 on my Pi was stuck at 1. I bought a new Pi and everything is now working beautifully.

I suggest you update the tutorial to point to hzeller's upstream code, or at least update your fork.

I'd also recommend mentioning the modification described here to make use of the PI's PWM hardware: https://github.com/hzeller/rpi-rgb-led- ... 7395760d01 using it completely eliminates flickering in the LED panel. Even better if a connector could be included with the HAT to make this modification even easier!

Thanks for all the help. This thread can be considered resolved now.

User avatar
adafruit2
 
Posts: 22200
Joined: Fri Mar 11, 2005 7:36 pm

Re: [SOLVED] 64x32 LED matrix not working with HAT + Pi2

Post by adafruit2 »

yah we're looking into it (the sped up version)

ill be honest i would not have guessed it was a busted GPIO pin on your Pi!

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”