About Arduino Bluetooth Controller
This android app can establish a connection with any Arduino/microcontroller project that has a Bluetooth module interfaced! It allows the user to connect any kinds of Bluetooth module like HC-05 and HC-06. For most of the modules the default pin for connecting is “1234”
With this app you can easy connect and send data to your microcontroller. The app will itself guides you to the control screen. Still if you are too busy you can read below to know all possible controls
1. Open the APP
2. Click the next button from the open screen
3. Now turn on you Bluetooth and pair the device you want to control. E.g. you paired your HC-05 which is connected to your Arduino.
4. Then click “Yes, I understood” and you will be taken to the control screen.
5. In the control screen click the “connect” button and select your device
6. Now whenever you press one of the four keys it will send a data to your Arduino/microcontroller board.
7. With the “Speed” slider you can also sent analogue values. E.g. you want to control speed of a car
8. If you want to send custom values to your microcontroller click the “Tools” icon named “Set Keys”.
9. From there you can set values for each of the four keys and click the “Tools” icon again.
Done! Now it’s time to control your project wirelessly.
Arduino code to receive the data
#include
SoftwareSerialbluetooth(10, 11); // Connection pins for bluetooth RX & TX.
//I used software serial so that you can upload the code even with the bluetooth module connected.
intrecieved;
void setup() {
pinMode(13,OUTPUT);
Serial.begin(9600);
bluetooth.begin(9600);
digitalWrite(13,0);
}
void loop()
{
while (bluetooth.available()) { // Recieves Data from bluetooth and stores in recieved variable
recieved = bluetooth.read();
Serial.println(recieved); // Prints the last recieved data.
delay(50);
}
}
Soon I’ll upload the link of the tutorial “How to control your Microcontroller with smartphones over Bluetooth ” I have written. Or you can check www.tutor.robogearsbd.com for tutorials I wrote.
This is app was developed for learning purpose. The platform used to develop this app was MIT App Inventor 2.If you are interested to make and app like this I can help you with the file just mail me at adnan.sabbir2012@gmail.com. If you can edit this app and make a better version of it please also let me know and if you want I will also share your app so that other can get benefited or develop further and you name will be included as a contributor.
Follow me on Facebook:www.facebook.com/ILivetoCode .
Please don’t forget to give your reviews,
Thank You.
Download and install
Arduino Bluetooth Controller version 2.0 on your
Android device!
Downloaded 500+ times, content rating: Everyone
Android package:
appinventor.ai_adnan_sabbir2012.Arduino_Bluetooth_Controller_V2, download Arduino Bluetooth Controller.apk
by J####:
I want the source code to learn mit app inventor. How can I get it ?