Home Automation by Android Application Based Remote Control Under The Guidance of

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 30

Project Title

HOME AUTOMATION BY ANDROID APPLICATION

BASED REMOTE CONTROL

Under the Guidance of

Submitted by
ABSTRACT

The main objective of this project is to develop a home


automation system with Android application controlled
remote.
Remote controlled home automation system provides a
simpler solution with Android application technology.

Remote operation is achieved by any smart-phone/Tablet


etc., with Android OS, upon a GUI (Graphical User Interface)
based touch screen operation.
BLOCK DIAGRAM
HARDWARE REQUIREMENTS

 8051 series Microcontroller.

 Transformer, Opto-isolator, TRIAC.

 Voltage Regulator, Crystal.

 Diodes, Resistors, Capacitors, Lamps ,Push Button.

 Bluetooth Device.
POWER SUPPLY
230 V AC Bridge rectifier 5v Regulator
50 Hz

5V
DC

12V step down Filter(470µf)


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
• On • Timer/Coun

interrupts ter

• Int - • O • Ti • Co
er chi n- • me
Ti un
ru p ch rme
1 ter
• pt
C RO ip r0 In
Co
P M R pu
nt
U for • S
• rol
• Bu • 4A ts
O pro
s M e
SC I/O
gra
Co r
Por
mnt
• P0 P1 P2
i
• TxD
ts
P3
cod
rol • Addre a
RxD
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
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.
• 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.
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
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 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
ES ?
E RI
QU
THANK YOU

You might also like