We all have a smartphone. Now, with that statement of the obvious, let me ask you this. Why is your Arduino hardly ever connected to your smartphone. Bluetooth costs about $8 to implement on an arduino. The main issue is that some people get hung-up on the issue of programming bluetooth, so they just keep the usb cord. So here is the absolutely most basic things you need to use bluetooth with android and arduino.

This tutorial will go through the bare minimum you need to create an connection between a custom android app you make with MIT App Inventor and the Arduino.

All code and references provided are based on the code from the LittleArm Arduino robot arm.

Step 1: The Bluetooth Module

The most common bluetooth module today is the HC-06 or HC-05. It costs about 7-10 dollars online. Look at the image below to see how to hook it to the Arduino.

That is pretty easy right? Just four jumper wires and you now have wireless serial connectivity to your arduino. Now, if you have a program where you have been sending commands to the arduino with the Serial Monitor you can now do that wirelessly with a bluetooth device. (Note: You can upload programs to the arduino via bluetooth, but that is significantly more complicated than what we want to achieve here.)

<p>Awesome. I am definetly going to try this. But I was thinking of upgrading it a bit. Perhaps add a label that shows the Cartesian co-ordinates of the current position of the gripper. And also providing a linear jogging mode in addition to axis jogging that you have shown.</p>
<p>This looks like a straight forward tutorial to use app inventor and arduino.</p><p>This may be the one I need to dabble in App inventor.</p><p>Thank you so much for sharing, </p><p>Build_it_Bob</p>
<p>Arduino mini pro and hc_06</p>
<p>Thanks for doing this btw . You are right about bluetooth . It can be a rugged non-productive experience.</p>
<p>Could you please post the .ino file for the arduino and the .aia file for the app inventor please . That is just a better starting place for both.</p>

About This Instructable




More by rocketboss13:Using MIT App Inventor to Control Arduino - the Basics Control Arduino Robot Arm With Ultrasonic Sensor Control Arduino Robot Arm with Android App 
Add instructable to: