Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: TinyGPS static_test example won't compile. on: January 25, 2012, 12:39:31 pm
Quote
The NewSoftSerial library was incorporated into the 1.0 release of the IDE [...] Change your "#include of <NewSoftSerial.h>" to "#include <SoftwareSerial.h>."
...as well as any classes named "NewSoftSerial" to "SoftwareSerial".  smiley-cool

Answer is in this post:
https://www.adafruit.com/forums/viewtopic.php?f=31&p=131267#p131273
2  Forum 2005-2010 (read only) / Interfacing / Re: Arduino interfacing with Java/JSP on Linux on: April 05, 2008, 05:02:14 pm
Finally, I'm using a proxy server as mentioned here : http://www.arduino.cc/playground/Interfacing/SerialNet

You can easily connect to it using a Socket in Java. smiley-grin Off course it would be slower to use a proxy, but it's ok for testing and ok for me because I plan to communicate with flash eventually.
3  Forum 2005-2010 (read only) / Interfacing / Re: Arduino interfacing with Java/JSP on Linux on: April 05, 2008, 12:01:50 pm
I guess the jUSB API will work well for you on Linux : http://jusb.sourceforge.net

I could not try it because I'm on a mac.  smiley-sad However I'm interested in the java.io method. How is it going for you ? I will give it a try too and post some updates here.
4  Forum 2005-2010 (read only) / Interfacing / Re: Unstable display with Max7219 on: December 28, 2008, 09:30:04 pm
Horray! it seems to work now.  smiley-grin

I added the two capacitators specified in the link provided by dogsop (http://www.arduino.cc/playground/Main/MAX72XXHardware). Also, I changed the RSet value to 20k, my 4k7 was way too low. And I think the main error was due to the resistance value because Itried to remove the capacitators from the circuit and it was functionning ok. I'm leaving the capacitators there anyway, but this was a funny thing I noticed.

So everything is great, thanks everyone for your precious hints!  smiley-wink

David
5  Forum 2005-2010 (read only) / Interfacing / Re: Unstable display with Max7219 on: December 23, 2008, 03:06:54 pm
Hi all, thanks for your quick respones!

Well, I missed the part about the capacitators in the datasheet... actually, don't I think I know how to read a datasheet properly  smiley-grin I'm learning in a raw fashion. I also guess I put the Rset too low (I used a 4k7 resistor). I saw in datasheet and in the doc provided by dogsop that the resistant should be higher than that.

I'm gonna start by fixing those two problems. It will surely help! I'll update this post when I get further improvments smiley-wink Thanks again!

--
BTY here are the pics of my circuit... sorry it looks like a mess since I don't get much space on the board.



--
You get more detailed pictures on the link I provided on the first post if needed.
6  Forum 2005-2010 (read only) / Interfacing / Unstable display with Max7219 on: December 23, 2008, 11:46:36 am
Hi Everyone,

I feel BAD playing with my freeduino and my Max7219 to display graphics on a 8x8 led matrix. I think I got all the wiring ok, but the display is somewhat unstable. You can get a video here:

http://diceinateapot.blogspot.com/2008/12/i-feel-like-busted.html

Basically, what my code does is to light all leds on the display then wait one second, then clear the display, then wait one second and starover. It does not light all the lights, sometime its a line, sometime is only the half of the display... I really don't know what to do with this, but I feel like I BUSTED my IC because I've been wiring it badly the first time I used it. I wanted to know is someone has an idea about this before I give up  :'(

I also tried with other graphics (a dot or a line) but I get the same behavior.

Thanks!

p.s.: code of my program:

Code:
#include "LedControl.h"

// Led matrix
// Create a new LedControl.
  // Pin 2 = DATA IN-pin (1) of MAX7219
  // pin 4 = CLK-pin (13) of MAX7219
  // pin 3 = LOAD-pin(12) of MAX7219      
LedControl gMatrix1 = LedControl(2, 4, 3, 1);

// Setup function
void setup() {
  //wake up the MAX72XX from power-saving mode
   gMatrix1.shutdown(0, false);
   //set a medium brightness for the Leds
   gMatrix1.setIntensity(0, 8);
   gMatrix1.clearDisplay(0);
}

// Main loop function
void loop() {
  
  for (int i = 0; i < 8; i++) {
    for (int j = 0; j < 8; j++) {
      gMatrix1.setLed(0,i,j,true);
    }
  }
  
  delay(1000);
  gMatrix1.clearDisplay(0);
  delay(1000);
}
7  Forum 2005-2010 (read only) / Interfacing / Re: LED Matrix from Sparkfun... on: December 23, 2008, 10:34:51 am
Hi,

I've been working on LedMatrixes with the Max7219. I bought my ICs directly from Maxim site :
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1339/t/or
I bought the MAX7219CNG+ and I've been using it with the LedControl library (you can find info and tutorials on this site).

Beware, though, that this IC could only control one color of the matrix. So if you have a RG matrix, it would be either R or G or orange. Maybe by using two ICs you could control two colors, but I did not try it so I cannot say if it works or not (or even if it would cause a disaster  :o).

The Serial Interface from Sparkfun could control two colors, but I've no experience using it:

http://www.sparkfun.com/commerce/product_info.php?products_id=759

Regards,
8  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Chip for Universal IR Remote ? on: June 20, 2008, 06:06:39 pm
Thanks for all your comments, it really encourages me. I didn't even thought of simulating a push of buttons, maybe I'll give it a try!

I think that, at first, I would like to keep my device small, so I guess that just capturing and copying the signals I need would be enough. Actually, I just need power on/off, volume up/down and channel up/down. I'll try spankyham's CRO idea and see what could be done. I'll post an update here when it comes.

Thanks again all!
9  Forum 2005-2010 (read only) / Frequently-Asked Questions / Chip for Universal IR Remote ? on: June 13, 2008, 07:29:52 pm
Hi,

I have a project for which I want to build an IR remote to control some devices in my house (TV, stereo, dvd, light switch). I know there's different IR communication protocol I have to use to make this happen. I found on this forum a topic regarding an api to control RC5 compliant devices (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1209565937/5)

This is very interesting, but most of my devices are not RC5 compliant (I've Sony, Toshiba and Panasonic devices), so I have to find out about how these protocols work as long as what device ids and button codes to use... and that makes me feel pain.  :-[

I've been told that there exist a kind of chip that comes with a lot of device and button codes so I can use it with my Arduino board to build a kind of universal remote. I've tried to find this kind of chip, but I don't even know how it's called.

I wonder if anyone on this forum has an idea regarding this and if someone could provide me with more information that would be great! smiley-grin

Thanks!

Guli
Pages: [1]