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

P3-64x64-32S #754

Closed gioreva closed 5 years ago

gioreva commented 5 years ago

I have two sets of panels with the same label, P3-64x64-32S One works, another one I see only colors. I use "active-3" adapter on the first chain. I have tried all possible combinations, but I have not solved anything.

This not Work: image

image

This work Well: image

cluelessperson commented 5 years ago

check out these instructions: https://github.com/hzeller/rpi-rgb-led-matrix/tree/master/adapter/active-3

gioreva commented 5 years ago

I read carefully, but also moving the Jumper in all the combination does not appear the image, not even a piece. With a panel everything is fine, with each other appear only colors. Any idea for the attempts I could make?

gioreva commented 5 years ago

Supplier says: "When you Do Smart setting, Please choose the IC ICN-2038S." What does he mean ? What test can I do?

gioreva commented 5 years ago

http://www.xlix.ru/datasheet/icn2038s.pdf

hzeller commented 5 years ago

I don't have such a board to test (where did you get your board, do you have an aliexpress link ?), so if there is something different from the regular boards, the best way is to make it work with your board by reverse engineering and reading the datasheet, then send a pull request.

gioreva commented 5 years ago

This is link of aliexpress panel: https://www.aliexpress.com/snapshot/0.html?spm=a2g0s.9042647.0.0.dc104c4dSXGYFM&orderId=507707052068521&productId=32959774837

I studied the integrated circuits datasheet: DP5020B = (TLC5926, TLC5927 texas)? FM6126 ICN2038 They are all identical and compatible.

The signal on the connector does not give you any indication to understand what to try to change ? I have not a a working controller to do reverse engeenering, I can only make passive measurements.

gioreva commented 5 years ago

sudo ./led-image-viewer --led-rows=64 --led-cols=64 --led-slowdown-gpio=3 --led-pwm-lsb-nanoseconds=2000 v.png

This is slow refresh image. ezgif-1-b8a8ea3bd731

But image is random during connector insertion. After it does not change, that I send white, black or lines.

RiddleSingh commented 5 years ago

I have a P3-64x64-32S Matrix with A B C D E (8th Pin on HUB75 Connector) as shown below hub75

matrix

I tried to run (500x32) runtext.ppm from the examples with the below configuration.

sudo examples-api-use/demo -D 1 examples-api-use/runtext.ppm --led-chain=2 --led-multiplexing=0 --led-rows=32 --led-cols=64 --led-gpio-mapping=adafruit-hat-pwm --led-brightness=10 --led-no-hardware-pulse

I expected the text to be appeared in the middle 32 rows however, the result is different as below

test

I've also tried with different --led-multiplexing=0 (0 to 8), --led-chain= (1 to 4), --led-rows=(16, 32, 64) --led-cols=(64, 128).

So far, the best result was what I posted in the above gif. Can Someone kindly help me to understand the issue.

Thank you

gioreva commented 5 years ago

I saw that flaw when the jumpers in my active 3 were wrong. I believe that my panels are not HUB75, but some other standard. I'm amazed, that your panel, which apparently has my same connector, you see something. What hardware do you use?

RiddleSingh commented 5 years ago

Below is the link of the matrix I've used https://www.alibaba.com/product-detail/led-display-modules-p2-p2-5_60762121458.html

For the control, I'm using Raspberry Pi-3 and Adafruit Hat (Rev-B) https://learn.adafruit.com/assets/22440 Since, the Rev B doesn't have the GPIO10 of RPI3 converted to 5V logic, I've externally connected a level translator between Pin 8 of HUB75 (E) & GPIO10 of RPI3 (RxD) as below

img_20190203_165246

Can you kindly tell how you resolved this flaw? Any suggestions will be very helpful to me.

Also, I've found a closed thread (link below) which had the same exact issue as mine, however the solution suggested by @hzeller is not helping.

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

hzeller commented 5 years ago

If you use the Adafruit Hat, the E line is mapped to GPIO 24, not GPIO15 (RxD) @RiddleSingh https://github.com/hzeller/rpi-rgb-led-matrix#64x64-with-e-line-on-adafruit-hatbonnet

RiddleSingh commented 5 years ago

My issue was already answered in one of @hzeller posts.

I was connecting the wrong pin on RPI3, I had to connect to Pin24 on RPI3 for it to get working.

Thanks a lot @hzeller.

gioreva commented 5 years ago

@hzeller The Adafruit Hat (Rev-B) with --led-gpio-mapping=adafruit-hat-pwm Is it perfectly equal to the active 3 without parameter ? Or should I check? The panel of @RiddleSingh looks identical to mine. Where do I find the mapping?

hzeller commented 5 years ago

@gioreva With that parameter, it works for panels with A, B, C, D adresses and if you have done the PWM hardware mod as described in the README. If you have an E address line, you need to also manually wire up an E-line also described there, which @RiddleSingh did.

gioreva commented 5 years ago

I ordered the Adafruit HAT, to see if it appeared as @RiddleSingh , but as before. Random image at the insertion. I have no made, no jumper, no cut wire.

sudo examples-api-use/demo -D 1 examples-api-use/runtext.ppm --led-chain=2 --led-multiplexing=0 --led-rows=32 --led-cols=64 --led-gpio-mapping=adafruit-hat-pwm --led-brightness=10 --led-no-hardware-pulse

gioreva commented 5 years ago

Solved using script #746