Finalinter Merged

Download as pdf or txt
Download as pdf or txt
You are on page 1of 31

VISVESVARAYA TECHNOLOGIAL UNIVERSITY

BELAGAVI – 590018

An Internship report

on

“VOICE CONTROLLED CAR USING ARDUINO AND


BLUETOOTH MODULE”

Submitted in partial fulfilment of requirement for the award of the degree of


BACHELOR OF ENGINEERING
In

ELECTRONICS AND COMMUNICATION ENGINEERING


Submitted by
THEJASWI C Y (4GH18EC046)

Under the Guidance of


Mrs. PALLAVI H V.B.E ,M.Tech
Assistant Professor, Dept of E&CE

GEC, Hassan

DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING


GOVERNMENT ENGINEERING COLLEGE,
DAIRY CIRCLE, HASSAN-573201
2021-22
GOVERNMENT ENGINEERING COLLEGE, HASSAN-573201
Department of Electronics and Communication Engineering

CERTIFICATE

This is to certify that the project work entitled “VOICE CONTROLLED CAR USING

ARDUINO AND BLUETOOTH MODULE” is bonafide work carried by


THEJASWI C Y (4GH18EC046)
In partial fulfillment for the award of degree Bachelor of Engineering in Electronics and
Communication Engineering in Government Engineering College, Hassan Visveswaraya
Technological University, Belagaum-590014 during the year 2020-21.
It is certified that all the corrections/suggestions indicated for the internal assessment has been
approved as it satisfies the academic requirements with respect of project work prescribed for the
said degree.

................................ ................................. ................................


Guide HOD Principal
Mrs. Pallavi H V Dr. Neelappa M Dr. Prashanth S
Assistant Professor HOD Principal
Dept. of E&CE Dept. of E&CE GEC, Hassan
GEC, Hassan GEC, Hassan

EXTERNAL VIVA-VOCE
Name of the Examiners Signature with Date

1 .................................... ....................................

2 .................................... ....................................
ABSTRACT
The purpose of robotics in commercial and residential intention has to be quite essential for
executing challenging work to make simple and easy. Robotics is field where still it requires lots of
research and development. This paper represents research on designing and implementation of a
voice controlled robot using mobile phone based Arduino Uno microcontroller. The whole robot can
be controlled by voice input. HC-05 is helping to establish a communication between Arduino and
android phone. The voice command is converted into a text by the app of the smart phone and sends
a valuable data to the microcontroller for controlling a smart robot.

i
ACKNOWLEDGEMENT
I present with an immense pleasure, this work titled “VOICE CONTROLLED CAR USING
ARDUINO AND BLUETOOTH MODULE”.

I wish to express our sincere gratitude to Mr. ThejeshAchar, Technical Manager, for providing me an
opportunity to do my internship and project work on Design and Development of Embedded
systems using Arduino, Raspberry Pi and IoT at Loginware SofttecPvt.Ltd.

I sincerely thank Mr. Yashwanth Kumar. T. H and Mr. Dhananjay for their guidance and encouragement
in carrying out this internship. I also wish to express my gratitude to the officials and other staff
members of Loginware Softtec Pvt.Ltd who rendered their help during the period of our internship

I express my heartful thanks to our beloved Principal, Dr. Prashanth S, GEC Hassan for his
encouragement throughout the work.

At the outset I express my most sincere thanks to Dr. Neelappa M, Head, Department of E&CE, for
his continuous support and advice not only during the course of my project work but also during the
period of my stay in GECH.

I express my gratitude to Mrs. Pallavi H V, Assistant Professor, Department of E&CE, for assisting,
guiding and support throughout my work.

I am fortunate for being part of “Government Engineering College, Hassan”, the institute that stood by
our side and assisted me towards successfully completing the Internship presentation.

I also take this opportunity to thank all the teaching and non-teaching staff of Department of
Electronics and Communication Engineering, GEC Hassan for their tremendous support and
guidance.

THEJASWI C Y (4GH18EC046)

