I want to build an small data logger based around ATMEL's 8535 (or one of
the AVR Mega).
I need to log around 300MBytes of data. USB memory sticks are cost effective
storage mediums. Is there a simple way to interface a USB memory stick with
an ATMEL microcotroller?
Ray
Joe G (Home) - 26 Dec 2005 18:22 GMT
Hi Ray,
A USB memory stick is a USB device/peripheral and is designed to be
connected to a USB host (Eg a PC with USB host stack in XP etc).
The problem is - your ATMEL micro needs software that implements a USB host
stack of a PC.
Have you considered other flash storage mediums like SD, CF or MMC cards and
a FAT file system so your PC can read the file stored on these cards?
Just a thought.
JG
>I want to build an small data logger based around ATMEL's 8535 (or one of
> the AVR Mega).
[quoted text clipped - 5 lines]
>
> Ray
newtype - 26 Dec 2005 20:54 GMT
> ATMEL's 8535
here's a USB IC
http://www.beyondlogic.org/usb/ftdi.htm
Adrian Jansen - 26 Dec 2005 22:28 GMT
>>ATMEL's 8535
>
> here's a USB IC
>
> http://www.beyondlogic.org/usb/ftdi.htm
Plenty of USB slave devices around. But you need a USB host to talk to
a memory stick.
Much easier to talk to a CF card for datalogging from an AVR. Code
already exists to talk to a FAT filesystem on a card with an AVR.

Signature
Regards,
Adrian Jansen adrianjansen at internode dot on dot net
Design Engineer J & K Micro Systems
Microcomputer solutions for industrial control
Note reply address is invalid, convert address above to machine form.
Michael C - 29 Dec 2005 01:05 GMT
> Much easier to talk to a CF card for datalogging from an AVR. Code
> already exists to talk to a FAT filesystem on a card with an AVR.
Much easier to use SD I would have thought, less pins.
Michael
Jasen Betts - 26 Dec 2005 21:26 GMT
> I want to build an small data logger based around ATMEL's 8535 (or one of
> the AVR Mega).
> I need to log around 300MBytes of data. USB memory sticks are cost effective
> storage mediums. Is there a simple way to interface a USB memory stick with
> an ATMEL microcotroller?
for that task you'd need a microcontroller that has usb master
functionality, many can function as slaves (eg behave like a
memory stick) few can function as masters (eg read or write write
to an attached stick)
ATMEL have app notes on interfacing their serial eeprom chips to their
microcontrollers would it be practical to use that for storage
provide USB interface for download?
AIUI these eproms cost about the same or less than the USB sticks.
Bye.
Jasen
Michael C - 29 Dec 2005 01:04 GMT
>> I want to build an small data logger based around ATMEL's 8535 (or one of
>> the AVR Mega).
[quoted text clipped - 14 lines]
>
> AIUI these eproms cost about the same or less than the USB sticks.
Can you get these eeproms is 300MB though?
Michael
Jasen Betts - 29 Dec 2005 09:50 GMT
>>> I want to build an small data logger based around ATMEL's 8535 (or one of
>>> the AVR Mega).
[quoted text clipped - 16 lines]
>
> Can you get these eeproms is 300MB though?
hmm, no. Atmel only goes to 256K.
sounds like one of the generic serial flash cards like SD or XD might be the
answer.
Bye.
Jasen