In this chapter, we are going to use most of the concepts we have learned throughout the book to control a mobile robot via an Android app. The robot will have two motors that we can control, and also an ultrasonic sensor in the front so that it can detect obstacles. The robot will also have a BLE chip so that it can receive commands from the Android app.
The application will have the following basic commands that you will need to control the robot:
Go forward
Go backward
Turn left
Turn right
Display the connection status to the robot
The following will be the major takeaways from this chapter:
Building a mobile robot based on the Arduino platform
Connecting a BLE module to the Arduino robot
Building an Android application to control the robot remotely