Wireless Voice Controlled Robot Car Using Arduino
WRITTEN BY :-ASHISH NARAYAN
Table of Contents [hide]
- 1 Overview
- 2 Bill of Materials
- 3 Block Diagram
- 4 Circuit Diagram & Connections
- 5 The Android App
- 6 Working of the Project
- 7 Source Code/Program
- 8 Video Tutorial & Explanation
- 9 Share & Spread Knowledge:
Overview
In this project, we will learn how to make Voice Controlled Robot Car Using Arduino. The robotic car can be controlled wirelessly via voice commands directly from the user. The robot can move forward, backward, left, and right and can also be stopped.
The Arduino voice-controlled robot car is interfaced with a Bluetooth module HC-05 or HC-06. We can give specific voice commands to the robot through an Android app installed on the phone. At the receiving side, a Bluetooth transceiver module receives the commands and forwards them to the Arduino and thus the robotic car is controlled.
Bill of Materials
The components required for these projects are given below. All these components can be purchased from
1 Arduino BoardArduino UNO/Nano or any other Board1
2 Bluetooth ModuleHC-05/HC-06 Bluetooth Module1
3 DC Motors12V DC Geared Motors 300 RPM2
4 Battery9V Rechargeable Battery1
5 Motor Driver ICL293D H-Bridge Dual Motor Driver IC1
6 Robot Chasis & Wheels-1
7 Connecting Wires Jumper Wires10-20
8 Breadboard-1
Block Diagram
The block diagram of Arduino Wireless Voice Controlled Robot is given below.
Arduino Wireless Voice Controlled Robot consists of a transmitter and a receiver section. The transmitter end consists of Smartphone Bluetooth and the Android app installed on it. Similarly, the Receiver section has Arduino board as a processor, HC-05 Bluetooth Module as a wireless communication module, L293D for driving motors, and a pair of DC geared as a part for moving robot.
Circuit Diagram & Connections
The circuit consists of Arduino UNO Board, HC-05/HC-06 Bluetooth Module, L293D Motor Driver IC, a pair of DC Geared Motors of 200 RPM and a 9V Battery.
The TX, RX pins of Arduino is connected to Rx, Tx pins of Bluetooth Module. The Bluetooth Module is supplied with 5V. Similarly, left DC motor is connected to pin no 3 & 6 of L293D and right DC motor to pin no 14 & 11 of L293D. Arduino digital pins 2,3,4,5 is connected to L293D 2, 7, 10, 15 respectively.
The L293D IC Pins 2, 5, 12, 13 is GND pins, and 9, 1, 16 is supplied with 5V. But pin 8 of L293D is directly supplied with 9V.
The Android App
The screenshot of the Android App is given below. Android smartphone with an app is the transmitter end. The Android speech-recognition app used here was developed using MIT App Inventor.
Initially, there needs to be pairing of Bluetooth HC-05/HC-06. Once pairing is done, then it needs to be connected. When the app is running in the smartphone, the user’s voice commands are detected by the phone microphone.
Download the Android App from here: Download
Commands are processed, and speech-to-text conversion is done within the app using Google’s speech-recognition technology. Text is then sent to the receiver side via Bluetooth.
Working of the Project
As mentioned above Voice Commands are processed by phone, and speech-to-text conversion is done within the app using Google’s speech-recognition technology. The text is then sent to the receiver side via Bluetooth. Text received via Bluetooth is forwarded to the Arduino Uno board using UART serial communication protocol. Arduino code checks the text received. Whenever the text is a matching string, Arduino controls the movements of the robot accordingly in forwarding, backward, Turning Right, Turning Left & Stop.
Signal logic levels at the different stages of the circuits for proper controlling of the robotic car are given below.
Source Code/Program
The source code/Program for Arduino Voice Controlled Robot is given below. Copy this code and upload it to the Arduino Board.
Comments
Post a Comment