rpi-rgb-led-matrix icon indicating copy to clipboard operation
rpi-rgb-led-matrix copied to clipboard

128x64 with adafruit bonnet issues

Open xxxDrewedxxx opened this issue 5 years ago • 37 comments

I am attempting to get a 128x64 p2.0 running off of an adafruit bonnet.

Using: sudo examples-api-use/demo -D0 --led-rows=64 --led-cols=128 --led-gpio-mapping=adafruit-hat-pwm --led-brightness=60 --led-slowdown-gpio=4 --led-panel-type=FM6126A --led-multiplexing=0 --led-scan-mode=0 --led-row-addr-type=0 led-chain=1 led-parallel=1

I get this:

If I change the --led-row-addr-type to anything but "0" I get a black screen. I have pad "E" on the bottom of the bonnet jumpered to "8"

image

Basically this, but missing every other row.

I really am over my head here, so please use small words! lol Thanks!

xxxDrewedxxx avatar Sep 11 '20 22:09 xxxDrewedxxx

Greetings,

-What hardware connections do you have? adapter? which one? -Also, try your module as two 64x64 modules: led-chain=2, test without --led-panel-type=FM6126A, -This option: --led-slowdown-gpio=4 is for Raspberry Pi 3, or 4; start with --led-slowdown-gpio=1,2,3

Best regards

davemaster avatar Sep 12 '20 08:09 davemaster

@daveythacher It looks like most of the chips are FM 6126B (RED) There are a column of RT5957DSP down the middle (BLUE) There are 3 74HC245C in a row running through the middle (YELLOW) 2020-09-12_9-47-47

IMG_3331 IMG_3333 IMG_3332

xxxDrewedxxx avatar Sep 12 '20 14:09 xxxDrewedxxx

@davemaster -What hardware connections do you have? adapter? which one? RaspberryPi 4, ADAFRUIT RGB MATRIX BONNET FOR RASPBERRY PI, -Also, try your module as two 64x64 modules: led-chain=2, test without --led-panel-type=FM6126A, led-chain=2 ( and no --led-panel-type) gave me 4 dim "squares" instead of 2 bright

9AB849C1-F80F-4B2F-B0F1-6B4778AA7EEC

xxxDrewedxxx avatar Sep 12 '20 15:09 xxxDrewedxxx

So GPIO 27 to ground on the bonnet? With the system running, or power down, jump between 27 and hound, and then boot with it that way? And remove the solder bridge that I installed on E to 8?

xxxDrewedxxx avatar Sep 12 '20 16:09 xxxDrewedxxx

--led-row-addr-type=1 -> Black screen. No change with 27 and ground

xxxDrewedxxx avatar Sep 12 '20 17:09 xxxDrewedxxx

yep

xxxDrewedxxx avatar Sep 12 '20 18:09 xxxDrewedxxx

Ok, here is what I got. Yellow are when the ABC connect. A and B on U1 and C on U2 Red is the output(?) and where it connects to ALL UUX chips (1-8) chips

xxxDrewedxxx avatar Sep 12 '20 18:09 xxxDrewedxxx

Sorry. Updated.
Blue and green go to all UUX chips. Orange only seems to go to UU1 I hadn't gotten though all the multiplexing. Most of them just seem to make multiple of the same problem. chips

xxxDrewedxxx avatar Sep 12 '20 19:09 xxxDrewedxxx

I've gone though all the multiplexing. None are any better. 7, 9, 15, and 16 are black screens for me.

xxxDrewedxxx avatar Sep 12 '20 19:09 xxxDrewedxxx

Using this numbering chip numbers

UU1 pin 10 goes to UU2 pin 2 UU2 pin 10 goes to UU3 pin 2 UU3 pin 10 goes to UU4 pin 2 U2 pin 12 goes to UU1 pin 2 only

xxxDrewedxxx avatar Sep 12 '20 19:09 xxxDrewedxxx

Yes, UU4 pin 10 goes to UU5 pin 2, etc all the way through UU8

--led-row-addr-type=3 gives a black screen

xxxDrewedxxx avatar Sep 12 '20 19:09 xxxDrewedxxx

Ok, You lost me there. How do I define the macro and recompile? Remove the # from line 40? then exit and save? I'm trying the row add type 3 and GIPO 27 long shot

xxxDrewedxxx avatar Sep 12 '20 20:09 xxxDrewedxxx

Address type 3 gives black screen. GIPO makes no difference.

xxxDrewedxxx avatar Sep 12 '20 20:09 xxxDrewedxxx