ii
TABLE OF CONTENTS
ABSTRACT…………………………………………………………………………………...........i
ACKNOWLEDGEMENT……………………………………………………………………….....ii
TABLE OF CONTENTS………………………………………………………………………......iii -iv
LIST OF FIGURES...........................................................................................................................v

Chapter 1…………………………………………………………………………………………...1-5
Company Information……………………........………………………………………………...
1.1 Introduction…………………………………….....................................................................1
1.2 Vision and goals…....……………………………………………………………………......2
1.2.1 Vision………………………………............................................................................2
1.2.2 Mission………………………………..........................................................................2
1.2.3 Values………………………………............................................................................2
1.2.4 Ethics……………………………….............................................................................2
1.2.5 Quality………………………………...........................................................................2
1.2.6 Innovation……………………………….....................................................................2
1.2.7 Respect for individuals…….........................................................................................2
1.2.8 Objectives……………………………….....................................................................3
1.2.9 Specific Objectives of Loginware……........................................................................3
1.3 Services...................................................................................................................................3
1.3.1 Web and Mobiles……..................................................................................................4
1.3.2 Technology Consulting…….........................................................................................4
1.3.3 Loginware Services……..............................................................................................5
1.4 Clients…….............................................................................................................................5
1.5 Loginware Global Learning……...........................................................................................5

Chapter 2……………………………………………………………………………………...…....6-8
Preamble………………………………………………………………….....................……......
2.1 Introduction…..……………………………………………………...........…………….......6
2.2 Objectives………………………....……………………………….............................…......7
2.3 Literature Review……...........................................................................................................7-8

iii
Chapter 3..........................................................................................................................................9-11
Overview of the Project………………………………………….................................................
3.1 Block diagram.......................................................................................................................9
3.2 Circuit diagram..................................................................................................................... 9-10
3.3 Working.................................................................................................................................10-11
3.4 Steps to control the robotic vehicle........................................................................................11

Chapter 4........................................................................................................................................12-14
Hardware Requirements................................................................................................................
4.1 Arduino Uno........................................................................................................................12-13
4.2 L298N Motor Driver...........................................................................................................13
4.3 Bluetooth Module HC-05……............................................................................................14
4.4 DC Motor…….....................................................................................................................14
.
Chapter 5........................................................................................................................................15-16
Software Requirements..............................................................................................................
5.1 Aurdino IDE........................................................................................................................15-16
5.2 The Android App……........................................................................................................16

Chapter 6.....................................................................................................................................................................17
Results…….................................................................................................................................17

Chapter 7........................................................................................................................................18
Advantages and Disadvantages…...........................….................................................................
7.1 Advantages……..................................................................................................................18
7.2 Disadvantages…….............................................................................................................18

Chapter 8........................................................................................................................................19
Applications……........................................................................................................................19

Chapter 9........................................................................................................................................20-24
Conclusion……..........................................................................................................................20
Appendix……............................................................................................................................ 20-23
References……...........................................................................................................................24

iv
LIST OF FIGURES
Fig:1.1: Loginware logo..................................................................................................................1

Fig 3.1: Block diagram....................................................................................................................9

Fig 3.2: Circuit diagram..................................................................................................................10

Fig 4.1: Arduino Uno......................................................................................................................13

Fig 4.2: L298N Motor Driver.........................................................................................................13

Fig 4.3: Bluetooth HC-05..............................................................................................................14

Fig 4.4: DC Motor.........................................................................................................................14

Fig 5.1: Arduino IDE.....................................................................................................................15

Fig 5.2: Android app.....................................................................................................................15

v
An Internship Report: 2021-22

Chapter 1

COMPANY INFORMATION

1.1 Loginware Softtec Pvt. Ltd:


Loginware Softtec Pvt. Ltd is an emerging startup established in the year 2016 and based
in Hassan, tier Il city of Karnataka State, Loginware is a knowledge-driven company that
values cutting edge technology practices and provides comprehensive solutions to help
our customers achieve their goals. Loginware is changing the world by changing the way
knowledge can be shared. Loginware has the dedicated young minds striving to connect
individuals with each other and with technology.

