0

RGB Matrix Hat/LED not lighting up
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

RGB Matrix Hat/LED not lighting up

by bigal420lol on Tue Apr 03, 2018 2:45 am

Hi!
So I did the stuff for the Adafruit matrix HAT. I have a 32x32 RGB LED panel I got from you, but when I run the display test, nothing shows up on the panel. I'm not sure if I just did a crappy soldering job (was my first time, so this would be my guess) or if the panel is defective, or what. Also, I'm not quite sure how to tell where the problem lies. It's definitely not in the code; the code compiles and runs fine, it's just that the LED panel doesn't light up. I did notice that it flickered for a second when unplugging it, if that helps.

Thanks
Alex

bigal420lol
 
Posts: 10
Joined: Tue Apr 03, 2018 2:28 am

Re: RGB Matrix Hat/LED not lighting up

by adafruit_support_carter on Wed Apr 04, 2018 1:01 pm

Let's start by checking your hardware setup. Can you post a photo showing how you have everything connected.

adafruit_support_carter
 
Posts: 7667
Joined: Tue Nov 29, 2016 2:45 pm

Re: RGB Matrix Hat/LED not lighting up

by bigal420lol on Wed Apr 04, 2018 10:34 pm

Here's a couple photos of the connections
Attachments
IMG_1140.jpg
IMG_1140.jpg (151.85 KiB) Viewed 530 times
IMG_1139.JPG
IMG_1139.JPG (170.91 KiB) Viewed 530 times

bigal420lol
 
Posts: 10
Joined: Tue Apr 03, 2018 2:28 am

Re: RGB Matrix Hat/LED not lighting up

by adafruit_support_carter on Thu Apr 05, 2018 12:49 pm

Thanks for the photos. That all seems fine. Let's check the software.
It's definitely not in the code; the code compiles and runs fine

What are you running here? One of the demos?

adafruit_support_carter
 
Posts: 7667
Joined: Tue Nov 29, 2016 2:45 pm

Re: RGB Matrix Hat/LED not lighting up

by bigal420lol on Thu Apr 05, 2018 1:06 pm

Yep, I'm running the code found in this tutorial:
https://learn.adafruit.com/raspberry-pi ... y/software

Have followed the tutorial exactly, and am using the latest version of Raspbian Jessie.

I'm using a single 32 x 32 4mm pitch panel, and in the config I'm specifying a
Code: Select all | TOGGLE FULL SIZE
chain_length
of 1,
Code: Select all | TOGGLE FULL SIZE
parallel_count
of 1,
Code: Select all | TOGGLE FULL SIZE
panel_width
,
Code: Select all | TOGGLE FULL SIZE
panel_height
,
Code: Select all | TOGGLE FULL SIZE
display_width
and
Code: Select all | TOGGLE FULL SIZE
display_height
of 32.
Only including the single
Code: Select all | TOGGLE FULL SIZE
{ order = 0; rotate =   0; }
panel object in the two-dimensional panels array, and leaving the
Code: Select all | TOGGLE FULL SIZE
crop_origin
option commented out so as to output the entire display to the panel.

When I run the
Code: Select all | TOGGLE FULL SIZE
sudo ./display-test matrix.cfg

or
Code: Select all | TOGGLE FULL SIZE
sudo ./display-test matrix.cfg

commands, the processes run without error and I can quit them with CTRL+C.

But nothing shows up on the panel.

bigal420lol
 
Posts: 10
Joined: Tue Apr 03, 2018 2:28 am

Re: RGB Matrix Hat/LED not lighting up

by adafruit_support_carter on Thu Apr 05, 2018 1:21 pm

Hmmm. I'm seeing a difference between the guide and the code in the repo. The repo has this:
https://github.com/adafruit/rpi-fb-matr ... kefile#L13
but in the guide, there are more defines. Also, the guide uses DEFINES while the Makefile uses USER_DEFINES.

Try this. Edit your Makefile and change that USER_DEFINES line to this:
Code: Select all | TOGGLE FULL SIZE
export USER_DEFINES=-DADAFRUIT_RGBMATRIX_HAT -DRGB_SLOWDOWN_GPIO=1

and then try building the library again:
make clean all

adafruit_support_carter
 
Posts: 7667
Joined: Tue Nov 29, 2016 2:45 pm

Re: RGB Matrix Hat/LED not lighting up

by bigal420lol on Thu Apr 05, 2018 10:44 pm

