Having troubles with Arduino uno and 8x8 led matrix

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
speekr
 
Posts: 11
Joined: Wed Nov 16, 2011 11:27 pm

Having troubles with Arduino uno and 8x8 led matrix

Post by speekr »

Ok I have and 8x8 led matrix on a max7219 chip controlled by an arduino uno. The problem I've been having is that I can get them all to light up and turn off when I run a sample program that is supposed to play a pattern. But I cant get it to display said pattern so I tried to simplify it and just turn one led on and off. The thing compiled and it looks good but nothing happens in the matrix.
Heres my script.
#include <LedControl.h>


#include "LedControl.h"
void setScanLimit(int addr, int limit);
void setIntensity(int addr, int intensity);
LedControl lc=LedControl(12,11,10,1);
void setup() {
lc.shutdown(0,false);
lc.setIntensity(0,8);
lc.clearDisplay(0);
}

void loop() {
lc.setLed(0,3,3,true);
delay(500);
lc.setLed(0,3,3,false);
delay(500);
}

Could there be a problem with how I installed the 7219? I checked the wiring and the led matrix. But I can't figure out what is keeping it from working.

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

Re: Having troubles with Arduino uno and 8x8 led matrix

Post by adafruit_support_bill »

Does it work with the example code from the LedControl library?

speekr
 
Posts: 11
Joined: Wed Nov 16, 2011 11:27 pm

Re: Having troubles with Arduino uno and 8x8 led matrix

Post by speekr »

the only thing I can get it to do is flash in 1 second intervals. And its all the leds at once. Nothing I do can isolate them or even change the pace of the flashing

speekr
 
Posts: 11
Joined: Wed Nov 16, 2011 11:27 pm

Re: Having troubles with Arduino uno and 8x8 led matrix

Post by speekr »

http://batchpcb.com/index.php/Products/ ... top_lg.png
this is the 7219 board that I'm using. I have positive on the right side negative on the left. 33kohm resistor, 100uF and .01uf resistor.

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

Re: Having troubles with Arduino uno and 8x8 led matrix

Post by adafruit_support_bill »

Does it work with the example code from the LedControl library?
If not, you have a wiring problem with your 7219.

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

Return to “Arduino”