rpi-rgb-led-matrix
rpi-rgb-led-matrix copied to clipboard
128x64 with adafruit bonnet issues
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"

Basically this, but missing every other row.

I really am over my head here, so please use small words! lol Thanks!
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
@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)


@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

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?
--led-row-addr-type=1 -> Black screen. No change with 27 and ground
yep
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)

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.

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

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
Yes, UU4 pin 10 goes to UU5 pin 2, etc all the way through UU8
--led-row-addr-type=3 gives a black screen
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
Address type 3 gives black screen. GIPO makes no difference.
I'd like to explain that too, but I haven't a clue! It only lights up on address type = 0
Changed line 40. no difference. Didn't change line 160. Line 160 is uncommented but says "DEFINES+=$ (USER_DEFINES)
Ummm. I don't know. how would I check that?
0.024 volts as measured on the connector and on the panel This is the same voltage for address type zero
Whoops. I'm a moron. DC voltage setting works better. 4.89 vdc.
My power supply is 5VDC, 10 Amp
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

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 |
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
~/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.
Bonus! No errors when compiling this time.


Success!!!!
- Deleted all Dir in the pi and started from scratch.
- After no change from before I changed the code in rpi-rgb-led-matrix/lib/framebuffer.cc as you stated
- 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
What caused the red screen?
Ran a different demo to check all lines active.
Tried the new code, got an error when recomplining.