Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
miwu
 
Posts: 10
Joined: Tue Aug 30, 2022 1:04 am

Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by miwu »

Hello,

I am currently trying to get a 64x32 RGB Matrix to display with hzeller's library. The hardware I have are:

Raspberry Pi 4 - Model B
2x 64x32 Matrix - https://www.adafruit.com/product/2279
Adafruit RGB Bonnet - https://www.adafruit.com/product/3211

I followed this guide: https://learn.adafruit.com/adafruit-rgb ... g-matrices
I selected 1. Adafruit RGB Matrix Bonnet and 2. Convenience

When I enter the command:

Code: Select all

sudo ./demo -D0 --led-col=64 --led-chain=2 --led-slowdown-gpio=4 
The results: The LEDs do not respond

Troubleshooting that I've performed:
  • I've reinstalled the OS twice (GUI/Lite).
  • Disconnected the chain and connected the Matrix one at a time.
  • I've swapped between matrixes and cables.
  • I connected 5v 4amp directly from bonnet. (5V LED is on)
  • I've used 5v 4amp and 5v 8amp power supplies.
  • I've reseated the bonnet on the rpi4.

User avatar
adafruit_support_carter
 
Posts: 29151
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by adafruit_support_carter »

Set back up with only a single LED matrix attached and try the following:

Code: Select all

sudo ./demo -D0 --led-rows=64 --led-col=32 --led-gpio-mapping=adafruit-hat --led-slowdown-gpio=4 

User avatar
nocturne
 
Posts: 7
Joined: Thu Mar 14, 2013 10:16 am

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by nocturne »

You've probably already checked this - but I've had issues with newer pi4's having 1-wire enabled. So I'd suggest checking (via sudo raspi-config):
- Ensure SPI is enabled
- Ensure I2C is enabled
- Ensure 1-wire is disabled

And if any of those were changed, reboot and try again.

User avatar
miwu
 
Posts: 10
Joined: Tue Aug 30, 2022 1:04 am

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by miwu »

adafruit_support_carter wrote: Thu Sep 01, 2022 12:18 pm Set back up with only a single LED matrix attached and try the following:

Code: Select all

sudo ./demo -D0 --led-rows=64 --led-col=32 --led-gpio-mapping=adafruit-hat --led-slowdown-gpio=4 
The Matrix continue to not display anything.

User avatar
miwu
 
Posts: 10
Joined: Tue Aug 30, 2022 1:04 am

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by miwu »

nocturne wrote: Thu Sep 01, 2022 6:49 pm You've probably already checked this - but I've had issues with newer pi4's having 1-wire enabled. So I'd suggest checking (via sudo raspi-config):
- Ensure SPI is enabled
- Ensure I2C is enabled
- Ensure 1-wire is disabled

And if any of those were changed, reboot and try again.
Thanks for the help. My SPI and I2C were disabled but it didn't fix the issue.

User avatar
nocturne
 
Posts: 7
Joined: Thu Mar 14, 2013 10:16 am

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by nocturne »

If those were disabled, and you re-enabled them, then I'd recommend also that you go to the rpi-rgb-matrix directory and either recompile/re-install, or re-run the overall installer script. Make sure to run that with sudo; and also look for any major compilation errors. For example - on one run, mine failed to find the g++ compiler dependencies, and thus ran, but technically failed even though the script didn't bomb out.

User avatar
adafruit_support_carter
 
Posts: 29151
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by adafruit_support_carter »

You have two copies of the matrix hardware. Label the matrix and ribbon cable used in the above test. Let's calls these matrix/cable 1. The other set is matrix/cable 2.

You've tested:
* ribbon cable 1 with matrix 1

Now try:
* ribbon cable 2 with matrix 1
* ribbon cable 1 with matrix 2

For each, just run the same test:

Code: Select all

sudo ./demo -D0 --led-rows=64 --led-col=32 --led-gpio-mapping=adafruit-hat --led-slowdown-gpio=4
and see if any combos work.

User avatar
miwu
 
Posts: 10
Joined: Tue Aug 30, 2022 1:04 am

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by miwu »

nocturne wrote: Sat Sep 03, 2022 11:55 am If those were disabled, and you re-enabled them, then I'd recommend also that you go to the rpi-rgb-matrix directory and either recompile/re-install, or re-run the overall installer script. Make sure to run that with sudo; and also look for any major compilation errors. For example - on one run, mine failed to find the g++ compiler dependencies, and thus ran, but technically failed even though the script didn't bomb out.
Sorry for the late reply. I just tried reinstalling with the settings but it didn't work again. Also I didn't see any errors while the script was running.

User avatar
miwu
 
Posts: 10
Joined: Tue Aug 30, 2022 1:04 am

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by miwu »

adafruit_support_carter wrote: Tue Sep 06, 2022 2:06 pm You have two copies of the matrix hardware. Label the matrix and ribbon cable used in the above test. Let's calls these matrix/cable 1. The other set is matrix/cable 2.

You've tested:
* ribbon cable 1 with matrix 1

Now try:
* ribbon cable 2 with matrix 1
* ribbon cable 1 with matrix 2

For each, just run the same test:

Code: Select all

sudo ./demo -D0 --led-rows=64 --led-col=32 --led-gpio-mapping=adafruit-hat --led-slowdown-gpio=4
and see if any combos work.
Sorry for the late reply. I jut tried these combos and I still haven't had any luck.

User avatar
adafruit_support_carter
 
Posts: 29151
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by adafruit_support_carter »

Just to verify behavior - all combinations result in no output on the RGB matrix?

User avatar
miwu
 
Posts: 10
Joined: Tue Aug 30, 2022 1:04 am

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by miwu »

Yes there are no behavior with any combo. I'm not sure if it matters but the Raspberry Pi 4 is from UK.

User avatar
miwu
 
Posts: 10
Joined: Tue Aug 30, 2022 1:04 am

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by miwu »

Yes there are no behavior with any combo. I'm not sure if it matters but the Raspberry Pi 4 is from UK.

User avatar
adafruit_support_carter
 
Posts: 29151
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by adafruit_support_carter »

Please post a photo of your setup showing how everything is connected.


User avatar
adafruit_support_carter
 
Posts: 29151
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit RGB Matrix + Bonnet + RPi4 not responding to commands

Post by adafruit_support_carter »

Thanks for the photos. The power cable appears disconnected. The power cables is plugged in to the matrix, but not back to the Bonnet.

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”