PDA

View Full Version : PIC18 connect to USB thumb drive



Pic2008
- 26th April 2011, 16:53
I want to know if it is possible to plug USB thumb drive into PIC18 and retrieve the data stored in the USB thumbdrive and write data to this USB thumbdrive?

Any idea will be much appreciated.

Kamikaze47
- 26th April 2011, 17:31
You would require a USB host. I dont beleve its possible with just a PIC18. The PIC18s with built in USB are USB slave devices only.

If I was you I would look for a USB host chip that you could interface to a PIC. Perhaps something like this: http://www.maxim-ic.com/datasheet/index.mvp/id/3639

If you are only going to be using the USB thumb drive for storage, a simpler solution would be an SD card because it is much easier to interface to a PIC.

J. Mark Wolf
- 27th April 2011, 18:15
Check out the Vdrive. More easily transportable than the SD card.

http://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_VDRIVE2.pdf