Bluetooth LE Remote control for Arduino Robot Car
BLE RobotCar is a simple application for remote control, via Bluetooth LE, of some devices equipped with an Arduino board.
After developing the app for personal use, I decided to make it available to anyone who considered it useful. The application is aimed at hobbyists interested in testing software to control the indicated devices.
Device | Sketch Arduino |
mBot - Makeblock | mBot.ino |
Robot car with board bqZumCore2 | BLEZumCore2.ino |
Elegoo Robot Car (HC-08) | ElegooBotCar.ino |
Other devices that use the BLE HC-08 module should be compatible.
The sketches contain a simple interpreter to execute the commands received via the Bluetooth device or the serial interface.
For debugging you can use the serial monitor contained in the Arduino IDE: for this purpose some commands have been added, not used by the app.
Buttons and commands
In addition to the motion control buttons, up to 3 optional buttons are available which can be activated upon request of the sketch loaded on the device. When the connection is established, the app asks the device to report the name of any optional buttons: if no text has been assigned, the button is not displayed.
The optional buttons are displayed only when the screen is vertical.
The touch of a button generates the sending of a command terminated by the newline character ('\ n'). Each button is associated with the command indicated in the following table:
Button | Command send |
MS | |
GF | |
GB | |
GL | |
GR |
To request the change of speed, the MP command is sent followed by the values for the left and right motor: MP left_speed, right_speed.
The values are in the range of -100 to +100.
For the possible activation of the optional buttons, the commands sent are:
Button | Command send |
A | BGA |
B | GBB |
C | GBC |
For feedback, send an email to:
The application is free and does not present any form of advertising.