RGB 32 x64 Matrix not Working using arduino metro.

This is a special forum devoted to educators using Adafruit and Arduino products for teaching.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
clv001
 
Posts: 5
Joined: Wed Nov 25, 2020 7:53 am

RGB 32 x64 Matrix not Working using arduino metro.

Post by clv001 »

I have just received an RGG 32 x64 Matrix LED with adafruit shield and arduino Metro M0 board. I have downloaded the libraries, RGB Matrix Panel and AdafruitBusIO, run the sample testshaps_32x64 program, bit LED RGB Matrix not running up, No circuit diagrams are available for troubleshooting the LED Matrix. How can I found out if the Matrix is faulty or not ?

I urgently need to use this matrix for demo purposes.

Thank you.

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by adafruit_support_bill »

Please post some photos showing all of your soldering and connections.

User avatar
clv001
 
Posts: 5
Joined: Wed Nov 25, 2020 7:53 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by clv001 »

Please find attached the photoes. There are no shorts between pins, The Metro M0 board is working because I used it with ADAfruit LCD.. I am not able to check the 64x32 RGB Matrix.

If you can send me a working test program will be great I try it out.

Thank you.
Attachments
WhatsApp Image 2020-11-25 at 15.40.17.jpeg
WhatsApp Image 2020-11-25 at 15.40.17.jpeg (124.41 KiB) Viewed 4971 times
WhatsApp Image 2020-11-25 at 15.41.15.jpeg
WhatsApp Image 2020-11-25 at 15.41.15.jpeg (104.54 KiB) Viewed 4971 times
WhatsApp Image 2020-11-25 at 15.40.50.jpeg
WhatsApp Image 2020-11-25 at 15.40.50.jpeg (90.12 KiB) Viewed 4971 times

User avatar
clv001
 
Posts: 5
Joined: Wed Nov 25, 2020 7:53 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by clv001 »

I am including some more pictures. Matrix remains fully blank altough 5V is available on the Power terminal of the shield and power socket of matrix.
Attachments
WhatsApp Image 2020-11-25 at 15.58.52.jpeg
WhatsApp Image 2020-11-25 at 15.58.52.jpeg (160.61 KiB) Viewed 4970 times
WhatsApp Image 2020-11-25 at 15.45.00.jpeg
WhatsApp Image 2020-11-25 at 15.45.00.jpeg (112.95 KiB) Viewed 4970 times

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by adafruit_support_bill »

I don't see any soldering issues. Double-check the connector orientation on the panel. The key on the connector should face out toward the edge of the matrix panel.

User avatar
clv001
 
Posts: 5
Joined: Wed Nov 25, 2020 7:53 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by clv001 »

The key is also in the correct orientation, inserted in the Input socket of matrix connector. I am using the following program but nothing works.

Code: Select all

/ testshapes demo for RGBmatrixPanel library.
// Demonstrates the drawing abilities of the RGBmatrixPanel library.
// For 32x64 RGB LED matrix.

// WILL NOT FIT on ARDUINO UNO -- requires a Mega, M0 or M4 board

#include <RGBmatrixPanel.h>

// Most of the signal pins are configurable, but the CLK pin has some
// special constraints.  On 8-bit AVR boards it must be on PORTB...
// Pin 11 works on the Arduino Mega.  On 32-bit SAMD boards it must be
// on the same PORT as the RGB data pins (D2-D7)...
// Pin 8 works on the Adafruit Metro M0 or Arduino Zero,
// Pin A4 works on the Adafruit Metro M4 (if using the Adafruit RGB
// Matrix Shield, cut trace between CLK pads and run a wire to A4).

#define CLK  8   // USE THIS ON ADAFRUIT METRO M0, etc.
//#define CLK A4 // USE THIS ON METRO M4 (not M0)
//#define CLK 11 // USE THIS ON ARDUINO MEGA
#define OE   9
#define LAT 10
#define A   A0
#define B   A1
#define C   A2
#define D   A3

RGBmatrixPanel matrix(A, B, C, D, CLK, LAT, OE, false, 64);

