Matrix Arrived Damaged?

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Deep90
 
Posts: 5
Joined: Wed Jun 29, 2022 3:32 pm

Matrix Arrived Damaged?

Post by Deep90 »

I suspect my led matrix arrived damaged. Running the following code and you can see 2 parts of the matrix simply do not light up.
Same issue exists when running the pixel dust demo even after modifying the height for 64x64 matrixes.
20220629_142411_x600.jpg
20220629_142411_x600.jpg (126.02 KiB) Viewed 210 times

Code: Select all

#include <Adafruit_Protomatter.h>

uint8_t rgbPins[]  = {7, 8, 9, 10, 11, 12};
uint8_t addrPins[] = {17, 18, 19, 20, 21};
uint8_t clockPin   = 14;
uint8_t latchPin   = 15;
uint8_t oePin      = 16;

Adafruit_Protomatter matrix(
  64, 4, 1, rgbPins, 5, addrPins, clockPin, latchPin, oePin, false);

void setup(void) {
  Serial.begin(9600);

  // Initialize matrix...
  ProtomatterStatus status = matrix.begin();
  Serial.print("Protomatter begin() status: ");
  Serial.println((int)status);
  if(status != PROTOMATTER_OK) {
    for(;;);
  }

  matrix.fillRect(0,0, 64, 64, matrix.color565(255,255,255));

  // AFTER DRAWING, A show() CALL IS REQUIRED TO UPDATE THE MATRIX!

  matrix.show(); // Copy data to matrix buffers
}

void loop(void) {
  Serial.print("Refresh FPS = ~");
  Serial.println(matrix.getFrameCount());
  delay(1000);
}

User avatar
dastels
 
Posts: 15817
Joined: Tue Oct 20, 2015 3:22 pm

Re: Matrix Arrived Damaged?

Post by dastels »

Are all your board support packages and libraries up to date?
Have you set the address E jumper?

The code you posted worked fine for me. Hmm.. welll it lights all the leds.

Dave

User avatar
Deep90
 
Posts: 5
Joined: Wed Jun 29, 2022 3:32 pm

Re: Matrix Arrived Damaged?

Post by Deep90 »

I ran through the setup instructions on the adafruit site.

Library's were all freshly installed.


E jumper looks to be set in code no? In addressing 5 pins.

User avatar
dastels
 
Posts: 15817
Joined: Tue Oct 20, 2015 3:22 pm

Re: Matrix Arrived Damaged?

Post by dastels »

There's a hardware jumper on the MatrixPortal to set which pin on the panel connector it goes to. there should be a connector pinout diagram on the back of the panel. E will be either 8 or 16. Se the jumper on the MatrixPortal to match (i.e. short the right part of the jumper). See https://learn.adafruit.com/adafruit-mat ... er-3072815

Dave

User avatar
Deep90
 
Posts: 5
Joined: Wed Jun 29, 2022 3:32 pm

Re: Matrix Arrived Damaged?

Post by Deep90 »

dastels wrote:There's a hardware jumper on the MatrixPortal to set which pin on the panel connector it goes to. there should be a connector pinout diagram on the back of the panel. E will be either 8 or 16. Se the jumper on the MatrixPortal to match (i.e. short the right part of the jumper). See https://learn.adafruit.com/adafruit-mat ... er-3072815

Dave

Thanks for the help!

I'm seeing the jumper, but I'm not sure to bridge 8 or 16 as my matrix is not labeled. Its the 64x64 with 2mm pitch IIRC.

Datasheet here:
https://cdn-shop.adafruit.com/product-f ... 21__1_.pdf

User avatar
Deep90
 
Posts: 5
Joined: Wed Jun 29, 2022 3:32 pm

Re: Matrix Arrived Damaged?

Post by Deep90 »

Online sources seemed to point at 8 as the correct jumper. I went ahead and tried it and its working now!

User avatar
dastels
 
Posts: 15817
Joined: Tue Oct 20, 2015 3:22 pm

Re: Matrix Arrived Damaged?

Post by dastels »

Awesome!

Dave

User avatar
Deep90
 
Posts: 5
Joined: Wed Jun 29, 2022 3:32 pm

Re: Matrix Arrived Damaged?

Post by Deep90 »

Thanks again for the help :)

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

Return to “General Project help”