Top Banner
“Android based Wireless Load Control and Monitoring” DAYANANDA SAGAR ACADEMY OF TECHNOLOGY AND MANAGEMENT Dept. of Information Science & Engineering. By, Thrishma Reddy.S (1DT11IS044) Bhuvana A.U (1DT11IS009) Mohammed Mujahid Afsar Under the guidance of Prof. Supreetha Pai (Assistant Professor)
23

Home automation using android phones-Project 2nd phase ppt

Jul 28, 2015

Download

Lifestyle

thrishma reddy
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Home automation using android phones-Project 2nd phase ppt

“Android based Wireless Load Control and Monitoring”

DAYANANDA SAGAR ACADEMY OF TECHNOLOGY AND MANAGEMENT

Dept. of Information Science & Engineering.

By, Thrishma Reddy.S(1DT11IS044)Bhuvana A.U (1DT11IS009)Mohammed Mujahid Afsar(1DT11IS025)

Under the guidance of

Prof. Supreetha Pai(Assistant Professor)

Page 2: Home automation using android phones-Project 2nd phase ppt

CONTENTS

• Problem Statement• High level design

i)Modular classification

ii)System architecture

iii)Data flow diagram• Detailed design

i)Use case diagram with scenario

ii)Sequence diagram

iii)Activity diagram• Implementation

i)Modular design

ii)Pseudocode• Gantt chart

Page 3: Home automation using android phones-Project 2nd phase ppt

PROBLEM STATEMENT

• While people are pursuing ever-growing high quality of their lives today. This leads to more and more facilities and home appliances poured into their buildings. How to control and manage these versatile facilities and appliances in a house?

• Usually conventional wall switches are located in different corners of a house and, thus necessitate the need of manual operations like pressing to turn the loads on or off. It becomes very difficult for the elderly or physically handicapped people to operate them. How to help them?

Page 4: Home automation using android phones-Project 2nd phase ppt

HIGH LEVEL DESIGN

Page 5: Home automation using android phones-Project 2nd phase ppt

MODULAR CLASSIFICATION

Fire sensor

GSM module

Notification received on the phone through SMS

SMS converted to speech

• Fire Sensor Module

Intruder sensor

GSM module

Notification received on the phone through SMS

SMS converted to speech

• Intruder Alarm Sensor Module

Page 6: Home automation using android phones-Project 2nd phase ppt

• Fan Module

Fan

OFF

ON

Android Phone

Lights

OFF

ON

Android Phone

• Lights Module

Page 7: Home automation using android phones-Project 2nd phase ppt

SYSTEM ARCHITECTURE

(P89V51RD2)

Page 8: Home automation using android phones-Project 2nd phase ppt

DATA FLOW DIAGRAM

Page 9: Home automation using android phones-Project 2nd phase ppt

DETAILED DESIGN

Page 10: Home automation using android phones-Project 2nd phase ppt

Home appliances

system

LPG gas

fan

light intruder

water level

<<include>>

Set valuesON/OFF

Security alert

(USER)

Alert police

Set valuesON/OFF

set valueON/OFF

Fire alert

Alert notification(USER)

Smoke alert

Set valuesON/OFF

<<include>><<include>>

<<include>>

<<exclude>>

<<exclude>>

<<exclude>>

<<exclude>>

<<exclude>>

user

Fire dept

police

USE CASE DIAGRAM WITH SCENARIOS

<<include>>

<<exclude>> <<exclude>>

Page 11: Home automation using android phones-Project 2nd phase ppt

: Home Owner

:Login :Hardware

1: enter usrname & passwd

5: access

2: send username & passwd

3: authenticate

4: Ack

SEQUENCE DIAGRAM FOR LOGIN

Page 12: Home automation using android phones-Project 2nd phase ppt

: Home Owner

:Microcontroller :Light

1: select light

2: check status

3: return status

4: display status

6: select options : turn on/off

7: enter value turn on/off

8: set value

9: update

10: ack

11: display result

5: display options

SEQUENCE DIAGRAM FOR CONTROLLING LIGHT

Page 13: Home automation using android phones-Project 2nd phase ppt

: Home Owner

:Microcontroller :Fan

1: Select Fan

2: Check status

3: Return Status

4: Display Status and menu

5: Select Turn on/off

6: Set Values

7: Update

8: ACK

9: Display result

SEQUENCE DIAGRAM FOR CONTROLLING FAN

Page 14: Home automation using android phones-Project 2nd phase ppt

: Home Owner

:Sensor :Microcontroller

: Fire Dept/Police Dept

4: Display warning

1.send signal

2: Return Signal

3: Notify Firedept

SEQUENCE DIAGRAM FOR FIRE ALARM/LPG LEAKAGE/INTRUDER

Page 15: Home automation using android phones-Project 2nd phase ppt

: Home Owner

:Microcontroller :Water level

1: select water level

2: check status

3: return status

4: display status

6: select options : turn on/off

7: enter value turn on/off

8: set value

9: update

10: ack

11: display result

5: display options

SEQUENCE DIAGRAM FOR WATER LEVEL DETECTION

Page 16: Home automation using android phones-Project 2nd phase ppt

ACTIVITY DIAGRAM

Page 17: Home automation using android phones-Project 2nd phase ppt

IMPLEMENTATION

Page 18: Home automation using android phones-Project 2nd phase ppt

MODULAR DESIGN

• Fire sensor moduleI(FFS 05)

The Fire sensor is used to detect fire flames . The module makes use of Fire sensor and comparator to detect fire up to a range of 2 meters. It uses a input voltage of +5VDC.

• Intruder detection module(PIR SENSOR)

The unit output is high whenever human’s motion is detected. In simple terms, it is a motion detector. This sensors measure infrared radiation emanating from objects in the field of view. Apparent motion is detected when an infrared emitting source with one temperature, such as human body, passes in front of source with another temperature, such as wall.

Page 19: Home automation using android phones-Project 2nd phase ppt

CONTD…

• Fan Module

It is directly connected to the microcontroller, it has only two functions ON/OFF. The user can switch on the fan or switch off the fan using the android app.

• Lights module

It is directly connected to the microcontroller, it has only two functions ON/OFF. The user can switch on the light or switch off the light using the android app.

Page 20: Home automation using android phones-Project 2nd phase ppt

PSEDOCODE

if (IR_1 == 1))

{

LCD_Message( 0x80, " HUMAN ENTERED " );

GSM_Send_SMS( Mb_Num1,"HUMAN ENTERED");

}

if(Float == 1)

{

LCD_Message( 0x80, "WATER LEVEL HIGH" );

GSM_Send_SMS( Mb_Num1,"WATER LEVEL HIGH");

}

if(Gas sensor == 1)

{

LCD_Message( 0x80, "gas leackage" );

GSM_Send_SMS( Mb_Num1,"gas leackage");

}

Page 21: Home automation using android phones-Project 2nd phase ppt

if( Bulb== 1)

{

Bulb_Relay== 1

LCD_Message( 0xC0, " BULB IS ON " );

GSM_Send_SMS( Mb_Num1," BULB IS ON ");

}

if(Fire == 1)

{

LCD_Message( 0x80, " fire " );

GSM_Send_SMS( Mb_Num1,"fire");

}

if(Fan== 1)

{

Fan_Relay==1;

LCD_Message( 0xC0, " FAN IS ON " );

GSM_Send_SMS( Mb_Num1, "FAN IS ON" );

}

Page 22: Home automation using android phones-Project 2nd phase ppt

GANTT CHART

Page 23: Home automation using android phones-Project 2nd phase ppt

THANK YOU