Loginware Softtec Pvt. Ltd. is a proactive player covering the full spectrum of software
services, from design, development, implementation, Validation, support and corporate
training. Loginware provides solutions that enable its customers to deliver state-of-the-art
technological solutions. Leveraging a variety of platforms from embedded engineering to
application development with system software support. Loginware is changing the world
by changing the way knowledge can be shared. Loginware has the dedicated young minds
striving to connect individuals with each other and with technology.

Loginware is supported by a strong, committed team delivering quality work. As a


diverse end-to-end solutions provider, offers a range of expertise aimed at helping
customers re-engineer and re-invent their businesses to compete successfully in an ever-
changing marketplace, with the final objective of giving clients the competitive edge in
the marketplace.

Fig1.1: Loginware logo

Dept. of E&CE, GEC, Hassan 1


An Internship Report: 2021-22

1.2 Vision and goals

1.2.1 Vision
To be a leading Technology Company, company, transforming creative ideas into reality.

1.2.2 Mission
Bringing out the best in everyone we touch, motivate, inspire and empower eachother to
do things they never thought were possible.

1.2.3 Values
Loginware core values are driven by a desire to improve life, achieve engineering
excellence, operate with the highest standards of integrity, expand access to our services
and employ a diverse workforce that values collaboration.

1.2.4 Ethics
Loginware are uncompromising in our integrity, honesty, and fairness.

1.2.5 Quality
Loginware passionate about excellence and doing our work right the first time.
Loginware reputation depends on our delivered value in the eyes of every customer and
community.

1.2.6 Innovation
Loginware develop and apply world-class technology. We listen, learn, and seek out the
best ideas. We attack complacency and continually improve.

1.2.7 Respect for individuals


Loginware adopt services to meet the needs of individual cities.

Dept. of E&CE, GEC, Hassan 2


An Internship Report: 2021-22

1.2.8 Objectives
The primary purpose of this company will be to utilize a carefully designed and
integrated set of training programs, entrepreneurship development components,
cooperative concepts and technology services to select and train individuals cities to
become new generation skilled workers cum entrepreneurs and community builders.

1.2.9 Specific Objectives of Loginware


• Creating a one-stop technology platform or a knowledge hub to support all kinds
of technology needs cities.
• Make available at one location all of the essential technology facilities, training
and support services needed by individuals cities.
• Systematically create substantial number of new modern small business
enterprises and worker cooperatives.
• Generate economic growth and employment opportunities for youth and poor
people in cities.

1.3 Services
Login ware is the one stop partner for all the technology needs of cities. An in-depth
knowledge of various technology areas enables us to provide end to end solutions and
services. With our 'Web of Participation', we maximize the benefits of our depth, diversity
and delivery capability, ensuring adaptability to individual needs, and thus bringing out
the most innovative solutions in every business and technology domain.

Embedded systems and software are driving the new-age lifestyle and various aspects of
modem life. As hardware becomes powerful and cost effective, embedded software in
devices expands its footprint in various areas such as consumer electronics,
transportation, medicine, and manufacturing.

Login ware Embedded Systems group provides offerings that meet diverse industry
Requirements. Loginware have in-depth domain knowledge and expertise in the entire

Dept. of E&CE, GEC, Hassan 3


An Internship Report: 2021-22

embedded systems space, ranging from concept to product launch. The offerings broadly
include:
• Embedded Systems Research and Development.
• Product Prototyping.
• Embedded Robotics.
• Internet of Things.

1.3.1 Web and Mobiles


The proliferation of mobile devices and the advancement in Internet services has created
an “always-on” society or “ubiquitous society,” where mobile and web services have
penetrated to every corner of today's life, Mobile and Web have greatly changed people's
way to shop, to work, and even to live, Login ware Mobile and Web services group
provide offerings that meet every individual and business need. The offerings broadly
include:
1) Website development and Maintenance.
2) Web based Application Development.
3) Custom Software Development.
4) Mobile App Development.

