I'm planning to connect an old mobile phone (N95) to an Arduino over USB so I can use the hardware onboard the phone (accelerometer, GPS, Wifi) to build a Hexacopter without having to shell out for all the expensive bits.Think again. Your phone will act like a USB slave.
The Arduino is also a USB slave.
Two slaves can not talk to each other.
For the Arduino to communicate with/control the phone, you will need:
- A USB Host shield
- A whole lot of talent and experience to write a driver
- Not a small amount of luck.
Keep in mind that the GPS and accelerometer built into the phone are not exactly high-quality, high-precision devices.
My questions is simple enough, which Arduino board should I get?Any of them that accept shields.
Is there any way I can use the existing USB, having the phone act as the host controller, to save money?Well, certainly. If you can figure out how to make the phone act like something it isn't - a USB Host to be exact.
Essentially, I'll need to drive six motors and maybe three proximity sensors.Those proximity sensors will be very useful for keeping your helicopter from bumping into things. Right?
Also, perhaps a movable payload for mounting a camera, but that's not essential at this stage.Sure, dream big. Are you building a Huey?
Any thoughts from those more knowledgable than me?Well, yeah. But, I'll keep them to myself. He-he.