LED matrix shield not working

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
kdz41
 
Posts: 4
Joined: Thu Apr 13, 2023 9:00 am

LED matrix shield not working

Post by kdz41 »

Hello everyone, I post here as my last hope of finding a solution after 3 days of non stop attempts/diagnostics.
I bought 6 RGB shields from Adafruit (mouser), in the hope of simplifying my project with a plug and play solution,
I have 2 p10 LED RGB 16x32 modules that I bought locally, and 3 arduino boards,
from all the library examples I only got one of them to work (I think so), which is testcolors, all the other ones either don't show anything on the LED (completely dead) or show some noise lines, or work in a pattern that I couldn't understand. I tried everything that I could but couldn't find the problem, I had the shields soldered at a repair shop, so the soldering is nicely done, the pins on the LED module are not labeled, but from my research I couldn't find any other pin layout that the one on your guide, Please suggest any steps in order to diagnose the issue. thanks
Attachments
IMG_20230413_133738.jpg
IMG_20230413_133738.jpg (189.51 KiB) Viewed 192 times
IMG_20230413_133804.jpg
IMG_20230413_133804.jpg (114.91 KiB) Viewed 192 times
IMG_20230413_133402.jpg
IMG_20230413_133402.jpg (233.88 KiB) Viewed 192 times

User avatar
blnkjns
 
Posts: 963
Joined: Fri Oct 02, 2020 3:33 am

Re: LED matrix shield not working

Post by blnkjns »

What board do you use? Remember that RGB panels are not easy on the RAM usage.
I prefer using the protomatter library as it allows setting the bit depth, so you can go as low as 1 bit per colour, needing only 192 bytes for a single display or 384 byte buffered.

User avatar
kdz41
 
Posts: 4
Joined: Thu Apr 13, 2023 9:00 am

Re: LED matrix shield not working

Post by kdz41 »

I got it to work by using a modified RGBmatrixPanel.cpp library that I found in a forum,
can you suggest an edit to the library in order to get it to work, as you can see it's supposed to display 16x32 *RGB*
but it's reversing the lines on the upper side and lower side of the display.
thanks
Attachments
IMG_20230414_160352.jpg
IMG_20230414_160352.jpg (432.22 KiB) Viewed 181 times

User avatar
blnkjns
 
Posts: 963
Joined: Fri Oct 02, 2020 3:33 am

Re: LED matrix shield not working

Post by blnkjns »

You still did not tell what board you use. Whether it works well depends on the pins you use. Some boards need pin rewiring. Wrong order problems usually indicate address line swaps.

User avatar
kdz41
 
Posts: 4
Joined: Thu Apr 13, 2023 9:00 am

Re: LED matrix shield not working

Post by kdz41 »

Hi, I'm using an Arduino uno.
Thanks

User avatar
kdz41
 
Posts: 4
Joined: Thu Apr 13, 2023 9:00 am

Re: LED matrix shield not working

Post by kdz41 »

hello, it works now thanks to a modified library in the link below
the problem was that certain panels (outdoor ones) have a scan rate of 1/4
but the adafruit RGBpanel library was made to work with 1/8 scan rate panels
thanks for your help anyway bro
https://forum.arduino.cc/t/p10-rgb-outd ... no/1115227

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

Return to “Arduino Shields from Adafruit”