Show Posts
Pages: [1]
1  Using Arduino / LEDs and Multiplexing / Re: Problem with MAX7219 on: May 01, 2012, 04:07:28 pm
Thanks everybody. I'm doing everything again. I still don't understand where do the capacitors exactly go in the circuit or what are they for. I'd appreciate if anybody could make this clear for me.
2  Using Arduino / LEDs and Multiplexing / Problem with MAX7219 on: May 01, 2012, 12:39:43 am
Hi, I'm having trouble getting to work a couple of MAX7219. I tested the circuit on a breadboard and it worked perfectly, then I soldered all the anodes and cathodes to the MAX7219's to a perfboard and tested them connecting the Data In, Load, Clock, 5+ and Gnd to the Arduino with alligator cables and worked fine but then I soldered them and nothing lights up. I've checked everything for an hour but all seems to be ok. I really have no idea what's gone wrong. The arduino is powering the circuit and the drivers are receiving the voltage they need.

This is the code I'm using to test the matrix. I'm using 2 drivers but for testing purposes I'm just trying to control one. It's pretty basic.
#include <LedControl.h>

LedControl lc=LedControl(12,11,10,1);

void setup()
{
  lc.shutdown(0,false);
  lc.setIntensity(0,8);
  lc.clearDisplay(0);
  lc.setLed(0,0,0,true);
}

void loop()
{
 
}

I don't know if it matters that I didn't use the capacitors though when testing on the breadboard it worked well without them.
Do you have any suggestions where I should check the circuit? I think I just broke my brain or something trying to figure out what's wrong but I can't find anything. Thanks in advance.

I'm attaching a picture of the back of the circuit. Maybe it helps. This is the first time I've soldered so perhaps something is not soldered correctly. I just don't know. There's also the diagram I'm using from the Arduino page.
3  Using Arduino / Project Guidance / Re: Arduino + iPhone on: April 12, 2012, 10:01:01 pm
I think my question has been answered. I'll probably buy it, It has to be done before next month and I don't have time to try the other options. Thanks for replying!
4  Using Arduino / Project Guidance / Arduino + iPhone on: April 11, 2012, 11:39:56 pm
Hi, I want to control my project through an iPhone. I am thinking about using the following guide to do it.  It says it's not confirmed its support for iOS 5 which I have but I think the guide hasn't been updated in a while.

http://makeprojects.com/Project/Connect-an-iPhone-iPad-or-iPod-touch-to-Arduino-with-the-Redpark-Serial-Cable/1130/1

In the product's page says its compatible with 4.3 or later

http://www.makershed.com/Redpark_Breakout_Pack_for_Arduino_and_iOS_p/msrp02.htm

Do you think it will work with iOS 5? Also, if you know an alternative to this, I'd appreciate it, it's quite expensive.
5  Using Arduino / LEDs and Multiplexing / Re: LedControl library problem on: April 10, 2012, 09:04:51 pm
Thanks! Easy fix, It now works fine.  smiley
6  Using Arduino / LEDs and Multiplexing / LedControl library problem on: April 10, 2012, 06:43:44 pm
Hi, I get the following errors when compiling

In file included from sketch_apr10a.cpp:1:
/Users/andreszb/Documents/Arduino/libraries/LedControl/LedControl.h:24:24: error: WConstants.h: No such file or directory
In file included from sketch_apr10a.cpp:1:
/Users/andreszb/Documents/Arduino/libraries/LedControl/LedControl.h:30: error: 'byte' does not name a type
/Users/andreszb/Documents/Arduino/libraries/LedControl/LedControl.h:52: error: 'byte' does not name a type
/Users/andreszb/Documents/Arduino/libraries/LedControl/LedControl.h:54: error: 'byte' does not name a type
/Users/andreszb/Documents/Arduino/libraries/LedControl/LedControl.h:64: error: 'byte' has not been declared
/Users/andreszb/Documents/Arduino/libraries/LedControl/LedControl.h:64: error: 'byte' has not been declared
/Users/andreszb/Documents/Arduino/libraries/LedControl/LedControl.h:131: error: 'boolean' has not been declared
/Users/andreszb/Documents/Arduino/libraries/LedControl/LedControl.h:142: error: 'byte' has not been declared
/Users/andreszb/Documents/Arduino/libraries/LedControl/LedControl.h:153: error: 'byte' has not been declared
/Users/andreszb/Documents/Arduino/libraries/LedControl/LedControl.h:164: error: 'byte' has not been declared
/Users/andreszb/Documents/Arduino/libraries/LedControl/LedControl.h:164: error: 'boolean' has not been declared
/Users/andreszb/Documents/Arduino/libraries/LedControl/LedControl.h:179: error: 'boolean' has not been declared

I get a notification that dismisses itself very quickly at startup I can't read.

The code is:

#include <LedControl.h>

void setup(){}

void loop(){}

Anyone know what's going wrong? I could compile successfully until I replaced the files in the library for the exact same files plus the keywords.txt file.
Pages: [1]