I am a totally newbie and keen to learn.
Based on "Collin's Lab USB Hacking with Arduino" video dated November 30th, 2010, I am really inspired to build this device. But some of the parts have discontinued.
#1. The USB host shield has been discontinued - http://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-for-arduino/. So I have to get the current replacement - USB host shield v2.0 - http://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-2-0-for-arduino-assembled/. It will also require an Arduino Uno board as the micro controller.
Instead of 2 boards, May I use USBDroid (with USB host built-in) by Freetronics USBDroid (Arduino Uno compatible with onboard Android/USB Host) | Freetronics as this is available locally?
#2. I downloaded the sketch code http://cdn.makezine.com/make/2010/12/LPK25_Host_pde-101203a.zip and paste it to latest Arduino IDE v1.0.5 under OS X and clicked "verify". There was an error on line
EP_RECORD ep_record[ LPK25_NUM_EP ]; //endpoint record structure for the LPK25 controller
the error message said
"EP_RECORD" does not name a type.
Note: In this scenario, I do not have any Arduino board yet (But I'm planning to get one), I have installed Arduino IDE software. Where did I go wrong? See below:
#3 I notice the file extension of latest Arduino v1.0.5 is .ino. The sketch file suffix downloaded above is .pde. Am I downloading the right file? Does Arduino IDE changed user's sketch file extension lately?
Any guidance/explanation would be much appreciated to plan this project properly.
Thank you.