Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

ANDROID BASED VOICE CONTROLLED ROBOT

By Prabakaran P.M

Summary:

This article is to make an android controlled robot or car. It will help you in building an android controlled robot without any experience in android app development by providing you the free android app. This app consists of touch and voice controlling interface of your robot. It is simple to start with downloading the app to your phone/tablet and start building your robot by following steps.

Prototype of Android Phone based Voice Controlled Arduino Robot

Fig. 1: Prototype of Android Phone based Voice Controlled Arduino Robot

Description:

Prerequisites & Equipment:

You are going to need the following:

  1. An Arduino Board or Arduino clone(Here is a guide if you need)

  2. Two DC Motors.

  3. A 5v TTL -UART Bluetooth module.

  4. Robot chassis and wheels which suit your chassis size and motor size.

  5. Arduino IDE for the programming.

Working Principle:

The communication between the robot and the android application is carried over by the Bluetooth link between the phone’s Bluetooth and the Bluetooth device in the Robot. The ASCII commands are sent from the phone to the Robot which in turn checked by the Arduino for the control of the wheels according to the commands to move the robot in the desired direction.

Application Design:

The Android app developers generally use JAVA language, but this Android app can also build without knowing the Java language. This app was developed in the online Development Environment which is developed by MIT called “App Inventor”. This app inventor is specially designed for Non-programmers those who don’t know the JAVA language. The app shown below has buttons and all the buttons gives different bytes in the output that has to be sent to the Arduino using Bluetooth for processing. For eg. If we press forward button, the Bluetooth Module will give 1 byte at its output, which is received by the Arduino to process the byte and take necessary action. The app consists of the option to use the Voice Command of the Android phone or to use the buttons to control the Robot. You can find tutorials related to the App inventor in its website.

Screenshot of Application Design of Android App used to control Voice Controlled Arduino Robot on MIT App Inventor

Fig. 2: Screenshot of Application Design of Android App used to control Voice Controlled Arduino Robot on MIT App Inventor

If you want to edit the application according to your use, here project file of the Application. You can upload this project and utilize it.

Voice_Robo.aia

Hardware assembly:

Make the circuit as is given by the circuit diagram. Make the robot assembly with your selected parts and connect the motors to the circuit. Optocouplers are used to safeguard the Arduino from High voltage risks.

Image showing Arduino circuit mounted on Voice Controlled Robot's body

Fig. 3: Image showing Arduino circuit mounted on Voice Controlled Robot’s body

Note: RX of Arduino should be connected to TX of Bluetooth module and TX of Arduino should be connected to RX of Bluetooth module.

Loading software for Arduino:

If you are new to Arduino you can start with here. You have to start with the Arduino IDE (Integrated Development Environment) from Arduino . Download the code from below link and upload it to the Arduino board.

PLEASE NOTE : SINCE THE BLUETOOTH MODULE IS CONNECTED TO THE SERIAL PINS OF THE ARDUINO, THE MODULE SHOULD BE REMOVED OR POWERED OFF WHILE UPLOADING THE CODE TO THE ARDUINO. THE MODULE CAN BE CONNECTED ONCE THE UPLOAD IS COMPLETED. 

Screenshot of Arduino code:

Image showing Arduino code used to receive voice commands for controlling the Arduino Robot

Fig. 4: Image showing Arduino code used to receive voice commands for controlling the Arduino Robot

Downloading the android application and setting up the Bluetooth:

To download the android application to your phone, download the application file from below link and copy the apk file to your phone and then install it. Check whether allowing installation of non-Market apps in one of the settings tab is checked with tick mark. Once you have installed the application, the next step is to connect with your Bluetooth module from your phone. For this, you need to power the Arduino and Bluetooth module and then turn ON the Bluetooth on your phone and make it visible to other devices. After that, search for new devices in Bluetooth, you can find your Bluetooth module from the list, enter the pairing code which is usually ‘1234’ or ‘0000’when prompted .

Note the name of your device, in this case, it is “HC-06″. After pairing with the robot, go to the “EG-ROBO” application and touch the Bluetooth button to select the paired device now the color of the Bluetooth button will be changed for a successful connection. After that the phone will get connected to your robot, and by clicking the respective buttons, the robot will move accordingly. You can also click the voice button for the voice control of the robot. Voice commands are given in the following table.

Application Download

Screenshot of User Interface of the Android App used in controlling Arduino Robot by passing Voice Commands

Fig. 5: Screenshot of User Interface of the Android App used in controlling Arduino Robot by passing Voice Commands

 

Control

Voice command

Forward

‘Go’

Backward

‘Come’

Left

‘Left’

Right

‘Right’

Stop

‘Stop’

 

NOTE: Make sure that you are connected to the internet since voice control uses Google voice Api to get the voice to text result.

Circuit Diagrams

Circuit-Diagram-Arduino-Based-Control-Circuitry-Mobile-Voice-Controlled-Robot

Project Video


Filed Under: Electronic Projects

 

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • Introduction to Brain Waves & its Types (Part 1/13)
  • Understanding NeuroSky EEG Chip in Detail (Part 2/13)
  • Performing Experiments with Brainwaves (Part 3/13)
  • Amplification of EEG Signal and Interfacing with Arduino (Part 4/13)
  • Controlling Led brightness using Meditation and attention level (Part 5/13)
  • Control Motor’s Speed using Meditation and Attention Level of Brain (Part 6/13)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • What are the battery-selection criteria for low-power design?
  • Key factors to optimize power consumption in an embedded device
  • EdgeLock A5000 Secure Authenticator
  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver
  • Introduction to Brain Waves & its Types (Part 1/13)

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • Pull up via GPIO
  • Transistors dimension with changing CMOS technology.
  • Making a ducted soldering fan?
  • Electrical Lenght of Microstrip Transmission Lines
  • Op amp non inverting amplifier not working

RSS Electro-Tech-Online.com Discussions

  • Need a ducted soldering fan for solder smoke extraction
  • How to search component to replace my burn RF inductor?
  • Question about ultrasonic mist maker
  • Someone please explain how this BMS board is supposed to work?
  • bluetooth jammer
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering