USB driver

I just got the Arduino Duemilanove and was wondering if I need to install a USB driver? I'm running Vista. Also what could be a quick test/sketch to test it out?

Well, probably. Plug in the Arduino. If it installs correctly and shows up in Device Manager, then great! If not, then yes, you need to download and install the driver.

I installed the driver correctly, I tried the blink sketch but I get this error when I upload to the board

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Do you have the correct board selected from the IDE menu? Are you sure the Arduino is plugged in (stupid question, but I have to ask :P)?

Have you selected the correct COM port for your Arduino?

The LED is blinking but I can't change the rate. How can I select the correct COM port?

Ok I got the right port It was on 4

It's under Tools->Serial Port

Also, make sure the correct board is selected under Tools->Board.

Is it working now?

To select the COM Port, in the Arduino IDE go to the Tools Menu -> COM Port, and select the COM Port your Arduino is attached to.

In Windows XP you can find the COM port from the device manager, it appears as "USB Serial Port", and will disappear when you unplug the arduino, and reappear when you plug it back in. Im not sure where the device manager is on Vista though, though it should be available from the Control Panel

Yes thanks guys now I want to put a piezzo buzzer matching the blink I'm gonna have to figure out the breadboard digital and analog.

Hi. I'm new to Arduino. I have a proximity detector attached to the board, and I would like to store data on a USB. The data is how long an individual is standing at a location. Then later I would like to download the data from the USB to a computer where I can store and analysis the data. How do I do this? Do I need another board attached to the Arduino board? Thanks.

You can't do this with a USB. A USB is a Universal Serial Bus. Can't store data on a bus. What do you do when the bus drives off with your data?

If you mean a memory stick connected to the USB port on the Arduino, I don't know of any that fit the mini-USB connector, and the Arduino couldn't drive it anyway. The Arduino is not a USB host.

You could use an SD card. There are several varieties from numerous vendors, with several libraries to choose from to facilitate storing data on the SD card.

I meant that the memory stick was attached to the board by a USB. I was under the impression that there was some board that I could attach. I have seen some programming to save data to it from the web site.

What is an SD card? Would this be better than using a stick memory?

Hook it up. Plug in an SD card - they are readily available. Install a library, and start writing data.

There is (was?) a project (http://www.obdev.at/products/vusb/index.html) that was working on a USB device for AVR chips. I didn't see anything that looked like an Arduino shield, though.

@leonhardy

In this forum, under exhibition, theres a couple of ways or (libraries) that explain methods for saving data to SD cards:(data can be saved to the cards via use of an arduino, at some remote location. Then the card can be brought back to a computer where card data can be read or transferred to the computer)

  1. Filelogger: [u]http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1240704747/0[/u]
  2. SD/MMC From the ground up: [u]http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1235125412[/u]

Both of those methods have codes(programming) that need to be down loaded, they will include rudimentery example sketches to demonstrate operation. HOWEVER, the sketches might not serve the user's purposes, and will need to be modified (BY THE USER) in order to get the setup to log the type of data that the user needs.

Sd card sockets can be applied, such as*(same as PAULS suggested)*:[u]SparkFun SD/MMC Card Breakout - BOB-12941 - SparkFun Electronics

Or micro SD card socket: [u]SparkFun microSD Transflash Breakout - BOB-00544 - SparkFun Electronics

SD cards are sold at computer supply stores. I think they are used in digital cameras. or look here: Flash Memory - microSD 1GB - COM-08163 - SparkFun Electronics

If your computer has only USB ports, you will probably need a SD card to USB converter to read/transfer data from SD card to computer. They are a small hand held device that can be bought on ebay for $1 to $5. Or here: [u]Card Reader - SD/microSD/MMC/XD - COM-08698 - SparkFun Electronics
At computer stores they are more expensive.