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.

asked Feb 28, 2011 at 15:47
\$\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/

answered Feb 28, 2011 at 15:55
\$\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\$ Commented 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\$ Commented 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\$ Commented 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.

answered Feb 28, 2011 at 17:55
\$\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.

answered Feb 28, 2011 at 15:51
\$\endgroup\$
3
  • \$\begingroup\$ You mean "the Android isn't suitable for that"? \$\endgroup\$ Commented 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\$ Commented Feb 28, 2011 at 16:54
  • \$\begingroup\$ @LeonHeller This host shield would solve the problem, wouldn't it? \$\endgroup\$ Commented Aug 10, 2012 at 9:13

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.