Hi everyone,
I designed a 8X7 LED matrix powered by MAX7219 for a project. I am trying to test it with Arduino by powering only one LED at a time. The issue is that some LEDS are glowing while some are not glowing. I attached here my code, PCB design (I designed it) and video to describe my issue. Could you please let me know where I am doing wrong. I have 4 MAX7219, so tried interchaging them, nothing worked. I checked my connections as many times as possible, both with eye and also with a multimeter continuty. I am going mad with this issue, so posting here for help.
#include "LedControl.h"
/*
Now we need a LedControl to work with.
***** These pin numbers will probably not work with your hardware *****
pin 12 is connected to the DataIn
pin 11 is connected to the CLK
pin 10 is connected to LOAD
We have only a single MAX72XX.
*/
LedControl lc=LedControl(12,11,10,1);
unsigned long delaytime=100;
void setup() {
/*
The MAX72XX is in power-saving mode on startup,
we have to do a wakeup call
*/
lc.shutdown(0,false);
/* Set the brightness to a medium values */
lc.setIntensity(0,8);
/* and clear the display */
lc.clearDisplay(0);
}
void loop() {
for(int row=0;row<7;row++) {
for(int col=0;col<7;col++) {
lc.setLed(0,row,col,true);
delay(delaytime);
lc.setLed(0,row,col,false);
delay(delaytime);
}
}
}