DIY Arduino Voice Controlled Robot

by mircemk in Circuits > Arduino

362 Views, 0 Favorites, 0 Comments

DIY Arduino Voice Controlled Robot

APH2.jpg

Motions can be controlled by the user by giving specific voice commands.

Supplies

IMG_20220118_114736.jpg

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

Description

DIY Arduino Voice Controlled Robot

  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: https://www.youtube.com/watch?v=IOYRwkNQz0w&t=8s. 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.

Making

IMG_20220417_095028.jpg
IMG_20220118_125157.jpg
IMG_20220118_162943.jpg
IMG_20220118_163306.jpg
IMG_20220118_163347.jpg
IMG_20220416_135314.jpg
IMG_20220416_141043.jpg
IMG_20220417_094828.jpg
IMG_20220417_094837.jpg

  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 AMR Voice app., next we need to connect the robot on Bluetooth, and after activating the microphone we give voice commands to the Robot. 

Schematic and Code

Schematic.jpg

You can download arduino code below.

Downloads