Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

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.

share|improve this question

3 Answers

up vote 4 down vote accepted

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/

share|improve this answer
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? – LoveMeSomeCode Mar 1 '11 at 13:24
Plug a headphone jack into the Droid and wire the audio outputs to servos (possibly via an amp) – Toby Jaffey Mar 1 '11 at 13:47
1  
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. – LoveMeSomeCode Mar 2 '11 at 13:46

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.

share|improve this answer

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.

share|improve this answer
You mean "the Android isn't suitable for that"? – endolith Feb 28 '11 at 16:32
No. The Arduino won't be suitable as it doesn't have host mode and won't be able to communicate with the phone. – Leon Heller Feb 28 '11 at 16:54
@LeonHeller This host shield would solve the problem, wouldn't it? – Matthias Aug 10 '12 at 9:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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