Loading...
  Show Posts
Pages: 1 ... 9 10 [11] 12 13
151  Forum 2005-2010 (read only) / Interfacing / Re: Arduino, file systems, SD cards and copying on: July 18, 2007, 02:41:23 pm
I tried to forget it. Now you come here and start remembering me.  smiley-wink

Did you try the search?

Did you search around on other forums about it? Try the sparkfun forum.

If you have it working let me know.
152  Forum 2005-2010 (read only) / Interfacing / Re: Arduino, file systems, SD cards and copying on: July 18, 2007, 02:26:25 pm
I have that thing but it didn't really work for me. One of the reasons I use dataflash, so much easier.
153  Forum 2005-2010 (read only) / Interfacing / Re: LiquidCrystal error with Arduino0008 - ideas? on: June 30, 2007, 01:31:29 am
Change exactly what the error mentions. Open LiquidCrystal.cpp and change the "int" to "uint8_t".
154  Forum 2005-2010 (read only) / Interfacing / Re: Mouse data output from Arduino on: February 08, 2007, 03:26:04 am
You will have to look up the PS/2 protocol. But maybe this is a nice start:
http://www.arduino.cc/playground/ComponentLib/Ps2mouse I know that this is the other way around, but it might be usefull to learn the protocol.
155  Forum 2005-2010 (read only) / Interfacing / Re: SPI, geting started, troubleshoot and debug on: January 24, 2007, 03:06:41 am
Quote
Ah, so you're sending a whole byte (which is easier) with leading 0s and the last three setting up the transfer, then sending the data byte?
Yep, pretty easy, once you have figured it out.

Quote
Good information.  I'm still eyeballing this device as well as DOSonChip.  Your feedback helps me out.
If I can give you some advice: skip the dosonchip. I have it but I can't get it to work. I gave up and bought the VDIP1. With the VDIP1 you can you have two USB ports and you can attach whatever you want to it. One port can even be used as a USB host.
156  Forum 2005-2010 (read only) / Interfacing / Re: SPI, geting started, troubleshoot and debug on: January 23, 2007, 03:34:57 pm
I figured it out!  smiley-grin
Quote
I just looked at the data sheet and it appears this thing doesn't use neat 8-bit chunks.  If I read it correctly a read cycle consists of a 3 bit write followed immediately by a 9 bit read, and a write cycle is an 11 bit write followed by a single bit read.  I may be off by one bit, as I'm counting that inital high of SDO as one bit, and I read this really fast.
If you remember the datasheet, it starts with sending 3bits, actually 11, then 0. But what they don't show are the 0's before these bits. So, I tried starting with B11000000, but it should be B00000110. (without knowing the datasheet this looks like nonsens I guess)
So, I still have nothing worth mentioning at the moment. But I  am quite excited that I got something working.
157  Forum 2005-2010 (read only) / Interfacing / Re: SPI, geting started, troubleshoot and debug on: January 18, 2007, 03:47:10 pm
Quote
Also note the SPI gotcha of the clock phase and polarity (CPOL and CPHA) settings.  This gives you four different "modes" possible, and they may be different depending on the manufacturer's interpretation of the standard.  See the commented out lines of code to see some of the combinations.
I figured these settings out. But, because of the strange data I tried the other settings too. But this didn't help.
158  Forum 2005-2010 (read only) / Interfacing / SPI, geting started, troubleshoot and debug on: January 18, 2007, 11:10:40 am
I am trying to get a USB drive working with SPI. I have this thing: http://www.vinculum.com/prd_vdip1.html
I get some data but it is not really usefull. As if the ascii codes are shifted. With some trial and error I think I have got the settings for the SPCR register.
According to the datasheet: http://www.vinculum.com/documents/datasheets/DS_VDIP1.pdf page 9, some bits should be send to start with reading. But as far as I understand it you use the SPDR register for reading and writing. So, I think I making a mistake by writing the bits to the SPDR register and immediately afterwards reading the SPDR register:
Code:
char spi_transfer(volatile char data)
{
  SPDR = data;
  while (!(SPSR & (1<<SPIF)))    
  {
  };
  return SPDR;                    
}
char read_register(char data)
{
  char in_byte;
  digitalWrite(SLAVESELECT, HIGH);
   spi_transfer(B11000000);
  in_byte = spi_transfer(data);
  digitalWrite(SLAVESELECT, LOW);
  return in_byte;
}

What I want to know is how to proceed. How do you get code for SPI working? Is there some strategy? I have an acceleration sensor working with SPI, but that's only with someone else's code. Since this device speaks SPI a little bit different I have some trouble to get it working.
159  Forum 2005-2010 (read only) / Workshops / Re: Arduino workshop in the Netherlands? on: December 16, 2007, 08:47:33 am
There is a workshop at mediamatic in januari next year.
160  Forum 2005-2010 (read only) / Exhibition / Re: 4 legs robot (12 servos) on: October 14, 2007, 02:01:00 pm
Very nice stuff. How did you connect 12 servo's to 1 arduino?
161  Forum 2005-2010 (read only) / Exhibition / Re: send me a message! on: April 09, 2008, 01:40:35 am
Wow, that is pretty cool! Nice work!
162  Forum 2005-2010 (read only) / Exhibition / Re: Switchboard on: January 14, 2007, 11:09:46 am
Long time ago I thought it would be great to have foot controlled trackball. So, something like a bowling ball with a three big buttons. That way you can mouse with one foot and have two hand always on the keyboard. I don't know if you can FPS with foot controlled trackball, in that case your only hand could be on the keyboard fultime.

At some point I got used to switching between mouse and keyboard and more or less forget about the idea. Today I use a spaceball, seperate numeric keyboard and wacom tablet. An extra mouse might be nice though. (BTW, I am an engineer and almost fultime working with CAD software, so very mouse and numeric oriented)
163  Forum 2005-2010 (read only) / Exhibition / Re: ArduBlimp on: March 13, 2008, 01:17:46 pm
Congratulations Jordi! You are on bbtv and makezine! Very cool.
164  Forum 2005-2010 (read only) / News / Re: Playground getting reorganized, comments pleas on: November 06, 2007, 03:53:40 pm
Nice job Tim! It seems everything is easier to find this way.
My to three choices, in no particular order:
http://www.pmwiki.org/wiki/Cookbook/ABitModernSkin
http://www.pmwiki.org/wiki/Cookbook/LeanSkin
http://www.pmwiki.org/wiki/Cookbook/BlogSkin

165  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: LED matrix on: March 15, 2007, 02:54:58 am
i don't have a matrix but I read the datasheet and to my surprise the connections are not in numeric order. So it is not 0-7 from the first to last leg. Check the links in previous messags in this thread. Direct link to a datasheet: http://www.lc-led.com/products/lc2088tw1c.html

If possible try to use more than one colour for the wires. It is so easy to make a mistake and you won't notice it. You can also try to switch on 1 row, use Massimo's code with something like this:
max7219_put(0x01, 0xff) Here 0x01 is row1. So, try row1 to row8 and see what led's switch on. Rewire row for row until it works.

I made a circular matrix with the driver, wiring the whole thing was a challenge but using different coloured wires certainly helped. Figuring out to which rows the wires were connected to was time consuming but worth the effort. I haven't put it in the playground yet because making a circular matrix is apparently easier than writing in the playground.  :o
Pages: 1 ... 9 10 [11] 12 13