I am not an Arduino expert so I come to you to get some advices.
I would like to know if it is possible to transfert data from one USB key to another and vice versa, using Arduino. The idea would be to use an Arduino Mega and to plug two USB host shields on it.
I've heard about the Vinco/Vinculo project but since I've heard that some guys had a few problem with it and knowing that I am a bit more advised about Arduino, it would be nice to use this last one.
Do you think it is possible? If yes, do you have any code that could help me to do what I want?
The first thing that you need to determine is whether, or not, you can connect two USB Host shields to the Arduino at the same time. I suspect that the answer is know.
If possible, you then need to write a driver to read data from the first USB device. Then, you need to write a driver to write data to the second device.
The fact that you are here asking these questions leads me to suspect that this project is beyond your capabilities at this time.
Thank you for your answer Paul!
Lol, yes I guess it is probably beyond my capabilities, it will take (lots of) time but I still want to do it. That means that I will have to find answers to questions like the first one you suggested: Can I connect two host shields on one Arduino at the same time?
I know that it sounds kind of ambitious for a novice but I want to learn how to do it, so all informations from the Arduino community are welcome.
I ordered the Mega and the shields and I will probably receive them in two weeks knowing that I am in Brazil at the moment and that it takes longer time than in Europe or US.
Okip, I've read that you can't connect two shields on one Arduino at the same time.
Perhaps the idea could be to connect the USB shields on two Arduino UNO and then to connect the UNOs to an Arduino MEGA.
What do you think?
Which is what they call I2C?
If I do understand, the Arduino Mega would be the master and the two UNOs with the USB host shields would be slaves.
So theorically, would the USB keys plugged on both of the USB host shields be able to send or receive data appart from all the work I will have to do for the code and everything?
Thank you for your help
That's one way. There is also SPI, Serial, Bit-banging, etc.
If I do understand, the Arduino Mega would be the master and the two UNOs with the USB host shields would be slaves.
So theorically, would the USB keys plugged on both of the USB host shields be able to send or receive data appart from all the work I will have to do for the code and everything?
Thank you for your help
Why three Arduinos? Why not just have the Unos communicate with each other?
Ok, so I will have to have a better look to these communication medium.
I don't know, I thought the MEGA would be the one managing communication instead of I2C, SPI, ... but according to you I can connect a UNO and a MEGA, both equiped of the USB Host shields, by using a communication medium so no use of a third Arduino.
I know that I might have strange ideas but I'm trying to figure out the best way to build my project...
Ok, I will try to work on that and I will come back to the forum as soon as I got something.
Thanks a lot for your help and if you have anything to share, please let me know!