I'm learning both the Raspberry Pi and how to use the RGB Matrix Hat. I have everything assembled and connected. I've tried to run one of the included demos and I'm getting a weird pattern when I should be seeing a rotating square. See the attached pictures. I'm using a 32x32 LED matrix. I'm running the included demo with this command line: sudo ./demo -D0 --led-rows=32 --led-cols=32
Please let me know what I'm doing wrong. I have rechecked all of my solder joints and they are good.
I'm attaching a couple pictures of my display for reference.
My name is Robert McGuire. My order number is 2999862 and the date is January 18th. Do to other obligations I am just now getting to testing things out. I would really appreciate your help!!!
Adafruit RGB Matrix Hat for Raspberry Pi
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- BobMcGuire
- Posts: 37
- Joined: Thu Mar 30, 2023 2:57 pm
Adafruit RGB Matrix Hat for Raspberry Pi
- Attachments
-
- 20230330_140750.jpg (113.46 KiB) Viewed 198 times
-
- 20230330_140748.jpg (111.55 KiB) Viewed 198 times
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
Can you post a photo of your soldering?
Which model of Raspberry Pi are you using?
What power supply are you using for the matrix?
Which model of Raspberry Pi are you using?
What power supply are you using for the matrix?
- BobMcGuire
- Posts: 37
- Joined: Thu Mar 30, 2023 2:57 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
Mike:
I will tell you that I've worked with electronic systems for many years and I have a lot of experience soldering. I am attaching pictures of my soldering to this message.
I will also attach pictures of the Raspberry Pi models I'm using. I've tested this hat with two different Pi's and had the same results.
Regarding the power supply being used for the matrix. I purchased it from Adafruit. Your part number 276. 5V 2A switching power supply.
I look foward to your response.
Best regards,
Bob McGuire
I will tell you that I've worked with electronic systems for many years and I have a lot of experience soldering. I am attaching pictures of my soldering to this message.
I will also attach pictures of the Raspberry Pi models I'm using. I've tested this hat with two different Pi's and had the same results.
Regarding the power supply being used for the matrix. I purchased it from Adafruit. Your part number 276. 5V 2A switching power supply.
I look foward to your response.
Best regards,
Bob McGuire
- Attachments
-
- 20230402_102321.jpg (85.49 KiB) Viewed 183 times
-
- 20230402_102538.jpg (135.84 KiB) Viewed 183 times
-
- 20230402_102501.jpg (149.58 KiB) Viewed 183 times
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
Thank you for the photos.
The RGB Matrix connector soldering looks good. I was not able to see the HAT 2x20 HEADER soldering in the photos provided.
There is a slow down optional flag to pass to the demo and a 1-wire disable mentioned on the HELP page that are worth trying.
https://learn.adafruit.com/adafruit-rgb ... ry-pi/help
Can you run the rgb-matrix.sh again withe script command in front so it will save out to a file that you can post here?
The RGB Matrix connector soldering looks good. I was not able to see the HAT 2x20 HEADER soldering in the photos provided.
There is a slow down optional flag to pass to the demo and a 1-wire disable mentioned on the HELP page that are worth trying.
https://learn.adafruit.com/adafruit-rgb ... ry-pi/help
Can you run the rgb-matrix.sh again withe script command in front so it will save out to a file that you can post here?
Code: Select all
script bash rgb-matrix.sh
- BobMcGuire
- Posts: 37
- Joined: Thu Mar 30, 2023 2:57 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
I'm attaching a picture of the gpio header to this message.
I tried running this command:
sudo ./demo -D0 --led-cols=32 --led-rows=32 --led-slowdown-gpio=4
Adding the slowdown switch makes it better, but it's still not right. I'm attaching updated pictures too. My raspberry pi is NOT overclocked. I am running the rotating square demo.
I tried running this command:
sudo ./demo -D0 --led-cols=32 --led-rows=32 --led-slowdown-gpio=4
Adding the slowdown switch makes it better, but it's still not right. I'm attaching updated pictures too. My raspberry pi is NOT overclocked. I am running the rotating square demo.
- Attachments
-
- 20230404_112243.jpg (112.28 KiB) Viewed 176 times
-
- 20230404_120219.jpg (114.01 KiB) Viewed 176 times
-
- 20230404_120217.jpg (118.07 KiB) Viewed 176 times
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
I see a probable cause here.
The jumper between #4 and #18 for high quality mode does not look completely soldered. When you ran the rgb setup script did you set it for high quality mode? If so that jumper needs to be soldered in place.
The jumper between #4 and #18 for high quality mode does not look completely soldered. When you ran the rgb setup script did you set it for high quality mode? If so that jumper needs to be soldered in place.
https://learn.adafruit.com/adafruit-rgb ... re-1745233The “quality” option comes at a cost. First, you need to solder a jumper wire between GPIO4 and GPIO18 on the Bonnet or Hat board
- BobMcGuire
- Posts: 37
- Joined: Thu Mar 30, 2023 2:57 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
Mike:
Thank you for all your help and suggestions. I resoldered that jumper (see attached picture) and no improvement in the operation. I did set-up the unit for "high quality mode" by the way. I'm not concerned with audio. I'm really not sure what to do next. Any suggestions would be greatly appreciated.
Bob
Thank you for all your help and suggestions. I resoldered that jumper (see attached picture) and no improvement in the operation. I did set-up the unit for "high quality mode" by the way. I'm not concerned with audio. I'm really not sure what to do next. Any suggestions would be greatly appreciated.
Bob
- Attachments
-
- 20230405_063552.jpg (76.77 KiB) Viewed 167 times
- BobMcGuire
- Posts: 37
- Joined: Thu Mar 30, 2023 2:57 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
Mike:
OK, I bought a second matrix hat to see if my original unit was faulty. I'm getting the same results with the new hat as with the old one. I really need to get this working. Any help you can offer would be greatly appreciated.
OK, I bought a second matrix hat to see if my original unit was faulty. I'm getting the same results with the new hat as with the old one. I really need to get this working. Any help you can offer would be greatly appreciated.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
Thank you for trying another RGB Matrix Hat. At least that helps us narrow down what could be going wrong.
Honestly, I think you did everything write so far in terms of Pi configuration and Hat assembly. The problem here is probably the power supply. 5v @ 4A is recommended and your using a 5v @ 2A, correct?
Honestly, I think you did everything write so far in terms of Pi configuration and Hat assembly. The problem here is probably the power supply. 5v @ 4A is recommended and your using a 5v @ 2A, correct?
These panels require 13 digital pins (6 bit data, 7 bit control) and a good 5V supply, up to 4A per panel. We suggest our 4A regulated 5V adapter and then connecting a 2.1mm jack. Please check out our tutorial for more details!
- BobMcGuire
- Posts: 37
- Joined: Thu Mar 30, 2023 2:57 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
Mike:
You are correct. I'm using a 5V 2A power supply that I purchased from Adafruit. Do you offer a 4A supply. If so I will order one today.
Bob
You are correct. I'm using a 5V 2A power supply that I purchased from Adafruit. Do you offer a 4A supply. If so I will order one today.
Bob
- blnkjns
- Posts: 963
- Joined: Fri Oct 02, 2020 3:33 am
Re: Adafruit RGB Matrix Hat for Raspberry Pi
If it is an alignment problem, it looks like that, and not like a psu problem, I would check the address pins. Any chance some are mixed up in code? I mean the A.B.C.D lines.
- BobMcGuire
- Posts: 37
- Joined: Thu Mar 30, 2023 2:57 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
I'm using the code that was installed automatically. I did not write any code at this point. I just used the automatic code and library installer that was referenced with the circuit board on the Adafruit website.
- BobMcGuire
- Posts: 37
- Joined: Thu Mar 30, 2023 2:57 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
blnkjns:
The more I think about it the more I think you're correct. It must be something in the code. But I'm using the code provided directly by adafruit. I am learning and am not a Raspberry Pi expert so I haven't modified anything. I've followed all instructions exactly and even purchased a second matrix-hat to see if that was the issue. I also agree that I don't really think this is a power supply issue. If you have any suggestions I would greatly appreciate hearing them.
The more I think about it the more I think you're correct. It must be something in the code. But I'm using the code provided directly by adafruit. I am learning and am not a Raspberry Pi expert so I haven't modified anything. I've followed all instructions exactly and even purchased a second matrix-hat to see if that was the issue. I also agree that I don't really think this is a power supply issue. If you have any suggestions I would greatly appreciate hearing them.
- blakebr
- Posts: 957
- Joined: Tue Apr 17, 2012 6:23 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
Bob,
As a power supply test, lower the brightness in the test code to lower the current draw.
Bruce
As a power supply test, lower the brightness in the test code to lower the current draw.
Bruce
- BobMcGuire
- Posts: 37
- Joined: Thu Mar 30, 2023 2:57 pm
Re: Adafruit RGB Matrix Hat for Raspberry Pi
Bruce:
I used the switch "---led-brightness=10" to lower the brightness. The display was quite a bit dimmer but it other than that, there was no change. I'm really lost as to what to do next.
Bob
I used the switch "---led-brightness=10" to lower the brightness. The display was quite a bit dimmer but it other than that, there was no change. I'm really lost as to what to do next.
Bob
Please be positive and constructive with your questions and comments.