Go Down

Topic: Accessing a Flash drive from an Arduino Duemilanov (Read 7895 times) previous topic - next topic


stonechild

Thanks for the info Tze-Chien. I haven't had a chance to look at the code  yet.

More news about using USB devices. I came across a device called the
Teensy USB Development Board made by PJRC.  They claim that the USB connection can be any type of device.  There are two versions based on the AT90USB162 or AT90USB646.  They range from $19 to $27. Pretty good deal since you get a MCU as well.

PJRC: http://www.pjrc.com/teensy/index.html

AT90USB162 and AT90USB646:
http://www.atmel.com/dyn/products/view_detail.asp?FileName=AT90USB1287_2_14.html&family_id=607



sumatra

The Parallax device looks like a clone of the VDIP1.  It uses the same Vinculum chip, so it will have the same problems with SPI.  Tze-Chien's sample code uses the serial interface, which works OK on the Parallax or VDIP1.  

I've looked at the Teensy boards, but I don't really understand what USB functionality you get.  I think it just gives you some USB hardware and maybe some drivers, which allows you write your own USB code.  But I'm guessing you don't get a file system, etc.  So you'd have to write the equivalent of the Vinculum chip if you want the FAT file system.

If you or anyone else has more info about what you get on the AT90USBxxx chips, I'd love to hear about it.  Thanks!


retrolefty

The tennsy++ looks like a very interesting product. They have a beta release for allowing it to be used with a modified Arduino IDE. This seems to me to be a significant new product for the Arduino community?
http://www.pjrc.com/teensy/teensyduino.html

Lefty

Coding Badly

#19
May 10, 2009, 02:38 am Last Edit: May 10, 2009, 02:53 am by bcook Reason: 1
Quote
The tennsy++ looks like a very interesting product.


I've been using the Teensy for a few weeks now and I'm very pleased.  Pleased enough that I'm about to order two Teensy++.  It appears as a serial port to the computer and draws power from USB.  If you have questions about it, I'd be happy to try and help.

Basically, I installed the software, plugged in the Teensy, and started development :).

- Brian

Coding Badly

#20
May 10, 2009, 02:51 am Last Edit: May 10, 2009, 02:54 am by bcook Reason: 1
Quote
They claim that the USB connection can be any type of device.


I tried the Keyboard sample.  It definately works.  No special drivers needed.  Plug in the Teensy and, voilà, another keyboard.

Unfortunately, I can only get the Teensy to work with the Arduino tools if it's configured as a serial port.  Thursday, I sent an email to PJRC asking for guidance but have not yet had a reply.

They also have an alternative to the Serial Monitor (HID Listen) that I like.  Unfortunately, I can't get it to work with Arduino either.  The Serial Monitor does work with a small caveat.

If I can get Keyboard + Arduino working, my plan is to send data directly into a waiting Excel workbook.


> Pretty good deal since you get a MCU as well.

I agree!


- Brian

Jonathan Oxer

Quote
If I can get Keyboard + Arduino working, my plan is to send data directly into a waiting Excel workbook.


Follower (Philip Lindsay) has done that. He's put details on his site:

http://code.rancidbacon.com/ProjectLogArduinoUSB

I've since done the same thing and documented it for Practical Arduino (coming soon). Relevant links include:

Arduino pretending to be a keyboard:
http://www.practicalarduino.com/news/id/161
http://www.youtube.com/watch?v=SJlDyPws7Mk

Arduino pretending to be a keyboard to control a game using a Nintendo DS touch screen:
http://www.practicalarduino.com/news/id/201
http://www.youtube.com/watch?v=1cfQT7WioxI

Dany_87

Hi,

I connected the Viculum chip to a breadboard and with wires to an arduino duemilanove and the arduino is connected to the pc!...i can't seem to have a communication between a USB attached to the vinculum through the arduino and the PC!...do i need to have any drivers?

any help would be appreciated!

Go Up