Hello everyone,
I wondered if I would have been able to read files stored on a pen drive, attached to an home-made USB module (simply the female port with the 4 pin attached to arduino in some way).
Thanks,
Lorenzo
Hello everyone,
I wondered if I would have been able to read files stored on a pen drive, attached to an home-made USB module (simply the female port with the 4 pin attached to arduino in some way).
Thanks,
Lorenzo
to read files on a USB drive you need USB Host capability, e.g.
https://store.arduino.cc/usa/arduino-usb-host-shield
Thanks a lot
Hello again. I was planning to buy this module. Before buying it, however I want to be sure that i will be able to read and write files on a pendrive attached to it and, in case, with which library?
Thanks again
Lorenzo
WHat does a 'pen drive' mean to you?
Is this a USB flash drive of sorta?
Where is the link to the product?
Where is a link to the schematic?
The product you linked to mention Android as well? (why?)
Check out Circuits @ Home, and their USB Host shield....(but also the libraries and some background on usage)
Yes, sorry I meant flash drive. the link to the module I wanted to buy is
But I don't know why he mention Android... I had chosen it because was cheap.
Anyway, I think it would be better if I explain the problem as you can try to help me.
I need to read and write files on a flash drive with arduino. I discovered that I'll need to use a module. Once I've bought this one
https://store.arduino.cc/usa/arduino-usb-host-shield
or another, I will have to program it. Is there a library to read and write files on a flash drive through an usb module?
have a look at
Hi,
What is the application that needs the Arduino to read/write to a memory stick?
If you want to store the file on the Arduino, how big is it and in what format?
Thanks.. Tom..
horace:
have a look at
SD - Arduino Reference
The sd library is good also for a usb flash drive attached to an usb host shield?
TomGeorge:
Hi,
What is the application that needs the Arduino to read/write to a memory stick?
If you want to store the file on the Arduino, how big is it and in what format?Thanks.. Tom..
I don't want to store files on the arduino. I want arduino to write a file to the usb flash drive attached to it (through the usb host module)
Hi,
Did you google arduino writing to usb stick
https://playground.arduino.cc/Main/UsbMemory
http://arduinobasics.blogspot.com.au/2015/05/ch376s-usb-readwrite-module.html
Tom...
What kind of files? Text files?