void setup() {

  matrix.begin();

  // draw a pixel in solid white
  matrix.drawPixel(0, 0, matrix.Color333(7, 7, 7));
  delay(500);

  // fix the screen with green
  matrix.fillRect(0, 0, matrix.width(), matrix.height(), matrix.Color333(0, 7, 0));
  delay(500);

  // draw a box in yellow
  matrix.drawRect(0, 0, matrix.width(), matrix.height(), matrix.Color333(7, 7, 0));
  delay(500);

  // draw an 'X' in red
  matrix.drawLine(0, 0, matrix.width()-1, matrix.height()-1, matrix.Color333(7, 0, 0));
  matrix.drawLine(matrix.width()-1, 0, 0, matrix.height()-1, matrix.Color333(7, 0, 0));
  delay(500);

  // draw a blue circle
  matrix.drawCircle(10, 10, 10, matrix.Color333(0, 0, 7));
  delay(500);

  // fill a violet circle
  matrix.fillCircle(40, 21, 10, matrix.Color333(7, 0, 7));
  delay(500);

  // fill the screen with 'black'
  matrix.fillScreen(matrix.Color333(0, 0, 0));

  // draw some text!
  matrix.setTextSize(1);     // size 1 == 8 pixels high
  matrix.setTextWrap(false); // Don't wrap at end of line - will do ourselves

  matrix.setCursor(8, 0);    // start at top left, with 8 pixel of spacing
  uint8_t w = 0;
  char *str = "AdafruitIndustries";
  for (w=0; w<8; w++) {
    matrix.setTextColor(Wheel(w));
    matrix.print(str[w]);
  }
  matrix.setCursor(2, 8);    // next line
  for (w=8; w<18; w++) {
    matrix.setTextColor(Wheel(w));
    matrix.print(str[w]);
  }
  matrix.println();
  //matrix.setTextColor(matrix.Color333(4,4,4));
  //matrix.println("Industries");
  matrix.setTextColor(matrix.Color333(7,7,7));
  matrix.println("LED MATRIX!");

  // print each letter with a rainbow color
  matrix.setTextColor(matrix.Color333(7,0,0));
  matrix.print('3');
  matrix.setTextColor(matrix.Color333(7,4,0));
  matrix.print('2');
  matrix.setTextColor(matrix.Color333(7,7,0));
  matrix.print('x');
  matrix.setTextColor(matrix.Color333(4,7,0));
  matrix.print('6');
  matrix.setTextColor(matrix.Color333(0,7,0));
  matrix.print('4');
  matrix.setCursor(34, 24);
  matrix.setTextColor(matrix.Color333(0,7,7));
  matrix.print('*');
  matrix.setTextColor(matrix.Color333(0,4,7));
  matrix.print('R');
  matrix.setTextColor(matrix.Color333(0,0,7));
  matrix.print('G');
  matrix.setTextColor(matrix.Color333(4,0,7));
  matrix.print('B');
  matrix.setTextColor(matrix.Color333(7,0,4));
  matrix.print('*');

  // whew!
}

void loop() {
  // Do nothing -- image doesn't change
}


// Input a value 0 to 24 to get a color value.
// The colours are a transition r - g - b - back to r.
uint16_t Wheel(byte WheelPos) {
  if(WheelPos < 8) {
   return matrix.Color333(7 - WheelPos, WheelPos, 0);
  } else if(WheelPos < 16) {
   WheelPos -= 8;
   return matrix.Color333(0, 7-WheelPos, WheelPos);
  } else {
   WheelPos -= 16;
   return matrix.Color333(WheelPos, 0, 7 - WheelPos);
  }
}
Last edited by adafruit_support_bill on Wed Nov 25, 2020 11:40 am, edited 1 time in total.
Reason: Pleas use [code] tags when posting code to the forums

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by adafruit_support_bill »

OK. We can try replacing the panel. Please contact [email protected] with a link to this thread and we can get one out to you.

User avatar
clv001
 
Posts: 5
Joined: Wed Nov 25, 2020 7:53 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by clv001 »

I have proceeded as instructed. Thank you again for your help.

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

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by blnkjns »

You can always try these panels without powersupply, just with USB power first. Make sure you only light up a few pixels at a time. so you stay under 500mA. I managed to run Pac-Man from USB power at 20% brightness. That way you can ensure it is not a problem of conflicting power sources.

User avatar
labtec21
 
Posts: 8
Joined: Sun May 23, 2021 10:51 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by labtec21 »

clv001,
Did you ever get a replacement and if so did it fix the problem?
I am having the same problem with mine also. I checked the solder joints, connections. I am using the switching power supply 5v at 4 a. I checked the voltage leaving the shield going to the matrix with the matrix attached and it is reading 4.1 volts. I wonder if the voltage regulator on the metro M0 is defective and/or matrix is bad.
thanks for answering if a replacement corrected the situation.

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by adafruit_support_bill »

@labtec21 - please post photos showing your soldering and connections.

User avatar
labtec21
 
Posts: 8
Joined: Sun May 23, 2021 10:51 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by labtec21 »

Here are the pics requested
Attachments
20210524_144815.jpg
20210524_144815.jpg (943.42 KiB) Viewed 4110 times
20210524_144815.jpg
20210524_144815.jpg (943.42 KiB) Viewed 4110 times
20210524_144349.jpg
20210524_144349.jpg (965.51 KiB) Viewed 4110 times

User avatar
labtec21
 
Posts: 8
Joined: Sun May 23, 2021 10:51 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by labtec21 »

Here are the pics requested
Attachments
20210524_145519.jpg
20210524_145519.jpg (881.26 KiB) Viewed 4110 times
20210524_145449.jpg
20210524_145449.jpg (370.64 KiB) Viewed 4110 times
20210524_144906.jpg
20210524_144906.jpg (908.09 KiB) Viewed 4110 times

User avatar
labtec21
 
Posts: 8
Joined: Sun May 23, 2021 10:51 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by labtec21 »

Here are the pics requested
Attachments
20210524_145610.jpg
20210524_145610.jpg (915.96 KiB) Viewed 4110 times

User avatar
labtec21
 
Posts: 8
Joined: Sun May 23, 2021 10:51 am

Re: RGB 32 x64 Matrix not Working using arduino metro.

Post by labtec21 »

Here are the pics requested
Attachments
20210524_144321.jpg
20210524_144321.jpg (367.77 KiB) Viewed 4110 times

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

Return to “For Educators”