Tried this, and when I built the library again it threw some warnings about how this is an old way of specifying the matrix hat hardware. The matrix lit up, but it's some glitchy weirdness. So for the heck of it, I removed the directory and cloned the repo again, rebuilt everything and ran it, and again, just glitchiness. It seems to make a difference whether I supply the matrix.cfg as an argument to the display-test command or run it without argument, but either way, it's just crazy changing colors and not the display that is output to the LED array. Here's a picture:
Attachments
IMG_1172.JPG
IMG_1172.JPG (145 KiB) Viewed 499 times

bigal420lol
 
Posts: 10
Joined: Tue Apr 03, 2018 2:28 am

Re: RGB Matrix Hat/LED not lighting up

by bigal420lol on Thu Apr 05, 2018 10:45 pm

Btw, thanks for your help, this is really great that you're helping me figure this out, especially in such a timely manner! You guys rule!

bigal420lol
 
Posts: 10
Joined: Tue Apr 03, 2018 2:28 am

Re: RGB Matrix Hat/LED not lighting up

by adafruit_support_carter on Fri Apr 06, 2018 1:44 pm

Well, based on this:
https://github.com/adafruit/rpi-fb-matr ... -367487831
I'm wondering if that guide and code is considered deprecated. Try working through the guide specific to the RGB HAT:
https://learn.adafruit.com/adafruit-rgb ... spberry-pi
and see if that works better.

adafruit_support_carter
 
Posts: 7667
Joined: Tue Nov 29, 2016 2:45 pm

Re: RGB Matrix Hat/LED not lighting up

by bigal420lol on Sun Apr 08, 2018 4:17 am

Still doing the glitchy thing after following the matrix hat guide.

bigal420lol
 
Posts: 10
Joined: Tue Apr 03, 2018 2:28 am

Re: RGB Matrix Hat/LED not lighting up

by adafruit_support_carter on Mon Apr 09, 2018 10:51 pm

Hmmm. I think your soldering looks OK. Cable orientation looks OK. Can you provide some more info on the exact HW you have. What model Pi is it? What's the PID for the 32x32 matrix you have (a little hard tell from photo)?

Did you try this?
https://learn.adafruit.com/adafruit-rgb ... ces#faq-32

adafruit_support_carter
 
Posts: 7667
Joined: Tue Nov 29, 2016 2:45 pm

Re: RGB Matrix Hat/LED not lighting up

by bigal420lol on Mon Apr 09, 2018 11:24 pm

The PID of the LED matrix is 607. My pi is a Raspberry Pi 3 model B. Tried going through the directions in the 'driving matrices' section again, including with the --led-slowdown-gpio flag, but no dice. Even tried re-installing Raspbian and doing the whole thing over again, also to no avail. Still just weird unrecognizable glitchiness.

ALSO tried cloning the original hzeller github repo for the library and following their instructions, including disabling the Pi's sound and including the --led-gpio-mapping flag with the adafruit-hat option, which gave me essentially the same results.

I agree that the soldering looks all right, I took another look at it. Possibly a defective cable or Hat or LED matrix?

bigal420lol
 
Posts: 10
Joined: Tue Apr 03, 2018 2:28 am

Re: RGB Matrix Hat/LED not lighting up

by adafruit_support_carter on Tue Apr 10, 2018 12:17 pm

I'm thinking we should just try another display. First, let's take a closer look at your soldering on the HAT. Can you post another photo that shows the soldering on the HAT with better lighting and focus.

adafruit_support_carter
 
Posts: 7667
Joined: Tue Nov 29, 2016 2:45 pm

Re: RGB Matrix Hat/LED not lighting up

by bigal420lol on Wed Apr 11, 2018 12:04 am

Note that the bottom left two solder joints on the 40-pin part are not actually touching, it just looks that way in the photo because the top one is shaped like a wizard hat.
Attachments
IMG_1196.JPG
IMG_1196.JPG (374.59 KiB) Viewed 348 times
IMG_1198.JPG
IMG_1198.JPG (620.01 KiB) Viewed 348 times

bigal420lol
 
Posts: 10
Joined: Tue Apr 03, 2018 2:28 am

Re: RGB Matrix Hat/LED not lighting up

by adafruit_support_carter on Wed Apr 11, 2018 1:06 pm

Some of those solder points look marginal enough that it would be worth trying to touch them up. Here's some info on common problems:
https://learn.adafruit.com/adafruit-gui ... n-problems

See the photos below. I've circled some to check for sure, but make sure to go over all of them.
solder_1.jpg
solder_1.jpg (126.99 KiB) Viewed 336 times

solder_2.jpg
solder_2.jpg (56.35 KiB) Viewed 336 times

adafruit_support_carter
 
Posts: 7667
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.