Instructables

ArduDroid: A Simple 2-Way Bluetooth-based Android Controller for Arduino

Contest Winner
Picture of ArduDroid: A Simple 2-Way Bluetooth-based Android Controller for Arduino
HC-05 to arduino with divider.jpg

UPDATES:

REQUIREMENTS

  • Breadboard wiring and electronics skills.
  • Arduno Uno.
  • HC-05 Bluetooth serial module.


INTRODUCTION

ArduDroid (formerly Andruino) is a simple tool to help you control your Arduino (or clone) from your Android phone. It's both an Android app and an Arduino program. ArduDroid has a simple Android user interface to 1) control Arduino's digital and PWM pins 2) send text commands to Arduino 3) and receive data from Arduino over Bluetooth serial using the ever popular and really cheap (less than $10 from ebay) HC-05 Bluetooth over serial module. This app has been tested and designed for the HC-05 Serial Bluetooth module. Other Bluetooth modules may or may not work. Please see comments section for users who tried other Bluetooth modules with this app.

INSTALL FROM GOOGLE PLAY
https://play.google.com/store/apps/details?id=com.techbitar.android.Andruino

ArduDroid should work with other Bluetooth modules with some tweaking but I have only tested it with the HC-05. This is an alpha version that's running fine on my Samsung Galaxy S2 Plus. Please share your experience running ArduDroid on your phone. Also, while I used Arduino Uno in this prototype, feel free to experiment with other models of Arduino. Please share your experience to help me improve this app.

I have published a guide before on building and programming a circuit with the HC-05 Bluetooth module and Arduino but I will briefly describe again in this guide how to wire the circuit using a breadboard and jumper wires.

ArduDroid is an app that evolved during one of my development projects. Special thanks to engineer Jafar Quttaineh for testing the app and for his invaluable input.

 
Remove these adsRemove these ads by Signing Up
1-40 of 142Next »
ekamin015 days ago
Great project and write-up.

Could you please send me the source code for the Android app to
ekamin551@gmail.com
siriusm5 days ago

Muy buen trabajo, podría enviar el código fuente de Android para entender cómo funciona, Saludos y Gracias.

siroosa15 days ago

Very good project!!! !!!!!!!!Could you please send me the Android &

arduino

source code:
siroosab@gmail.com plzzzzzzzzzzzzzzz

иванд118 days ago

Hi. Very good instruction. Thank you . I want to use it with relay(control lights at home). Could you send me android source code please, so that i could modify the design. My email: sistudio2013@gmail.com Sorry for my English/ Thank you

celeronM22 days ago

Very nice project!!! Could you please send me the Android source code:
mail id:kaustubhawale@yahoo.in
Thank you very much!!

attiny85etc22 days ago

Thank you for your excellent presentation. I have downloaded the skeletal arduino code. Given my meager level of proficiency, I could really use an example of, let's say, a specific 1) analogWrite to pin 11, 2) digitalWrite to pin 13, 3) Send text, like a "Hello world", and 4) Get text. From there I could go to town making other applications.

hc-05 connects but it did work properly

hc-05 connects but it did work properly

廷祐顏1 month ago

Very nice project!!! Could you please send me the Android source code:

hsyowyow101@gmail.com
Thank you very much!!!

satpnr1 month ago

sathyan.nlr@gmail.com

Very nice interesting project.Kindly tell me how to make a change of any one of the out put pin act as a momentary on with 2 second delay. please mail me.

Very helpful !!! Could you please send me the Android source code:davidhengo@hotmail.com
mail.com
Thank's a lot!!
Very nice project!!! Could you please send me the Android source code:
yangcheng111989@gmail.com
Thank you very much!!!
Very nice project!!! Could you please send me the Android source code:
yangcheng111989@gmail.com
Thank you very much!!!
jdays1 month ago

Yes ... it worked for me ... for those who are using the Arduino Mega 2560 , the only problem I got was ---( Serial.Begin("baudrate") )-- I just changed to Serial1.Begin("baudrate") , and so I did with all related with Serial.Begin , since Mega has 4 ports for UART protocol ... feel free to try with all of them in order to see if works... hope I might give you this idea, because I'm using the HC-06 and arduino Version 1.0.6 and I was tired of seeing problem with the communication ( "timeout")

Yeah this doesn't explain or show any code for the android?

It would be nice to see how you are sending the data?

Very nice project!!! Could you please send me the Android source code:
yangcheng111989@gmail.com
Thank you very much!!!

