PB 2Wheel Bot - TejaVooh/PB2WheelBot GitHub Wiki
This is the android section of a 3 part activity to build a 2 wheel bot.
IMPORTANT This code cannot work independently. It works together with the Arduino Code and robot assembly instructions.
The source code contains the required permissions for using the bluetooth adapter in Android version 6.0 and above.
Once you have compiled the code
To install the apk file successfully.
- You will have to turn-on the developer options on your android device
- Enable USB debugging on your android device
- Allow installation from unknown sources
- Pair and connect with your Bluetooth sensor (HC-05/HC-06/JC-MYU)
- To do this, you need to first power the Arduino and Bluetooth sensor
- Turn ON the Bluetooth of your phone and make it visible to other devices
- After that, search for new devices in Bluetooth
- Select your Bluetooth module from the list
- Enter the pairing code when prompted, it is usually '1234' or '0000'
- Go to the PB2WheelBot app, click the icon to start the application
- Enter the name of the bluetooth sensor and press ok
After the apk is installed on your android mobile