Home Automation Ppt - Modified_2

Post on 22-Apr-2015

414 views 5 download

Transcript of Home Automation Ppt - Modified_2

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-

20

12

1

By

RAHUL BHARDWAJ (1VI08CS058)

SAGAR M. M. (1VI08CS064)

SOURABH WADHWA (1VI08CS070)

ANANT VIJAY (1VI08CS092)

ANDROID HOME AUTOMATION

2

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

ABSTRACT

Mobile phone have almost become an integral part of us serving multiple needs of humans. This application makes use of the Bluetooth feature of mobile phone as a solution for home automation. It comes handy for the family members.

3

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

WHAT IS ANDROID

Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The ANDROID SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.

4

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

SALIENT FEATURES OF THE APPLICATION Turn on/off bulb/fan

Displaying room temperature

Operating Curtains

5

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

BLOCK DIAGRAM

Cell Phone

Bluetooth

Module

MicroController

RelayCircuit

You can control all these by just running an application in your Android based phone. Bluetooth is the mode of communication between the hardware and you. The process is controlled by the micro-controller. A relay circuit is a circuit that uses a small mechanical switch or a semiconductor device which will close a contact set to complete another circuit.

6

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

ANDROID FRAMEWORK

7

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

SOFTWARE ENVIRONMENT Eclipse Galileo v3.5 or higher

Android SDK API 10 (v2.1) or higher

Windows XP/Vista/7

KEIL Embedded C Compiler

8

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

HARDWARE REQUIREMENTS

Bluetooth Prototype

Android mobile

Relay Circuit

8051 Microcontroller

LCD 16x2 Display

Stepper Motor

LM35 Temperature Sensor

Bulb

9

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

USE CASE DIAGRAM

Temperature sensor

Curtains

Lighting

Actor

10

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

SEQUENCE DIAGRAM

User Smart Home Microcontroller Device

Start application

Display home screen

Display notification Send signalActivate device

Send signalDeactivate device

Request deactivation

Display notification

Request activation

Shutdown application

Display goodbye screen

11

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

SCREEN SHOTS

Fig.1 Home Screen

12

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

SCREENSHOTS CONTINUED..

Fig.2 Activity Screen 1

Fig.3 Activity Screen 2

13

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

HYPERLINKS

The code for the main page is here and the xml document represents its graphical layout. It displays a welcome message to the user and provides the options to start the Home Automation.

The next class file provides the options to the user. User can choose either to turn on/off the lightning, or he may be interested to open or close the curtain. The graphical layout the class is provided here.

14

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2

CONCLUSION

This application makes use of the Bluetooth features of mobile phone as a solution for Home automation. It comes handy for the employs working in company/home for their basic necessities.

15

Vem

ana In

stitute

of Te

chnolo

gy 2

01

1-2

01

2