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 | 4 | |
2 | Wheels | 4 | |
3 | Bluetooth Module HC-05 | 1 | |
4 | Motor Driver (L298N) | 1 | |
5 | Jumper Wires | As Per Required | |
6 | 4 Wheel Drive | 1 | |
7 | Battery | 4 | |
8 | Arduino | 1 |
Building Guide
Step 1: Assembly
- Assemble the 4 Wheel drive bot.
- Start by unwrapping the package.
- 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.
- Repeat the same process for the rest of the motors.
- 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.
- Now repeat the same steps for the other BO motors.
- 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.
- Use the connecting rod to connect the top and the bottom part of the chassis.
- Now connect the battery box to the top chassis.
- Now connect the wheels to the bot.
- 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 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.
- Defining the motor pins.
- Fetching the values from the Bluetooth module.
- 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
With this, we come to an end of this project. Hope you enjoyed learning how to make Arduino Based Voice Controlled Robot.
Leave A Comment