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

Alternating two rows on/two rows off with 64x64 matrix #1277

Open dripp33 opened 3 years ago

dripp33 commented 3 years ago

Maybe someone has also had this problem and can help? I recently purchased an Adafruit 64x64 matrix and 'bonnet' and did the E/8 and 4/18 soddering, as described. I'm running both C++ and Python examples with "--led-cols=64 --led-rows=64 --led-gpio-mapping=adafruit-hat-pwm --led-multiplexing=0 --led-slowdown-gpio=1" params and have tried all 17 --led_multiplexing options. My problem is that all examples work fine, with a leds displayed correctly, except those examples (and my own code) that use the Matrix.SetPixel() function. When this function used -- like in the game-of-life (c++) or gray-block.py (python) examples -- I get alternating bars of two correct rows of leds followed by two dark rows (y-axis); all x-axis leds are 'lit'. I've checked A.B,C,D,E, etc voltages and they are fine. Have also tried all combinations of parameters and have run out of ideas. Am almost at the point of giving up on the 64x64 display and trying a smaller 4-address matrix (although don't want to...). Hoping someone has had a similar problem and would have a suggestion... Thanks much for any help! --dave

hzeller commented 3 years ago

All examples use setPixel(). Did you find the difference of the ones that work and the ones that don't ?

dripp33 commented 3 years ago

Thank you for the very quick reply. After checking all the c++ and python examples you are of course correct... every example has the alternating 2 row on/off issue. I had thought that a couple of the python examples that didn't call SetPixel directly (instead call SetImage and DrawText) were working ok, but unfortunately after looking at them again not so, they also have the issue. Ugh... I was hoping that if some of the examples worked ok and some didn't it would help with diagnosing the problem. Anything you suggest I try? Thanks again, --dave

maksun commented 3 years ago

Hello @dripp33,

Could you please tell me what is the chipset your panel are using?

I currently face the same issue with two linked 64x32 P4 panels that use the ICN2037BP chipset (see attached picture).

2lines_pb

In my case I'm using the electrodragon controller, I also tested many parameter combinations but never managed to get a better situation that the one on the picture ;)

Dear @hzeller, if you need me to do some new code testing that can fix this issue do not hesitate ;)

Looks like my panels are exactly the same as here (same issue too):

https://rpi-rgb-led-matrix.discourse.group/t/matrix-only-using-every-two-rows/61

Thanks.

Niko-O commented 2 years ago

I had that same problem with a 64x64 matrix. In my case I pulled of the bonnet from the Pi, put it back on and then it started working. Can't hurt to try moving the wires and connectors around a bit.

monoapp3 commented 2 years ago

It looks this topic is open for long time. I am using a 64x64 P3 panel.

I can run some demos on an esp32 board by using following library: https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA#1-library-installation

With following modifications:

change number of rows and columns to 64 number of panels set to 2 connect wrong labeled pin to E control pin in esp32 board assign number to E pin on board configuration

I tried to follow same steps with the rpi library, but without success.

Require to use a rpi due to performance topics, therefore need to use this library. I would be really be thankful to get any hint or required configuration step.