Instructables
loading
loading

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 164Next »

I got things working after a bit of tinkering with the code. I actually have 2 arduino mega2560's running with just one bluetooth module you just have the first one sending the parsed integers seperated with the expected characters inbetween, but now I just want to figure out the android side of things to make a few modifications to the app, to make it fit exactly for what I need. like certain pins doing pwm and expanding it to account for the extras from my second board, if you could send me the source code and clue me in on how to adjust the user interface and how it connects I would be most appreciative. JeffMODell@me.com

nil.super2 days ago

I am learning android programming, you can give me a reference code android. Who has the code for me please. Thank you very much.

My email: nilgiang.electronic91@gmail.com

nil.super2 days ago

I am learning android programming, you can give me a reference code android. Who has the code for me please. Thank you very much.
MyEmail: nilgiang.electronic91@gmail.com

DavidL413 days ago

Hi, could you send me the source code for the Android App as i have no experience at writing phone code, i'm using a Microchip PIC 18F as the microcontroller and have written plenty of code for that end... Cheers drloakes@gmail.com

Can you please send me the ardudroid source code to ashmisvm2.3@gmail.com?

ganesh.bg.113 days ago

I have little experience with arduino. Can someone please help me with bluetooth sending and receiving android code. I am little stuck with my project. Mail me any sources if you have to bgganesh93@gmail.com. Thanks in advance.

Normen4719 days ago

Great - it took me 20 minutes to switch a LED on a arduino nano (with software-serial) - and im a total newbee!!!!!

Manymany thanks...

Normen4719 days ago
rcg_754 months ago

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

Load sketch with HC-05 removed.

ashoksoundar4 months ago

hc-05 connects but it did work properly

See my comment regarding loading the sketch... The HC-05 must be removed before uploading the sketch..

A cautionary note... If using a Uno, you must upload the sketch BEFORE plugging in the HC-05. If not, the program appears to load and the system "pairs" but no data can be transferred to the module.

It is great little sketch!

HC05a.jpgHC05.jpg
minhtoan1 month ago
RyanK41 month ago

If you could please send me the source code for the android app that would be wonderful. ryankoch35@gmail.com

thanks!

hey could you please send me the source code of this ArduDroid app.I would be very grateful to you.My Id is " harrycage@gmail.com ".

Sandeep_UNO1 month ago

dear tech bitar i am working on project to operate 4 channel relay via bluetooth.

can i just upload your programming sketch (ardudroid.ino) to arduino so it will work ??

or i need to edit anything in it.

Abood13 made it!1 month ago

super easy to setup together , and the guide is even good for absolute beginners!! thanks a lot Techbitar !!

20150302_150947.jpg
Abood13 made it!1 month ago

super easy to setup together , and the guide is even good for absolute beginners!! thanks a lot Techbitar !!

20150302_150947.jpg
Diogene921 month ago

Hello Techbitar,
Back from the future?... In chapter Updates, le first line in: Nov 19. 2031: OPINION
Please describe your "own time machine" in a new instructables; thanks a lot! ;)

sainathg1 month ago

helpful article ! could u plz send me the source code of android app ?(mail id:gade7443@gmail.com)

how to connect Bluetooth Transceiver Module with TTL Outputs-HC05 with mobile through android application to send n receive data from arduino ?

we want to build android app which should work automatically on the basis of arduino o/p. We are stuck at the connection between arduino and application.What are commands tht t add in android app? plz help me with this

sainathg1 month ago

helpful article ! could u plz send me the source code of android app ?(mail id:gade7443@gmail.com)

how to connect Bluetooth Transceiver Module with TTL Outputs-HC05 with mobile through android application to send n receive data from arduino ?

we want to build android app which should work automatically on the basis of arduino o/p. We are stuck at the connection between arduino and application.What are commands tht t add in android app? plz help me with this

nadavnoy51 month ago

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

Thanks

ManjitS2 months ago

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

Thanks

ekamin012 months ago
Great project and write-up.

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

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

siroosa3 months ago

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

arduino

source code:
siroosab@gmail.com plzzzzzzzzzzzzzzz

иванд13 months 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

celeronM3 months ago

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

attiny85etc3 months 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.

ashoksoundar4 months ago

hc-05 connects but it did work properly

廷祐顏4 months ago

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

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

satpnr4 months 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!!!
jdays4 months 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?

1-40 of 164Next »