Close Menu
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
Facebook X (Twitter) Instagram
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn
How To Electronics
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
How To Electronics
Home » Wireless Voice Controlled Robot Car Using Arduino
Arduino Projects

Wireless Voice Controlled Robot Car Using Arduino

Mamtaz AlamBy Mamtaz AlamUpdated:August 3, 202316 Comments3 Mins Read
Share Facebook Twitter LinkedIn Telegram Reddit WhatsApp
Voice Controlled Robot Arduino
Share
Facebook Twitter LinkedIn Pinterest Email Reddit Telegram WhatsApp

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.

Previously we made some other robotic projects. You can check a few of them below:
1. Wireless Bluetooth Controlled Robot using Arduino
2. Wireless Gesture Controlled Robot Car Using Arduino
3. WiFi Controlled Robot using ESP8266
4. Make an Automatic Grass Cutting Robot using Arduino


Bill of Materials

The components required for these projects are given below. All these components can be purchased from the Amazon Link.

S.N.Components NameQuantityPurchase Links
1Arduino UNO Board1Amazon | AliExpress
2HC-05 Bluetooth Module1Amazon | AliExpress
3DC Motors 9V2Amazon | AliExpress
49V Battery1Amazon | AliExpress
5Motor Driver IC L293D1Amazon | AliExpress
6Robot Chasis & Wheels1Amazon | AliExpress
7Connecting Wires10-20Amazon | AliExpress
8Breadboard1Amazon | AliExpress




Block Diagram

The block diagram of Arduino Wireless Voice Controlled Robot is given below.

Block Diagram Voice Controlled Robot

The 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

Circuit diagram Arduino Voice Controlled Robot

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.

Android App Voice Controlled Robot

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.

Working of Voice Controlled Robot


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.

C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
String readvoice;
int k=0;
void setup() {
Serial.begin(9600);
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
}
 
void loop() {
while (Serial.available())
{
delay(3);
char c = Serial.read();
readvoice += c;
}
 
if(readvoice.length() > 0)
{
Serial.println(readvoice);
 
if(readvoice == "forward")
{
digitalWrite(2, HIGH);
digitalWrite(3, LOW);
digitalWrite(4, HIGH);
digitalWrite(5, LOW);
k=1;
}
 
if(readvoice == "backward")
{
digitalWrite(2, LOW);
digitalWrite(3, HIGH);
digitalWrite(4, LOW);
digitalWrite(5, HIGH);
k=2;
}
 
if(readvoice == "left")
{
if (k==2)
{
digitalWrite(2, HIGH);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
delay(1000);
digitalWrite(2, LOW);
digitalWrite(3, HIGH);
digitalWrite(4, LOW);
digitalWrite(5, HIGH);
}
else
{
digitalWrite(2, HIGH);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
delay(1000);
digitalWrite(2, HIGH);
digitalWrite(3, LOW);
digitalWrite(4, HIGH);
digitalWrite(5, LOW);
}
}
 
if(readvoice == "right")
{
if (k==2)
{
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, HIGH);
digitalWrite(5, LOW);
delay(1000);
digitalWrite(2, LOW);
digitalWrite(3, HIGH);
digitalWrite(4, LOW);
digitalWrite(5, HIGH);
}
else
{
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, HIGH);
digitalWrite(5, LOW);
delay(1000);
digitalWrite(2, HIGH);
digitalWrite(3, LOW);
digitalWrite(4, HIGH);
digitalWrite(5, LOW);
}
}
 
if(readvoice == "stop")
{
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
}
}
readvoice="";
}


Video Tutorial & Explanation

Wireless Voice Controlled Robot Using Arduino
Watch this video on YouTube.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit Telegram WhatsApp
Previous ArticleIoT Based RFID Attendance System Using Arduino ESP8266 & Adafruit.io
Next Article 12V to 24V Voltage Doubler Circuit

Related Posts

DC Energy Meter using Arduino

Build a DC Energy Meter using Arduino – 32V/5A

Updated:August 26, 20252K
Interfacing ADXL375 Accelerometer with Arduino

Interfacing ADXL375 Accelerometer with Arduino (±200g)

Updated:June 28, 2025
PZEM-004T Arduino Energy Meter

DIY AC Energy Meter using PZEM-004T & Arduino

Updated:March 6, 20258K
Interfacing BMI160 Accelerometer & Gyroscope with Arduino

Interfacing BMI160 Accelerometer & Gyroscope with Arduino

Updated:February 2, 20259K
Password Based Door Lock Security System Using Arduino & Keypad

Password Based Door Lock Security System Using Arduino & Keypad