1.3.2 Technology Consulting


Today, business and technology innovation are inextricably linked and the demand for
technology-enabled business transformation services is rapidly growing. Social Business,
Mobility, Analytics and Cloud technologies have profoundly changed the business
landscape. To rapidly turn these advances into competitive advantages, there is a need of
an IT consulting partner with innovative solutions, well-defined strategies and deep
domain expertise.

Login ware's technology advisory services will help transform business through the
management and implementation of new apps, platforms, architecture and tech. Login
ware’s technology consulting service will work with you to refine your processes,

Dept. of E&CE, GEC, Hassan 4


An Internship Report: 2021-22

workflows and management systems that are affected by technology change and help
ensure a smooth transition.

1.3.3 Loginware Services


• Consulting
• Customization
• Branding
• Technology Migration

1.4 Clients
Loginware is a leading learning services and professional development solutions provider.
Loginware deliver learning solutions to support customers as they adapt to key business
transformations and technological advancements that drive the way that organizations
around the world differentiate themselves and thrive. Loginware learning programs,
whether designed for a global organization or an individual professional, help businesses
close skills gaps and foster an environment of continuous talent development.

1.5 Loginware Global Learning


LGL is our flagship program to share the knowledge and build the vibrant learning
network, Loginware focus on sharing the knowledge and connecting the knowledge
seekers with technology. Loginware currently offer services in the following verticals.
• On Campus Technology Workshops
• Domain Specific Training
• Technology Internships
• Corporate and Professional Training

Dept. of E&CE, GEC, Hassan 5


An Internship Report: 2021-22

Chapter 2
PREAMBLE

2.1 Introduction
Robotics is an evolving technology. The robot has been built with the intention to perform
different-different task which can adopt the further modification. Analysis on numerous
technique of controlling robot has accomplished quite a few success by introducing a
number of innovative and unique methods of robot movement control.

The framework equipment comprises of a controller outfitted with Bluetooth


communication module. It’ll be connected to the motors and other alternative components
of car. Voice controlled robot is a mobile robot which is control by some specified voice
commands. The mobile application is capable of identifying five commands which are
“Stop”,” Forward”,”Back”,”Left”,”Right”. In forward movement, all four motors will
motion in the same direction and for backward motion; movement of the motors will be
in opposite direction. For left and right movements, either of the motors will rotate and to
stop the motors will stop. In this embedded system, we make a robotic car which we can
control using voice through a mobile application. Application listens and sends the
instruction to the Arduino using Bluetooth and then Arduino performs the specified
operations using voice recognition application which is not 100% accurate. The
application is sensitive to the surrounding noises. It sometimes misinterprets the voice
commands given to the robot. But you can design your own application which can ignore
the surroundings and can receive your own voice only.

In this project, we will deliberate how to control robot controlled car using Bluetooth
module through Bluetooth application of an android mobile phone. The benefit of using
robot-controlled car is it can be used to reduce manual work. This project can be modified
quite easily to include a camera well that can stream the videos to the user over Wi-Fi
using Wi-Fi module.

Dept. of E&CE, GEC, Hassan 6


An Internship Report: 2021-22

2.2 Objectives
The main objective of the project is to control the robotic vehicle in a desired position.
Also the main objective of the project is to control the robot by the voice or push buttons.
The goal of voice controlled Robot is to listen and act on the commands received from
the user.

2.3 Literature Review


Robot Control Design Using Android Smartphone. Authors: Mrumal K Pathak,
Javed Khan, Aarushi Koul, Reshma Kalane Raunak Varshney
The motivation behind this paper is to furnish amazing computational android stages with
less difficult robot equipment design. This paper depicts how to control a robot utilizing
portable through Bluetooth communication, a few highlights about Bluetooth innovation,
segments of the versatile and robot. It present an audit of robots constrained by smart
phone by means of moving the robot upward, reverse, left and right side by the android
application, for example, Arduino, Bluetooth.

Smart Phone Controlled Robot Using ATMEGA328 Microcontroller. Authors:


Aniket R. Yeole, Sapana M. Bramhankar, Monali D. Wani, Mukesh P. Mahajan.
In this paper have structured a robot that can be controlled using an application running
on an android smartphone. It sends control order by means of Bluetooth which has certain
highlights like controlling the speed of the engine, detecting and sharing the data with
telephone about the bearing and separation of the robot from the closest hindrance.

Android Controlled Bluetooth Robot Using 8051 Microcontroller. Authors: Ritika


Pahuja, Narender Kumar.
A robot is normally an electro-mechanical machine that is guided by PC and electronic
programming. Numerous robots have been worked for producing reason and can be found
in production lines around the globe. This paper build up the remote fastens in the android
application which control the robot movement with them. What's more, in which
Bluetooth communication is use to interface controller and
android. Controller is interfaced to the Bluetooth module however UART convention

Dept. of E&CE, GEC, Hassan 7


An Internship Report: 2021-22

Robot Controlled Car Using Wi-Fi Module. Authors: S R Madkar, Vipul Mehta,
Nitin Bhuwania, Maitri Parida.
This paper, deliberate how to control robot controlled vehicle utilizing Wi-Fi module
through android application of an android Smart Phone. It is additionally show that the
apparatuses can be controlled even without an android telephone by sending an ordinary
SMS. This task can be adjusted effectively to incorporate a covert agent camera too that
can stream the recordings to the client over Wi-Fi. Sunlight based cells are rather than the
customary lithium ion battery for the venture.

Dept. of E&CE, GEC, Hassan 8


An Internship Report: 2021-22

Chapter 3
OVERVIEW OF THE PROJECT

3.1 Block diagram


The block diagram of the simple voice controlled robotic vehicle is given.

Fig 3.1: Block diagram


The part which plays an important role in the functionality of this robot is
• HC-05
• Android phone
• Arduino microcontroller
• Motor shield
• DC motor

3.2 Circuit diagram


The Circuit diagram of the simple voice controlled robotic vehicle is shown in fig 3.2
which consist of Arduino UNO Board, HC-05/HC-06 Bluetooth Module, L293N Motor
Driver Board, a pair of DC 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 and right DC motor is connected to Motor 1
terminal and Motor 2 terminal of L293N Motor Driver Board. Arduino digital pins 3,4,5,6
is connected to L293N Control Pins respectively. We also need power supplied to the
motors, for that we are taken 9V battery which is connected to the 12V port of the L298N.

Dept. of E&CE, GEC, Hassan 9


An Internship Report: 2021-22

The 5 Volts for the L298N board is being supplied from the Arduino 5 Volt output. The
Arduino itself is being powered via its USB cable, which of course will also allow you to
load the sketch to make everything work.

Fig 3.2: Circuit diagram

3.3 Working
The block diagram of the simple voice controlled robotic vehicle is given. It consists of
the smartphone that recognizes the voice commands and are being wirelessly transferred
to the Bluetooth module HC05. The module at that point changes over the order to
content and the series of characters are sent to the Arduino for additional handling. The
Arduino microcontroller decodes the string got and correspondingly performs further
capacities. The signals are sent to the motor that hence powers and drives the motors
connected to it. On the Transmitter area, commands are given to the Mobile Application
through the mic. This portable handset is associated with the moving vehicle by means of
Bluetooth module. The portable application utilized, is modified so that the voice orders
given to the handset are received by the mic and these simple voice orders are changed
over to advanced word successions (A to D transformation). These stored sequences are
than transmitted to the robotic vehicle via Bluetooth transceiver module and are sent to
the transceiver controller. Android application transceiver is used to decode the received
signal with the Bluetooth module. The controller contrasts these signals and the put away
program orders in it and convert them into voice strings. The voice strings are then used

Dept. of E&CE, GEC, Hassan 10


An Internship Report: 2021-22

to run the servo engines for the ideal interval of time. The microcontroller, sends
directions, which when executed, helps in working of the engine driver. The yield of the
Arduino goes to the engine driver IC and it controls the specific engine. A DC power
supply is required to run the system. The DC power supply feeds the Microcontroller and
the Bluetooth module.

3.4 Steps to control the robotic vehicle


• Install any Bluetooth Application for Arduino.
• Pair HC-05 Bluetooth module with the mobile Default password is “1234” or
“0000”.
• Click on the “MIC” icon and speak/instruct the robot.
• On speaking our speech gets recognized and converted into text. That text is
transferred using Bluetooth.
• The Bluetooth Module receives the string, decodes it and compares it with the
Instructions that are described in the program and moves the robot in forward
direction.

Dept. of E&CE, GEC, Hassan 11


An Internship Report: 2021-22

Chapter 4
HARDWARE REQUIREMENTS

4.1 Arduino Uno:


The Arduino Uno is an open-source microcontroller board dependent on the Microchip
ATmega328P microcontroller and created by Arduino.cc. It is programmable with the
Arduino IDE through a kind B USB cable. It can be controlled by the USB link or by an
outside 9-volt battery, however it acknowledges voltages between 7 and 20 volts.

The 14 digital input/output pins can be used as input or output pins by using pin Mode (),
digital Read () and digital Write() functions in arduino programming. Each pin operate at
5V and can provide or receive a maximum of 40mA current, and has an internal pull-up
resistor of 20-50 k Ohms which are disconnected by default. Out of these 14 pins, some
pins have specific functions as listed below:
• Serial Pins 0 (Rx) and 1 (Tx): Rx and Tx pins are used to receive and transmit TTL
serial data. They are connected with the corresponding ATmega328P USB to TTL
serial chip
• External Interrupt Pins 2 and 3: These pins can be configured to trigger an interrupt on
a low value, a rising or falling edge, or a change in value.
• PWM Pins 3, 5, 6, 9 and 11: These pins provide an 8-bit PWM output by using analog
Write() function
• SPI Pins 10 (SS), 11 (MOSI), 12 (MISO) and 13 (SCK): These pins are used for SPI
communication
• In-built LED Pin 13: This pin is connected with an built-in LED, when pin 13 is
HIGH – LED is on and when pin 13 is LOW, its off.

Along with 14 Digital pins, there are 6 analog input pins, each of which provide 10 bits of
resolution, i.e. 1024 different values. They measure from 0 to 5 volts but this limit can be
increased by using AREF pin with analog Reference ( ) function.

Dept. of E&CE, GEC, Hassan 12


An Internship Report: 2021-22

Fig 4.1:Arduino Uno

4.2 L298N Motor Driver:


The L298N is a dual-channel H-Bridge motor driver capable of driving a pair of DC
motors. That means it can individually drive up to two motors making it ideal for building
two-wheel robot platforms. The L298N motor driver module is powered through 3-pin
3.5mm-pitch screw terminals. It consists of pins for motor power supply(Vs), ground and
5V logic power supply(Vss). The L298N motor driver’s output channels for the motor A
and B are broken out to the edge of the module with two 3.5mm-pitch screw terminals.
For each of the L298N’s channels, there are two types of control pins which allow us to
control speed and spinning direction of the DC motors at the same time viz. Direction
control pins & Speed control pins. The module has two direction control pins for each
channel. The IN1 and IN2 pins control the spinning direction of the motor A while IN3
and IN4 control motor B. The speed control pins viz. ENA and ENB are used to turn the
motors ON, OFF and control its speed. Pulling these pins HIGH will make the motors
spin, pulling it LOW will make them stop. But, with Pulse Width Modulation (PWM), we
can actually control the speed of the motors.

Fig 4.2: L298N Motor Driver

Dept. of E&CE, GEC, Hassan 13


An Internship Report: 2021-22

4.3 Bluetooth Module HC-05:


