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.7k stars 1.17k forks source link

sparkfun 32x32 matrix does not turn up #1095

Closed nicolaveritas closed 4 years ago

nicolaveritas commented 4 years ago

I'm using this matrix https://www.sparkfun.com/products/14646

I'm wiring directly from the panel to a raspberry 3 B+ with no breakout board

the matrix is powered by a 5V 2A power supply

I'm trying to run the example demo D0 but the panel doesn't turn up at all. I've tried to tweak with all the different flags with no success (--led-multiplexing, --led-row-addr-type, --led-panel-type, --led-slowdown-gpio)

Is there any way to debug the code? What should I check to make sure everything is set up correctly?

hzeller commented 4 years ago

did you follow the wiring guide ? https://github.com/hzeller/rpi-rgb-led-matrix/blob/master/wiring.md

nicolaveritas commented 4 years ago

yes, I've did it multiple times and double check it. I also have 3 of these matrices and tried with all of them, even trying the connector labeled as output but I have the same result

when I turn on the power without being connected to the pi some leds flickers, if I do that when I'm connected that doesn't happens

hzeller commented 4 years ago

You also did connect the gnd of the Matrix with the gnd of the Pi ? If nothing turns on in that case, and you use have the proper hardware mapping enabled, then you probably need the digital level shifter.

nicolaveritas commented 4 years ago

when you ask about GND you mean as explained in the wiring guide? if so yes, I have GND from the panel connected to pin 6 of the pi

As far for the hardware mapping I tried both with no args, which I assume defaults to regular, and setting regular explicitly (given that my wiring follows the guide https://github.com/hzeller/rpi-rgb-led-matrix/blob/master/wiring.md)

I have to admit I don't know how to use a digital level shifter, how should this fit in the wiring of this setup?

Thank you very much for your work

hzeller commented 4 years ago

The level shifter would be easiest by building one of these https://github.com/hzeller/rpi-rgb-led-matrix/tree/master/adapter/active-3 or acquiring some of other providers https://www.electrodragon.com/product/rgb-matrix-panel-drive-board-raspberry-pi/

nicolaveritas commented 4 years ago

I managed to make it work building the adapter active-3

I had some troubles even with the adapters: at the beginning it looked like the behaviour was the same but the problem was just that I wasn't setting the param --led-parallel=1

thanks again for your work and the support