Sie sind auf Seite 1von 36

ANDROID APPLICATION CONTROLLED

REMOTE ROBOT OPERATION



Under the Guidance of



Submitted by


Project Title
ABSTRACT

The project is designed to control a robotic vehicle using
an android application.
Bluetooth device is interfaced to the control unit on the
robot for sensing the signals transmitted by the android
application.
This data is conveyed to the control unit which moves the
robot as desired.
An 8051 series microcontroller is used in this project as
control device.
Remote operation is achieved by any smart-
phone/Tablet etc., with Android OS, upon a GUI
(Graphical User Interface) based touch screen
operation. Transmitting end uses an android
application device remote through which
commands are transmitted.
EXISTING SYSTEM












In the Present situation ,a Robot is controlled by manual
over ride .
Every time a manual action is required to Switch ON and
Switch OFF the buttons to control the Robot.
So at that time only Robot is moving according to the
manual instruction.
Missing the objective that need to monitor the Robot
wirelessly

PROPOSED SYSTEM
Proposing a system ,where a Robot is monitored wirelessly.

Giving instructions to the Robot wirelessly ,with an IR
(infrared) Transmission with a Remote controller acts as an
Transmitter

By IR(infrared) Receiver, Robot receives the commands
wirelessly from transmitter and perform the task

By this we can operate our Robot with remote control ,which
has a advantage in performing various tasks automatically
according to instructions by IR transmitter


BLOCK DIAGRAM


HARDWARE REQUIREMENTS

8051 series Microcontroller,
DC motors, Motor Driver IC,
Crystal, Resistors, Capacitors,
Voltage Regulator, Battery,
Robot Body,
Bluetooth Device.

POWER SUPPLY
230 V AC
50 Hz
5V
DC
12V step down
transformer
Filter(470f)
5v Regulator Bridge rectifier
MICROCONTROLLER
It is a smaller computer
Has on-chip RAM, ROM, I/O ports...

RAM ROM
I/O
Port
Timer
Serial
COM
Port
Microcontroller
CPU
A single chip
INTERNAL STRUCTURE OF A MICRO CONTROLLER-AT89S52/51
CPU
On-chip
RAM
On-chip
ROM for
program
code
4 I/O Ports
Timer 0
Serial
Port
OSC
Interrup
t
Control
External interrupts
Timer 1
Timer/Counter
Bus
Control
TxD RxD
P0 P1 P2 P3
Address/Data
Counter
Inputs
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
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)

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 phones
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.
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.

Generic Default Visibility at Software
side:HC-06 or Linvor
Default Pairing code is not '0000' but
'1234'.
Please use Baud Rate with 8-N-1
connectivity from other device.
Works with any microcontroller with Serial
connectivity.

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.

TSOP1738
Features:-
Photo detector and preamplifier in one package
Internal filter for PCM frequency
Improved shielding against electrical field disturbance
TTL and CMOS compatibility
Output active low
Low power consumption
High immunity against ambient light
Continuous data transmission possible (up to 2400 bps)
Suitable burst length .10 cycles/burst

Description:-
The TSOP17 series are miniaturized receivers for infrared remote
control systems.
PIN diode and preamplifier are assembled on lead frame, the epoxy
package is designed as IR filter.
The demodulated output signal can directly be decoded by a
microcontroller.
TSOP1738 is the standard IR remote control receiver series,
supporting all major transmission codes.
BC547 (NPN Transistor)
The BC547 transistor is an NPN Epitaxial
Silicon Transistor.
It is used in general-purpose switching and
amplification BC847/BC547 series 45 V, 100
mA NPN general-purpose transistors.
The ratio of two currents (Ic/Ib) is called the DC Current Gain of
the device and is given the symbol of hfe or nowadays Beta, ().
The current gain from the emitter to the collector
terminal, Ic/Ie, is called Alpha, (), and is a function of the
transistor itself
Conventional T.V. remotes output infra red codes.
A standard TV remote that delivers infrared codes at 38 KHz is
thus received by the TSOP receiver feeding a 14 bit data so emitted
from the remote to the controller through receiver.
The program is so returned that it recognizes the corresponding 14
bit data relating to a particular number being pressed at the remote.
The program is so returned i.e., while executed it sends commands
to the motor driver IC as per its requirement for running the motor
for the movement of the robot as explained in the subject above in
L293D.
The TV remote button 1 is for left, 3 is for right, 2 is forward, 5 is
for backward and 0 is for stop.
OPERATION OF PROJECT
Soft ware 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 computer).

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

Das könnte Ihnen auch gefallen