I'd like to explain that too, but I haven't a clue! It only lights up on address type = 0

xxxDrewedxxx avatar Sep 12 '20 21:09 xxxDrewedxxx

Changed line 40. no difference. Didn't change line 160. Line 160 is uncommented but says "DEFINES+=$ (USER_DEFINES)

xxxDrewedxxx avatar Sep 12 '20 21:09 xxxDrewedxxx

Ummm. I don't know. how would I check that?

xxxDrewedxxx avatar Sep 12 '20 21:09 xxxDrewedxxx

0.024 volts as measured on the connector and on the panel This is the same voltage for address type zero

xxxDrewedxxx avatar Sep 12 '20 22:09 xxxDrewedxxx

Whoops. I'm a moron. DC voltage setting works better. 4.89 vdc.

xxxDrewedxxx avatar Sep 12 '20 22:09 xxxDrewedxxx

My power supply is 5VDC, 10 Amp

xxxDrewedxxx avatar Sep 12 '20 22:09 xxxDrewedxxx

Sorry that was my bad. Had the meter set wrong.

--led-row-addr-type=3 4.98 VDC at the pins on the panel --led-row-addr-type=0 4.99 VDC at the pins on the panel

xxxDrewedxxx avatar Sep 12 '20 22:09 xxxDrewedxxx

image

xxxDrewedxxx avatar Sep 12 '20 22:09 xxxDrewedxxx

On type 3 logic I get about 0.78~ VDC on pins 16, 15, 14, 13, 5, 6, 7, and 8. on every UUx On Type 0 zogic I get : All reading are VDC. I think I'm going to hang it up for tonight. Thanks for your help today. I'll see what the morning brings us!

  UU1 UU2 UU3 UU4 UU5 UU6 UU7 UU8
16 1.15 2.7 2.5 2.6 2.8 2.7 2.5 2.7
15 1 1.1 1 1 1 1 1 1
14 2.6 2.6 2.3 2.4 2.4 2.6 2.6 2.4
13 1.2 1.2 1.2 1.2 1.1 1 1 1
                 
5 2.5 2.5 2.6 2.5 2.6 2.5 2.5 2.7
6 1.1 1 1 1.1 1.1 1 1 1.1
7 2.2 2.6 2.5 2.5 2.6 2.5 2.5 2.6
8 1 1.2 1.1 1.1 1.2 1 1.1 1

xxxDrewedxxx avatar Sep 13 '20 00:09 xxxDrewedxxx

I ended up with: make[1]: *** [Makefile:185: framebuffer.o] Error 1 make[1]: Leaving directory '/home/pi/rpi-rgb-led-matrix/lib' make: *** [Makefile:15: lib/librgbmatrix.a] Error 2

xxxDrewedxxx avatar Sep 13 '20 14:09 xxxDrewedxxx

~/rpi-rgb-led-matrix $ sudo examples-api-use/demo -D0 --led-rows=64 --led-cols=128 --led-gpio-mapping=adafruit-hat-pwm --led-brightness=60 --led-slowdown-gpio=4 --led-panel-type=FM6126A sudo: examples-api-use/demo: command not found

Whoops!
Well, crap. let me go git the files again.

xxxDrewedxxx avatar Sep 13 '20 14:09 xxxDrewedxxx

Bonus! No errors when compiling this time.

xxxDrewedxxx avatar Sep 13 '20 14:09 xxxDrewedxxx

image

image

xxxDrewedxxx avatar Sep 13 '20 15:09 xxxDrewedxxx

Success!!!!

xxxDrewedxxx avatar Sep 13 '20 15:09 xxxDrewedxxx

  1. Deleted all Dir in the pi and started from scratch.
  2. After no change from before I changed the code in rpi-rgb-led-matrix/lib/framebuffer.cc as you stated
  3. Now it works with: sudo examples-api-use/demo -D0 --led-rows=64 --led-cols=128 --led-gpio-mapping=adafruit-hat-pwm --led-brightness=60 --led-slowdown-gpio=4 --led-panel-type=FM6126A --led-row-addr-type=3

xxxDrewedxxx avatar Sep 13 '20 15:09 xxxDrewedxxx

What caused the red screen?

Ran a different demo to check all lines active.

xxxDrewedxxx avatar Sep 13 '20 15:09 xxxDrewedxxx

Tried the new code, got an error when recomplining.

xxxDrewedxxx avatar Sep 13 '20 16:09 xxxDrewedxxx