Sei sulla pagina 1di 32

Project Title

Voice Controlled Robotic Vehicle

Under the Guidance of

Submitted by
ABSTRACT

Our proposed project aims at a robotic vehicle operated


by human speech commands. The system operates with
the use of a android device which transmits voice
commands to an 8051 microcontroller to achieve this
functionality.
The transmitter consists of the android phone Bluetooth
device. The voice commands recognized by the module are
transmitted by through the Bluetooth transmitter. These
commands are detected by the robotic vehicle in order to
move it in left, right, backwards and front directions.
PROJECT BLOCK DIAGRAM
HARDWARE REQUIREMENTS

POWER SUPPLY BLOCK


MICROCONTROLLER (AT89S52/AT89C51)
BLUETOOTH MODULE
PUSH BUTTONS
L293D MOTOR DRIVER
DC MOTOR
 INVERTER IC 7404
LED
1N4007
RESISTORS
CAPACITORS
BATTERY
POWER SUPPLY
230 V AC Bridge rectifier 5v Regulator
50 Hz

5V
DC

Filter(470µf)
12V step down
transformer
MICROCONTROLLER

 It is a smaller computer
 Has on-chip RAM, ROM, I/O ports...

CPU RAM ROM


A single chip
Serial
I/O Timer COM Microcontroller
Port
Port
INTERNAL STRUCTURE OF A MICRO CONTROLLER-
AT89S52/51

External interrupts
On-chip Timer/Counter
ROM for
Interrup program On-chip Timer 1 Counter
t code RAM Inputs
Control Timer 0

CPU

Bus Serial
4 I/O Ports Port
OSC Control

P0 P1 P2 P3 TxD RxD

Address/Data
FEATURES OF AT89S51/52
 Compatible with MCS®-51 Products

 8K Bytes of In-System Programmable (ISP) Flash Memory

 Endurance: 10,000 Write/Erase Cycles

 4.0V to 5.5V Operating Range

 Fully Static Operation: 0 Hz to 33 MHz

 256 x 8-bit Internal RAM

 32 Programmable I/O Lines

 Three 16-bit Timer/Counters

 Eight Interrupt Sources

 Full Duplex UART Serial Channel

 Interrupt Recovery from Power-down Mode

 Watchdog Timer

 Dual Data Pointer


PIN DESCRIPTION
INVERTER IC 7404

The 7404 is an inverting buffer,


especially useful when the output of one
circuit cannot sink much current.
Each of the parallel ports outputs can
be connected to one of the six inputs on
the 7404 hex inverter chip.
However, more than one 7404 will be Features:
needed to interface all of the parallel Output Drive Capability - 10
port pins. Outputs Directly Interface to
CMOS, NMOS and TTL
Large Operating Voltage Range
Low Input Current
High Noise Immunity
MOTOR DRIVER (L293D)
Features:
Wide supply-voltage range: 4.5V to 36V
Separate input- logic supply
Internal ESD protection
Thermal shutdown
High-Noise-Immunity input
 Functional Replacements for SGS L293 and SGS L293D
Output current 1A per channel (600 mA for L293D)
 Peak output current 2 A per channel (1.2 A for L293D)
Output clamp diodes for Inductive Transient suppression(L293D)
DESCRIPTION
L293D is a dual H-bridge motor driver integrated
circuit (IC).
In its common mode of operation, two DC motors
can be driven simultaneously, both in forward and
reverse direction.
The motor operations of two motors can be
controlled by input logic at pins 2 & 7 and 10 & 15.
Input logic 00 or 11 will stop the corresponding
motor. Logic 01 and 10 will rotate it in clockwise and
anticlockwise directions, respectively.
Enable pins 1 and 9 (corresponding to the two
motors) must be high for motors to start operating.
When an enable input is high, the associated driver
gets enabled
DC- MOTOR
A DC motor is an electric motor that runs on
direct current (DC) electricity. In any electric
motor, operation is based on simple
electromagnetism.
A simple 2-pole DC electric motor (here red
represents a magnet or winding with a "North"
polarization, while green represents a magnet or
winding with a "South" polarization).
Every DC motor has six basic parts -- axle, rotor
(a.k.a., armature), stator, commutator, field
magnet(s), and brushes.
WORKING OF PROJECT

The transmitter consists of the android phone Bluetooth device.


The voice commands recognized by the module are transmitted
by through the Bluetooth transmitter. These commands are
detected by the robotic vehicle in order to move it in left, right,
backwards and front directions.
The Bluetooth receiver mounted on top of the vehicle is used to
recognize the transmitted commands and decode them. After
decoding these commands are passed on to the 8051
microcontroller.
WHAT IS CALLED ANDROID..?

 Android is an open-source operating system


which means that any manufacturer can use it
in their phones free of charge.
 It was built to be truly open. For example, an
application can call upon any of the phone’s
core functionality such as making calls,
sending text messages, or using the camera.
…….CONTD

Android is built on the open Linux Kernel.


Furthermore, it utilizes a custom virtual
machine that was designed to optimize
memory and hardware resources in a mobile
environment.
WHAT IS AN ANDROID APPLICATION
ON MOBILE PHONES?

 An android app is meant for phones with an


android based operating systems. They can be
downloaded from the android app Market
which is pre-loaded on every android phone.
 Blue control APP and Bluetooth Spp APP are
some examples.
ANDROID-THE WORLD'S MOST POWERFUL
MOBILE PLATFORM
Very customizable. Open source operating system
is easily changed, hacked, manipulated, and
molded to fit whatever functionality you had in
mind. Found on all platforms for all prices
depending on what hardware and software
version you are interested in. The battery is
usually replaceable.
COMPARISION OF ANDROID WITH OTHER OS

ANDROID OS : Android is open source software,


manufacturers can modify the operating
system to suit their respective needs and
phones. This becomes a cheap and feasible
alternative for the manufacturer, as opposed to
developing an operating system in-house or
hiring a software company to do it.
i-OS:

It's not available on all carriers but this


is expanding. The battery is not
replaceable which is why all the I
Phone users you know have it plugged
in all the time as the battery degrades.
Windows Phone:

Windows Phone is a closed-sourced, which


means that it is solely developed by the
company and protected by copyright. The
Windows Store is limited as there only a few
number of apps
ANDROID APPLICATION OPERATED BLUETOOTH

 The Android platform includes support for the


Bluetooth network stack, which allows a device
to wirelessly exchange data with other
Bluetooth devices.
 The application framework provides access to
the Bluetooth functionality through the Android
Bluetooth APIs.
AN EXAMPLE OF ANDROID APP
BLUE-CONTROL SCREEN
FEATURES OF BLUETOOTH

 Super simple and easy way to interface


using Bluetooth stack.
 3.3V Device with standard 5V DC Power source.
 Can also support SPI Protocol, pins are made
available.
 Low power consumption, Low cost.
 Has high-performance wireless transceiver
system
 Can be used to interface with PC, Mac or Android
phones/tablets.
The current gain from the emitter to the collector
terminal, Ic/Ie, is called Alpha, (α), and is a function of the
transistor itself
OPTO-ISOLATOR
Opto-coupler MOC3061/63 an LED SCR type combination.
Opto coupler is a 6 pin IC.
Additionally while using this IC with microcontroller and one
LED can be connected in series with IC LED to indicate when high
is given from micro controller such that we can know that current is
flowing in internal LED of the opto-IC.
 When logic high is given current flows through LED from pin 1
to 2 .So in this process LED light falls on SCR causing 6 & 4 to
close only at the zero cross of the supply voltage.
Contd….

 During each half cycle current flows through scr gate,


external series resistor and through opto-scr for the main
thyristor / triac to trigger for the load at the beginning of the
supply cycle always to operate.
SOFTWARE REQUIREMENTS

 Keil an ARM Company makes C compilers, macro assemblers,


real-time kernels, debuggers, simulators, integrated
environments, evaluation boards, and emulators for
ARM7/ARM9/Cortex-M3, XC16x/C16x/ST10, 251, and 8051
MCU families.

 Compilers are programs used to convert a High Level


Language to object code. Desktop compilers produce an
output object code for the underlying microprocessor, but
not for other microprocessors.
 i.e the programs written in one of the HLL like ‘C’ will compile the
code to run on the system for a particular processor like x86
(underlying microprocessor in the compute).

 For example compilers for Dos platform is different from the


Compilers for Unix platform So if one wants to define a compiler
then compiler is a program that translates source code into object
code.
BIBILOGRAPHY
 “The 8051 Microcontroller and Embedded systems”
by Muhammad Ali Mazidi and Janice Gillispie Mazidi
, Pearson Education.

 ATMEL 89S52 Data Sheets.

 www.atmel.com

 www.beyondlogic.org

 www.wikipedia.org

 www.howstuffworks.com

 www.alldatasheets.com
THANK YOU

Potrebbero piacerti anche