BLUETOOTH APP CONTROLLER In this tutorial, we are going to control our Mechanical Kits with an Android app through bluetooth.
You can directly insert the Bluetooth Module into the TB6612 shield.
Once you have connected the Bluetooth Module to the TB6612 motor shield, you will see the LED on the Bluetooth Module continuously blink. The BT module is looking for devices close by to pair with. This is what we want. We need to pair our Android device to our BT Module.
Navigate to your Android devices settings and enter the bluetooth menu. As your BT module is powered and blinking, you will see “HC-06” as the BT module name pop up in the “available devices”.
Once selected, you will need to enter the BT module security code. The code is “1234”.
Congratulations! You have now paired your BT Module to your Android App! We are on our way to controlling our Mech Kit with a Bluetooth App. Since our app is not in the Google Play store, we are an “unknown developer”. You need to allow unknown apps to be installed on your device.
Once you have everything setup on your Android device, navigate to the Mechanical Functional Kit Page to download the OSEPP app (.apk file) at : https://osepp.
**NOTE: The App we have developed supports Android 5.1.1 (API level 22) and above. Some Android users can open our APK file without any issues. If you do run into issues, we suggest downloading the .
OSEPP ROBOTICS KITS GUIDE 9
Open the App and select our OSEPP.
After install, Open our App. It will present you with a screen to select which bluetooth device you want to pair with. Select “HC-06”.
OSEPP ROBOTICS KITS GUIDE 12
Congrats ! you have launched the BT app! We have an issue though… we need to upload the appropriate code to our Arduino Uno board. go to your appropriate Mechanical Kits product page and download the sample code.
After you have uploaded the code, quit the Android app and relaunch.