views:

433

answers:

3

Has anyone tried to make Android and Arduino communicate with each other?

I found a couple of projects online:

What do you guys suggest is the best way to make those two communicate?

+2  A: 

I've been working with Amarino since they started and I haven't had a problem since. However I have no experience with other projects since I have only worked with one.

These are my two favorite opensource devices though. Way to go with not joining the iPhone band wagon. It really pleases me when there is someone who takes the initiative to go far and beyond, because it shows that your thinking about the long run. Most people don't.

Immanu'el Smith
+1  A: 

Your options seem to boil down to connecting the two using a serial interface, or via bluetooth (I'm guessing you'll either need a bluetooth shield or something similar). There are umpteen resources on the internet dealing with setting up Arduinos with both of these.

You may also be able to set up some sort of basic server on the Arduino and be able to interface the phone to it via a console, or through a specially defined interface on the phone, or even a web based interface. There seem to be a fair few robot designs being controlled by Android/Arduino maybe have a look at these.

Without some more ideas about what you intend to do once they're linked it's difficult to be more specific, although if you root your android phone you will be able to install a cut down version of Debian on it, and then you will be able to apt-get install various packages. With this in mind, there becomes little difference between connecting your Arduino to a computer and connecting it to your Anroid phone.

[EDIT]: If nothing else you could make an Arduino based one of these: Android Controlled Statue

Amos
+5  A: 

Either build a serial cable for your android-phone, like this one for the G1 http://www.instructables.com/id/Android-G1-Serial-To-Arduino/

or add a bluetooth module to your arduino,

or use an ethernet-shield for your arduino and connect via tcp/ip

Which one to use depends on your project and your budget. I don't know if the serial cable option exists for phones other than the G1. The bluetooth module has the advantage of beeing wireless for both, the arduino and the Phone, and using the ethernet-shield you could make the arduino worldwide accessible by using port-forwarding on your firewall

Nikolaus Gradwohl