5
\$\begingroup\$

Basically we're building a simple setup with an Arduino board and some motors. The Arduino with motor shield will control several servo motors and DC motors, and possibly talk to a few sensors. This seems to work.

But rather than hook up an XBee, or wifi or something complicated, we'd like to just throw a moto droid into the payload. This would give us A) long range communication through the internet B) a camera we could control via the internet C) realtime video from the droid's camera.

So our question is: the droid has a micro USB port on the side. What's the easiest way to plug that into an arduino (or go-between) and read/write data? I've seen a page where a guy used bluetooth, but I was hoping for a wired connection.

\$\endgroup\$

3 Answers 3

4
\$\begingroup\$

The neatest way I've seen is to drive continuous rotation servos by generating PWM signals as sound from the handset.

There are lots of open source examples of cellphone bots at: http://www.cellbots.com/

http://code.google.com/p/cellbots/

\$\endgroup\$
3
  • \$\begingroup\$ Interesting idea, but is that a wired solution? Are we talking about cutting into the droid's speaker wires? Or just emitting the sound and using the wave shield on the arduino? \$\endgroup\$ Mar 1, 2011 at 13:24
  • \$\begingroup\$ Plug a headphone jack into the Droid and wire the audio outputs to servos (possibly via an amp) \$\endgroup\$ Mar 1, 2011 at 13:47
  • 1
    \$\begingroup\$ That, my friend, is genius. If only there were a +5 button on here. I'm only irritated I didn't think of it first. \$\endgroup\$ Mar 2, 2011 at 13:46
2
\$\begingroup\$

Joby's method is probably the cleanest wired method at the moment. Android is moving toward having USB ports that are called USB On-the-go (OTG) which allows the phone to be a host or a slave. Here is a forum about it.

If you are wanting to be a bit more adventurous with bluetooth you should check out the Amarino.

\$\endgroup\$
0
\$\begingroup\$

You probably need USB host mode to interface the phone, the Arduino isn't suitable for that. A controller with USB OTG, such as a suitable ARM device, might work.

\$\endgroup\$
3
  • \$\begingroup\$ You mean "the Android isn't suitable for that"? \$\endgroup\$
    – endolith
    Feb 28, 2011 at 16:32
  • \$\begingroup\$ No. The Arduino won't be suitable as it doesn't have host mode and won't be able to communicate with the phone. \$\endgroup\$ Feb 28, 2011 at 16:54
  • \$\begingroup\$ @LeonHeller This host shield would solve the problem, wouldn't it? \$\endgroup\$
    – Matthias
    Aug 10, 2012 at 9:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.