About This Project

Learn how to create a Voice Controlled Robot that will be controlled using voice commands.

Project Info

  • Programming Platform: Arduino IDE
  • Difficulty: Intermediate
  • Estimated Time: 2 Hrs
  • Category: Robotics, Arduino

Introduction

The voice controlled robot is a bot that can be easily controlled by some specified voice commands like Stop, Forward, Left, Right and Back. The mobile application is capable of identifying these commands and make the bot move in the desired direction. Doesn’t this appear to be an interesting project? So, without further adieu, let’s get started.

Components Required

Sr. no. Image Component Quantity
1 bo-motor BO Motor 4
2 wheels Wheels 4
3 bluetooth-module-HC-05 Bluetooth Module HC-05 1
4 motor-driver-L298N Motor Driver (L298N) 1
5 jumper-wire Jumper Wires As Per Required
6 4-wheel-driver 4 Wheel Drive 1
7 battery Battery 4
8 arduino Arduino 1

Building Guide

Step 1: Assembly

  • Assemble the 4 Wheel drive bot.
  • Start by unwrapping the package.

4-wheet-robotic-car
Arduino-Based-Voice-Controlled-Robot-with-wheels

  • Here, you will find 4 wheels, 4 BO motors, 2 chassis (Top & Bottom), Battery Box, connectors, and nuts & bolts.
  • Now, connect the connecting wires to the bo motors connecting heads.

motor-connection
repeat-the-same-process-for-the-rest-of-the-motors

  • Repeat the same process for the rest of the motors.

connect-the-BO-motor-to-the-base-plate

  • Now connect the BO motor to the base plate or the chassis with the help of connectors and tighten them using the screw and bolts.

connect-the-BO-motor-to-the-base-plate
connect-bo-motor
connect-bo-motor-to-base

  • Now repeat the same steps for the other BO motors.

atached-red-wire-wit-voice-control-bot

  • Also, connect the red wire with the other red wire and black with the black. As shown in the image.
  • Now use the top plate of the chassis to create a sandwich-like structure.

connecting-voice-control-bot
connecting-battery-earn-other

  • Use the connecting rod to connect the top and the bottom part of the chassis.

use-of-boult-in-control-bot
voice-bot-control

  • Now connect the battery box to the top chassis.

now-connect-the-battery-box-to-the-top-chassis

  • Now connect the wheels to the bot.

connect-wheet-to-bot

  • Connect the motor driver with the motor’s pin.

Connect-the-motor-driver-with-the-motor’s-pin.

  • Now power up the motor driver board with the help of arduino.

  • Connecting the motor pins with the Arduino to control it.

power-up-the-bluetooth-and-connect

  • Power up the Bluetooth and connect the tx and rx pins.

Step 2: Logic

  • If we say forward then the bot should move forward.
  • If we say backward then the bot should move backward.
  • If we say left then the bot should move left.
  • If we say right then the bot should move right.
  • If we are not saying anything or saying something different then the bot should not move.

Step 3 Circuitry of the Robot

Powering the components

Powering the Bluetooth module

  • VCC to 5V
  • GND / to GND
  • Tx to 10
  • Rx to 11

Powering the motor driver

  • 12V to Vin pin
  • GND to GND
  • Left Motor to 3,4
  • Right Motor to 5,6

Step 4: Code

  • Start by including the libraries for software serial.

start-by-including-the-libraries-for-software-serial

  • Defining the motor pins.

  • Fetching the values from the Bluetooth module.

fetching-the-values-from-the-bluetooth-module
image

  • Use the conditional operation to check the values for the multiple input cases.

The following code will help you to make the Voice Controlled Robot:

Code

Description

Download Code

Voice Controlled Robot Code

With this, we come to an end of this project. Hope you enjoyed learning how to make Arduino Based Voice Controlled Robot.