HC‐05 module is simple to use. Bluetooth SPP (Serial Port Protocol) module, designed
for clear wireless serial association setup. The HC-05 Bluetooth Module is utilized in a
Master or Slave configuration, creating it a good resolution for wireless communication.
This serial poet Bluetooth module is fully qualified Bluetooth V2.0+EDR(Enhanced Data
Rate) 3MbpsModulation with complete 2.4GHz radio transcevier and baseband.

Fig 4.3: Bluetooth HC-05

4.4 DC Motor:
A DC motor is any of a class of electrical machines that converts direct current electrical
powerinto mechanical power. The most common types rely on the forces produced by
magnetic fields. Nearly all types of DC motors have some internal mechanism, either
electromechanical or electronic, to periodically change the direction of current flow in
part of the motor. Most types produce rotary motion; a linear motor directly produces
force and motion in a straight line. A DC motor's speed can be controlled over a wide
range, using either a variable supply voltage or by changing the strength of current in its
field windings.Small DC motors are used in tools, toys, and appliances.

Fig 4.4: DC Motor

Dept. of E&CE, GEC, Hassan 14


An Internship Report: 2021-22

Chapter 5
SOFTWARE REQUIREMENTS

5.1 Aurdino IDE


Arduino IDE (Integrated Development Environment) is the software for Arduino.
• It is a text editor like a notepad with different features.
• It is used for writing code, compiling the code to check if any errors are there and
uploading the code to the Arduino.
• It is a cross-platform software which is available for every Operating System like
Windows, Linux, macOS.
• It supports C/C++ language
• It is open-source software, where the user can use the software as they want it to.
They can also make their own modules/functions and add them to the software
• It supports every available Arduino board including Arduino mega, Arduino
Leonardo, Arduino Ethernet and more
• The format of Arduino is saved as .ino

Figure 5.1 Arduino IDE

Dept. of E&CE, GEC, Hassan 15


An Internship Report: 2021-22

• It works as when a user writes code and compiles, the IDE will generate a Hex
file for the code. (Hex file are Hexa Decimal files which are understood by
Arduino) and then sent to the board using a USB cable. Every Arduino board is
integrated with a microcontroller, the microcontroller will receive the hex file and
runs as per the code written.
• Arduino IDE consists of different section as Window Bar, Menu Bar, Shortcut
Buttons, Text Editor, Output Panel.

5.2 The Android App


Android smartphone with an application is the transmitter end. At first, there should
combine of Bluetooth HC-05/HC-06. When matching is done, at that point it should be
associated. When the application is running in the smartphone, the client's voice orders
are distinguished by the phone microphone.

Fig 5.2: Android app

Dept. of E&CE, GEC, Hassan 16


An Internship Report: 2021-22

Chapter 6
RESULTS
Through our Design and implementation of our proposed system, we are able to achieve
the following as results:
1. Robot is controlled through voice commands given by the user who is operating the
project.
2. These voice command needs to be given through an android app which is installed on
the users android mobile.
3. Speech recognition is done within the android app and then a respective command is
sent to the voice controlled robot vehicle.
4. Microcontroller fitted on the Vehicle decodes these commands and gives an
appropriate command to the motors connected to the vehicle.

Dept. of E&CE, GEC, Hassan 17


An Internship Report: 2021-22

Chapter 7
ADVANTAGES AND DISADVANTAGES

7.1 ADVANTAGES
1. The robotics vehicle can be used where humans find difficult to reach but human
voice reaches like in a small pipeline, in fire situations, in toxic areas etc.

2. It can be integrated with wheelchairs for assisting disabled persons.

3. It can be used to bring and place small objects.

4. In military applications such as observation of enemy camp using cameras.

7.2 DISADVANTAGES
1. Even the best speech recognition systems sometimes make errors. If there is noise or
some other sound in the room the number of errors will increase.

2. Speech Recognition works best if the microphone is close to the user will tend to
increase the number of errors.

3. In Speech recognition system, there is a possibility of unauthorized usage. Since this