Updated:February 2, 20252436K
Earthquake Detector Alarm with with Accelerometer & Arduino

Earthquake Detector Alarm with Accelerometer & Arduino

Updated:February 2, 2025661K
View 16 Comments

16 Comments

  1. rolls on March 26, 2020 12:23 AM

    I completed all the connection according to your diagram but unfortunately one of the wheel is not moving resulting the car moving in circular motion. can you please tell me what might be the problem.

    Reply
  2. Divyanshu Jha on April 6, 2020 11:34 AM

    In video and materials required, there are only two motors. But in code, 4 motors are mentioned. Why ?

    Reply
    • Mr. Alam on April 6, 2020 11:35 AM

      Only 2 motor needed. In the code each motor will go forward and backward making 2 direction for each motor.

      Reply
  3. Çelebi Uluyol on December 18, 2020 12:36 AM

    Your project is very helpful. Thank you very much. I have doctoral degree and I am preparing Arduino booklet which includes some Arduino projects for teachers. These teachers are working in the government schools. My booklet is not a commercial material. Teachers can help from my booklet and can help students to make Arduino projects in government schools.

    Can i use that project and pictures (similar pictures more than one) in my booklet? Is there a copyright problem? I will show and cite your page in the references section.
    Thanks for your help.
    Best regards.

    Reply
    • Mr. Alam on December 18, 2020 12:37 AM

      Of course you can use. But attach the reference link.

      Reply
  4. Çelebi Uluyol on December 18, 2020 12:38 AM

    Thank you very much. I cited your project adress. Cong! and thanks.

    Reply
  5. manbir sigh on May 12, 2022 8:01 PM

    sir my code is not working its shows ererreor at readvoice &gt

    Reply
  6. ShawnWaltas on May 28, 2022 7:34 PM

    Hello im getting an error on the code gt was not declared in this scope

    Reply
  7. SHAWN WALTAS on May 28, 2022 7:37 PM

    im also getting the same error

    Reply
  8. Udit Kumar on November 6, 2022 6:23 AM

    Code Error Solved:

    String readvoice;
    int k=0;
    void setup() {
    Serial.begin(9600);
    pinMode(2,OUTPUT);
    pinMode(3,OUTPUT);
    pinMode(4,OUTPUT);
    pinMode(5,OUTPUT);
    }

    void loop() {
    while (Serial.available())
    {
    delay(3);
    char c = Serial.read();
    readvoice += c;
    }

    if(readvoice.length() >0)
    {
    Serial.println(readvoice);

    if(readvoice == “forward”)
    {
    digitalWrite(2, HIGH);
    digitalWrite(3, LOW);
    digitalWrite(4, HIGH);
    digitalWrite(5, LOW);
    k=1;
    }

    if(readvoice == “backward”)
    {
    digitalWrite(2, LOW);
    digitalWrite(3, HIGH);
    digitalWrite(4, LOW);
    digitalWrite(5, HIGH);
    k=2;
    }

    if(readvoice == “left”)
    {
    if (k==2)
    {
    digitalWrite(2, HIGH);
    digitalWrite(3, LOW);
    digitalWrite(4, LOW);
    digitalWrite(5, LOW);
    delay(1000);
    digitalWrite(2, LOW);
    digitalWrite(3, HIGH);
    digitalWrite(4, LOW);
    digitalWrite(5, HIGH);
    }
    else
    {
    digitalWrite(2, HIGH);
    digitalWrite(3, LOW);
    digitalWrite(4, LOW);
    digitalWrite(5, LOW);
    delay(1000);
    digitalWrite(2, HIGH);
    digitalWrite(3, LOW);
    digitalWrite(4, HIGH);
    digitalWrite(5, LOW);
    }
    }

    if(readvoice == “right”)
    {
    if (k==2)
    {
    digitalWrite(2, LOW);
    digitalWrite(3, LOW);
    digitalWrite(4, HIGH);
    digitalWrite(5, LOW);
    delay(1000);
    digitalWrite(2, LOW);
    digitalWrite(3, HIGH);
    digitalWrite(4, LOW);
    digitalWrite(5, HIGH);
    }
    else
    {
    digitalWrite(2, LOW);
    digitalWrite(3, LOW);
    digitalWrite(4, HIGH);
    digitalWrite(5, LOW);
    delay(1000);
    digitalWrite(2, HIGH);
    digitalWrite(3, LOW);
    digitalWrite(4, HIGH);
    digitalWrite(5, LOW);
    }
    }

    if(readvoice == “stop”)
    {
    digitalWrite(2, LOW);
    digitalWrite(3, LOW);
    digitalWrite(4, LOW);
    digitalWrite(5, LOW);
    }
    }
    readvoice=””;
    }

    Please Subscribe My channel And Support Me https://www.youtube.com/channel/UCa-GTOHtQFAd-40NGJOtOkg

    Reply
  9. bhavesh pawar on December 22, 2022 3:22 AM

    can you check the connection of one wheel

    Reply
  10. Shivam on January 24, 2023 3:33 AM

    can you please share the image of the breadboard connection

    Reply
  11. Seema Singh on January 24, 2023 3:54 AM

    Can u ple send me the breadboard connection because i cant abe to make with direct connection and with direct connection it is not working so please send me the breadboard connection

    Reply
  12. vikas on April 23, 2023 3:11 AM

    i connected everything as in the video it is switched on and bluetooth is connected but when we give the command its not moving what we need to do

    Reply
    • Tyagi on March 28, 2024 8:12 AM

      App is not working on my mobile

      Reply
  13. nagaraj nandhi on February 22, 2024 3:50 AM

    when i start command move forward that time the smartphone show like this “move forward is unrecognized command try again or check your connection i connected correctly but comes like this so please give the solution sir

    Reply