May I get the code so I can try this on my Windows Phone?

rcg_752 months ago

somebody HElp me. I am done with the 9Steps, But still my project not working. Thanks a lot

rcg_752 months ago

i am able to load the program in arduino via USB cable, from arduino 1.0.6

rcg_752 months ago

Hi techbitar good day! My arduino won't work. I am able to connect to HC-05 by my android phone. but when i press the 13, 12 to 02 its not functioning, it seems like cant communiacte to arduino ATmega168. GETdata is showing chars. SENDdata is sending chars.

Please help, i am stuck with this project...

mmáté12 months ago

Great! Easy setup and the test setup work immediately.

JohnN32 months ago

Hello, and thanks for sharing your great work. You have helped rekindle my interest after retiring from an electronics career. I am working on many projects that are basically remote controllers, and have successfully written "workable" apps using the MIT app inventor. I am new to all these technologies, but working through. Although my app works well after manually turning on the Bluetooth function on my smart phone, I'd like to be able to turn bluetooth on and off from the app as you do. I am having trouble understanding how that works. The only app writing I've done is with the MIT App Inventor. Can you offer any guidance as to how to achieve this. If you are aware and knowledgeable of MIT's App Inventor can it be written using the block editor, of must I first learn C? Thanks and enjoy your work as much as we do!

jvelasco53 months ago

I am new with interfacing arduino and android, this is very helpful!

Thank you and wonderful work!

Hello,

can you send the source code for android to me too? This would be very helpful for me. cac_fer@hotmail.com

Thank´s a lot

Can you please send me the source code for this android app on my mail please: juancarlosenlared@gmail.com

good job.

JohannesC15 months ago

Hello,

can you send the source code for android to me too? This would be very helpful for me.

Thanks

piotrlech5 months ago

Thanks a lot for your comprehensive description! Based on which I added a Real Time Clock and
433 MHz controlled sockets to my basic home automation. The source code of my
app is uploaded to https://code.google.com/p/haotc/.

arishy7 months ago

I hope it is not too late to comment on your wonderful work.

In the send part, it will be ideal to provide drop down to select from "programmed" text. By that I mean if you program the sketch to respond to specific text it is better to be "typed" correctly!!!.

Of course , you will add the function of "adding" to the drop down "combo box" selection. I hope you understand what I am suggesting.

When you provide us with code, we will be able to contribute to your work.

arishy7 months ago

I hope it is not too late to comment on your wonderful work.

In the send part, it will be ideal to provide drop down to select from "programmed" text. By that I mean if you program the sketch to respond to specific text it is better to be "typed" correctly!!!.

Of course , you will add the function of "adding" to the drop down "combo box" selection. I hope you understand what I am suggesting.

When you provide us with code, we will be able to contribute to your work.

proton3057 months ago

hi, your project works really fine, and I'll like to use it for my garden water system, but I need to customize the android app. Would you please share with me the eclipse source code ? thanks a lot

my email is proton305@gmail.com

proton305

craque7 months ago

I'm using the HC-06 BlueTooth module (I didn't understand the difference between HC-06 and HC-05; still don't). I got TechBitar's Android app and Arduino code to work without a flaw. Thanks TechBitar, now I have something I can work with.

Peter5605138 months ago

Like many others I think this is a great project. I'm just getting started and if I could have a copy of the source code for the Andriod app that would be appreciated. My email address is peter560513@gmail.com.

cgs18 months ago
If u have the source code than please do forward it to me Chanducgs123@gmail.com
mike_vasili11 months ago

hello... i have a an arduino mega 2560 a bluetooth module HC-05 and a galaxy s4. the problem is that, to watch the data received from the phone to the serial monitor of arduino i have to constantly press the reset button of the arduino. please help me...

can please someone help me? i am trying to do my final year project at the university

Me too. I need the code for my final year project!!!

cgs1 dbraganza8 months ago
If u have hot the source code than please do forward it to me

Chanducgs123@gmail.com
this is nice project..

can you send the source code for andorid, i want learn more..

send please at my email enshev92@gmail.com
cgs1 yardiansyah8 months ago
If u have hot the source code than please do forward it to me

Chanducgs123@gmail.com
sdavid28 months ago

Amazing!
mind sharing your android code? I like to customize it for a project of mine.

if you don't mind: Shachar_bd1@walla.com

thanks!

1-40 of 142Next »