Close
0%
0%

Arduino Voice Controlled Robot

Hey there, here in this article, I’m going to guide you to make an Arduino Voice Controlled Robot. This is very easy to make (for beginners)

Similar projects worth following
62 views
0 followers

Before starting let’s see first What you will learn from this instructable:
• Making the right hardware selection for your project depending on its functionalities.
• Prepare the circuit diagram to connect all the chosen components.
• Assemble all the project parts (mechanical and electronic assembly).
• Finally designing your own ARDUINO-based Voice-controlled Robot.

How Arduino Voice Controlled Robot Works?

As we have already mentioned that this is an Arduino-based project, so Arduino is working here as the brain of the robot. Everything we command to move the robot will be processed by the Arduino Microcontroller. We have to write a suitable code that will help the Arduino to process and follow our instructions.

Next we need a motor driver to control the speed of the motors according to the instruction given by the Arduino Microcontroller. So, here we are going to use an L293D motor driver shield which is really very easy to connect with the motors as we as the Arduino Board.

Next, we want to send our voice command wirelessly. So here we have decided to use HC-05 Bluetooth Module which is compatible with Arduino & our Android Phone.

In the next step, we have to install an Android App and have to connect our phone with the boat via Bluetooth. Now we will send the voice command using the android app to move the boat as we wish.

Here we have added Five voice commands for Five different instructions. They are

Move Forward – The Boat will move in the forward direction for 2 second

Move Backward – The boat will move in any backward direction for 2 second

Turn Right – The boat will make a 90 ̊rotation on its right side

Turn Left – The boat will make a 90 ̊ rotation on its left side

Mechanical Part

Our first step will be to make the robot body. so, here we have to make a DIY chassis and assemble TT gear Motor with the robot chassis. Here is how it looks like in my case…

Electronics Part

Now we are going to assemble all the components with the PCB. I have made a PCB file to make it easy to assemble and ordered my PCB from JLCPCB. They are very professional in PCB making and the build time was short. I received my item within 7 working days.

After getting the PCB it was just a less than 2 minutes job to assemble all the components in a proper way.

Arduino Coding

Now I had to upload the code to the Arduino UNO.So I have attached the USB cable that comes with the Arduino UNO board and follows the steps mentioned below

· Open Arduino IDE on your PC

· Connect ARDUINO with PC via USB Cable

· Go to Tools > manage libraries > Search for AF Motor driver and download

· Go to Tools > Board > and select Arduino\Genuino UNO

· Go to Tools > Port > Select proper COM port

· Now Verify the code and then upload it

***Please don’t forget to remove/detach the HC-05 Bluetooth Module before uploading the code. Connect it after the code has been uploaded successfully.

Assemble Mechanical and Electronics Parts Together

Here in this step, I have attached the PCB board with the robot body / Chassis and connected the motor terminal with the output terminal of the L293D Motor Driver. I have also attached the 18650 Li-ion battery holder with the chassis and connected the output wires of the battery holder with the input power terminal of the L293D motor driver.

Connect with your Android Mobile Via Bluetooth

Now you will need the “AMR_Voice” app for controlling the Boat. I have given the Application link in the code you can directly download from there and install it to your Android device.

ino - 4.76 kB - 04/10/2021 at 11:13

Download

x-zip-compressed - 13.73 kB - 04/10/2021 at 11:12

Download

JPEG Image - 109.79 kB - 04/10/2021 at 11:11

Preview
Download

  • 1 × arduino uno
  • 1 × L293D Motor Driver
  • 1 × HC-05 Bluetooth Module
  • 4 × TT gear motor
  • 4 × wheels

View all 6 components

  • 1
    Step 1

    Troubleshoot:

    1. The programmer is not responding: If you face this error then it may be because of the Bluetooth Module. Always Disconnect the RX and the TX pins before uploading the code to the Arduino.

    2. The motor is not rotating in the right direction: If you face this issue then you don’t need to modify any code. You just have to Interchange the motor wires. In a simple way, I can say just connect the Motor to the Motor driver

  • 2
    Step 2

    Arduino Coding

    Now I had to upload the code to the Arduino UNO.So I have attached the USB cable that comes with the Arduino UNO board and follows the steps mentioned below

    · Open Arduino IDE on your PC

    · Connect ARDUINO with PC via USB Cable

    · Go to Tools > manage libraries > Search for AF Motor driver and download

    · Go to Tools > Board > and select Arduino\Genuino UNO

    · Go to Tools > Port > Select proper COM port

    · Now Verify the code and then upload it

    ***Please don’t forget to remove/detach the HC-05 Bluetooth Module before uploading the code. Connect it after the code has been uploaded successfully.

View all instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates