Some time ago I introduced you to an Arduino Robot that had the ability to track an object moving in front of it. This time I used the same robot, but now I have added a Bluetooth controller so that now motions can be controlled by the user by giving specific voice commands. The speech is received and processed on a Smartphone which then sends commands to the Robot.
A few years ago I made a similar project that uses the same Android application, which is a home automation system and you can see it on above video:
The name of the Android application is "BT Voice Control for Arduino" and you can download it for free on the Google Play services.
The working principle of this application is as follows:
When the application recognizes voice as a string for example if you say "Left", the android phone will return a sting *Left# to bluetooth module connected to Arduino, where (star) and (hashtag) indicate the start and stop bits. Then in the Arduino code these strings are mapped with a certain function, in this particular example they move a group of motors with which the robot moves.
The robot is simple to build and consists of several components:
- Arduino Uno microcontroller
- L293D Motor driver shield
- 4pcs. DC gear motors with Weels
- HC-06 Bluetooth module
- switch
- and 7.4 Volts Lithium-Ion Battery pack
To make it, we need only one rectangular plate, on which lower side should be glued the engines , and on the upper surface are mounted other elements. You can use discontinued L293D motor driver shield like in my case, but also and Adafruit motor shield as is presented on the schematic diagram without any changes.
The Arduino code is very simple thanks to the "AFMotor" Library, and the only modification would be to change the delay time.
As for the Android app, we first launched the EMR Voice app., next we need to connect the robot on Bluetooth, and after activating the microphone we give voice commands to the Robot.