Introduction: Voice Activated RoBoT
Voice Controlled Robot using Arduino: Hi Everyone, I hope you are fine and doing well. Today we are going to start projects related to robotics using Arduino. Today, we are going to talk about voice controlled the robot using Arduino and android application. Voice controlled robot is a mobile robot which is control by some specified voice commands. The mobile application is capable of identifying five commands which are “Stop”,”Forward”,”Back”,”Left”,”Right”. In this embedded systems project, we make a 4-WD robotic car which we can control using voice through a mobile application. Application listens and sends the instruction to the Arduino using Bluetooth and then Arduino performs the specified operation. Voice recognition application is not 100% accurate. The application is sensitive to the surrounding noises. It sometimes misinterprets the voice commands given to the robot. But you can design your own application which can ignore the surroundings and can receive your own voice only.
Step 1: Block Diagram
Components Required for voice controlled robot
Arduino Uno: Arduino Uno is used because we can mount the motor driver shield in it. It is also cheap, easy to use and acquire less space as we have to place everything on the chassis. If you are new to Arduino programming, I recommend you to check a getting started with Arduino article. Motor Driver Shield: The Motor Driver Shield is based on the L293 IC, which is a dual full-bridge driver. This is used to drive inductive loads such as relays, solenoids, DC and stepping motors. It lets you drive four DC motors and 2 servos with your Arduino. We can control the speed and direction of each motor independently.
Step 2: HC-05 Bluetooth Module
: This is a class-2 Bluetooth module with Serial Port Profile, which can configure as either Master or Slave. We can use it simply for a serial port replacement to establish a connection between MCU, PC to your embedded project and etc.
Bluetooth protocol: Bluetooth Specification v2.0+EDRFrequency: 2.4GHz ISM bandModulation: GFSK(Gaussian Frequency Shift Keying)Emission power: ≤4dBm, Class 2Sensitivity: ≤-84dBm at 0.1% BERSpeed: Asynchronous: 2.1Mbps(Max) / 160 kbps, Synchronous: 1Mbps/1MbpsSecurity: Authentication and encryptionProfiles: Bluetooth serial portPower supply: +3.3VDC 50mAWorking temperature: -20 ~ +75CentigradeDimension: 26.9mm x 13mm x 2.2 mm
Step 3: Components
4-WD Car Chassis: It contains 2 platforms made up of acrylic. It contains 4 dc motor with speed encoders. It is easy to assemble and provide much space to place Arduino, Bluetooth module, and batteries pack.
Battery: Each motor used up to 200mA current. I have used three 3.7v, 2200mA Li-ion cells in parallel. The battery pack supply 12.1 volts. Li-ion cell is a type of rechargeable battery. So we can use these cells again and again.
Step 4: Circuit Diagram of Voice Controlled Robot Using Arduino
First of all mount Motor Driver shield on Arduino Uno.
HC-05 or HC-06 Connections: Connect Vcc to 5 volts.Connect GND to Ground.Module Rx to Arduino Tx.Module Tx to Arduino Rx.If the Bluetooth module does not work make voltage divider using a 1K and 2K resistors and connect to Rx pin of the module to convert 5v to 3.3v. Motor to Motor Driver Shield: Left side motors to M3 and M4 terminals.Right side motors to M1 and M2 terminals.If the motor is rotating in opposite direction then swap the wire connection to rotate all motors in the same direction.
Step 5: Working of Voice Controlled Robot Using Arduino
Note: Always disconnect the Rx and Tx pins of Bluetooth module when uploading code to Arduino otherwise it shows some errors and code does not upload. Try “1234” or “0000” password when you connect Bluetooth module with your mobile for the first time. If the wheels are rotating in opposite direction just swaps the connection of the motor from the Motor Driver Shield terminal. Controlling robot through voice is not an efficient way. .
We have a be nice policy.
Please be positive and constructive.