CommentsCancel reply

Latest Posts
IoT Based PM & Air Quality Monitoring System using ESP32

IoT Based PM & Air Quality Monitoring System using ESP32

May 31, 2026
DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

May 10, 2026
IoT Activity Tracker with ESP32 & Accelerometer Gyroscope

IoT Activity Tracker with ESP32 & Accelerometer/Gyroscope

May 2, 2026
A Guide to Sourcing Obsolete ICs for Vintage Projects

Beyond AliExpress: A Guide to Sourcing Obsolete ICs for Vintage Projects

April 21, 2026

ESP32 IoT Vehicle Motion Analyzer with MPU6050 & LIS3MDL

April 27, 2026
Building a Smart Sensor Node with a BLE Microcontroller

Building a Smart Sensor Node with a BLE Microcontroller

February 26, 2026
High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

April 27, 2026
DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

February 1, 2026
Top Posts & Pages
  • 12V DC to 220V AC Inverter Circuit & PCB
    12V DC to 220V AC Inverter Circuit & PCB
  • IoT Based PM & Air Quality Monitoring System using ESP32
    IoT Based PM & Air Quality Monitoring System using ESP32
  • Buck Converter: Basics, Working, Design & Application
    Buck Converter: Basics, Working, Design & Application
  • IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
    IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
  • ECG Graph Monitoring with AD8232 ECG Sensor & Arduino
    ECG Graph Monitoring with AD8232 ECG Sensor & Arduino
  • How to use INA226 DC Current Sensor with Arduino
    How to use INA226 DC Current Sensor with Arduino
  • IoT Based ECG Monitoring with AD8232 ECG Sensor & ESP32
    IoT Based ECG Monitoring with AD8232 ECG Sensor & ESP32
  • How to use INA219 DC Current Sensor Module with Arduino
    How to use INA219 DC Current Sensor Module with Arduino
Categories
  • Arduino Projects (197)
  • Articles (60)
    • Learn Electronics (19)
    • Product Review (15)
    • Tech Articles (28)
  • Electronics Circuits (46)
    • 555 Timer Projects (21)
    • Op-Amp Circuits (7)
    • Power Electronics (13)
  • IoT Projects (204)
    • ESP32 MicroPython (7)
    • ESP32 Projects (81)
    • ESP32-CAM Projects (15)
    • ESP8266 Projects (76)
    • LoRa/LoRaWAN Projects (22)
  • Microcontrollers (38)
    • AMB82-Mini IoT AI Camera (4)
    • BLE Projects (18)
    • STM32 Projects (19)
  • Raspberry Pi (93)
    • Raspberry Pi Pico Projects (57)
    • Raspberry Pi Pico W Projects (12)
    • Raspberry Pi Projects (24)
Follow Us
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
About Us

“‘How to Electronics’ is a vibrant community for electronics enthusiasts and professionals. We deliver latest insights in areas such as Embedded Systems, Power Electronics, AI, IoT, and Robotics. Our goal is to stimulate innovation and provide practical solutions for students, organizations, and industries. Join us to transform learning into a joyful journey of discovery and innovation.

Copyright © How To Electronics. All rights reserved.
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us

Type above and press Enter to search. Press Esc to cancel.

Ad Blocker Enabled!
Ad Blocker Enabled!
Looks like you're using an ad blocker. Please allow ads on our site. We rely on advertising to help fund our site.