doesnt depends upon which person is speaking.

Dept. of E&CE, GEC, Hassan 18


An Internship Report: 2021-22

Chapter 8
APPLICATIONS
The project has several advantages and some of the are discussed below:
• It can be developed into a real-world vehicle tor transportation purposes.

• The robotic vehicle can be used where humans find difficult to reach but human voice
reaches like in a small pipeline, in fire situations, in highly toxic areas Etc.

• It can be integrated with wheelchairs for assisting disabled persons.

• It can be used to bring and place small objects.

• In military applications such as observation of enemy camp using cameras

Dept. of E&CE, GEC, Hassan 19


An Internship Report: 2021-22

Chapter 9
CONCLUSION
In this we have developed a robot which can be controlled by human voice and it is very
cost effective. The method is proved for real- time operation. Simply in this system an
android application is used to recognize human voice and is converted to text, text is
further processed and used to control robotic movements. Whatever the command end
user will give it will execute all those. It has the ability to move forward, backward, radial
right turns, radial left turns, stop. It has built with the intention of future updates. In future
in case if you want to add some more attributes then you can easily add without a second
thought.

Dept. of E&CE, GEC, Hassan 20


An Internship Report: 2021-22

APPENDIX
CODE:
int in1=3;
int in2=4;
int in3=5;
int in4=6;
int 10;

void setup()
{
Serial.begin(9600);
pinMode(in1, OUTPUT);
pinMode(in2, OUTPUT);
pinMode(in3, OUTPUT);
pinMode(in4, OUTPUT);
pinMode(10,OUTPUT);
}

void loop()
{
if(Serial.available()>0)
{

char data = Serial.read();


Serial.println(data);
if(data=='f' )
{
Serial.println("forward");
digitalWrite(in1, HIGH);
digitalWrite(in2, LOW);
digitalWrite(in3,LOW);

Dept. of E&CE, GEC, Hassan 21


An Internship Report: 2021-22

digitalWrite(in4,HIGH);
delay(100);
}
else if(data == 'b')
{

digitalWrite(in1, LOW);
digitalWrite(in2, HIGH);
digitalWrite(in3, HIGH);
digitalWrite(in4,LOW);
delay(100);
}
else if (data == '1')
{

digitalWrite (in1,HIGH);
digitalWrite (in2,LOW);
digitalWrite (in3,HIGH);
digitalWrite (in4,LOW);
delay(100);
}
else if ( data == 't')
{
digitalWrite (in1, LOW);
digitalWrite (in2, HIGH);
digitalWrite (in3, LOW);
digitalWrite (in4, HIGH);
delay (100);
}
else if (data == 's')
{
digitalWrite (in1, LOW);

Dept. of E&CE, GEC, Hassan 22


An Internship Report: 2021-22

digitalWrite (in2, LOW);


digitalWrite (in3, LOW);
digitalWrite (in4, LOW);
delay (100);
}
}
}

Dept. of E&CE, GEC, Hassan 23


An Internship Report: 2021-22

REFERENCES
1. Robot Control Design Using Android Smartphone By Mrumal K Pathak, Javed Khan,
Aarushi Koul, Reshma Kalane Raunak Varshney.

2. Smart Phone Controlled Robot Using ATMEGA328 Microcontroller By Aniket R.


Yeole, Sapana M. Bramhankar, Monali D. Wani, Mukesh P. Mahajan.

3. Android Controlled Bluetooth Robot Using 8051 Microcontroller By Ritika Pahuja,


Narender Kumar.

4. Design of a Bluetooth Enabled Android Application for a Microcontroller Driven


Robot By Vito M. Guardi,(May 2014).

5. Android Controlled Mobile Robot By Jorge Kazacos Winter,(July2013).

6. Android Based Robot Implementation For Pick and Retain of Objects By Ranjith
Kumar Goud, B. Santhosh Kumar, (Oct 2014).

Dept. of E&CE, GEC, Hassan 24

You might also like