Smart Home

43
Thiagarajar College Of Engineering SMART HOME GUIDE: Dr. (Mrs.) S.RAJU Mr. K. HARIHARAN

Transcript of Smart Home

Page 1: Smart Home

Thiagarajar College Of Engineering

SMART HOME

GUIDE: Dr. (Mrs.) S.RAJU

Mr. K. HARIHARAN

Page 2: Smart Home

Thiagarajar College Of EngineeringSMART HOME

SMART HOME Team:

M.Alagappan

T.Balaji Srinivasan

S.M.Jerome Lourdu Vikram

S.Pradheep

S.Vasantha Kumar

S.Vivek Swaminathan

Page 3: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Home Automation

Page 4: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Objective

Developing a prototype on the Home of the Future.

Control Appliances by monitoring various Parameters (using Sensors) and keeping the User updated on the Status.

Establishing a wireless data transfer link using Zigbee protocol.

Developing a network of Zigbee nodes that communicate seamlessly.

Page 5: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Product Overview

Page 6: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Product Overview

Page 7: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Key Features Implemented

Lighting Control Systems.Intruder Detection System.Monitor Temperature and Light Intensity.Mobile node for Monitoring and Control.Schedule various Appliances.Data transfer using Zigbee protocol.Seamless Zigbee Network.

Page 8: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Flow of this Presentation

Overview on Zigbee Ground Work.Sensor Specifications.Mobile Node.Appliance Control using Relay.Product Working.

Page 9: Smart Home

Thiagarajar College Of EngineeringSMART HOME

WIRELESS over WiredWIRELESS over Wired

FlexibilityFlexibility ScalabilityScalability Ease of deploymentEase of deployment RetrofittingRetrofitting Reduced cost Reduced cost Fit and forgetFit and forget

Page 10: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Protocols OverviewProtocols Overview

ZigBee802.15.4

Wi-Fi802.11b

Wi-Fi5802.11a/HL2

GSM/CDMA GPRS/3G LMDS

High Data RateLow Data Rate

Sh

ort

Ran

geL

ong

Ran

ge

WAN

LAN

PAN

Bluetooth 2

Text

Digitalvideo Multi-channel

video

GraphicsInternet

Hi-Fiaudio Streaming

video

Bluetooth 1802.15.1

WiMedia802.15.3

Page 11: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Why ZIGBEE ???Why ZIGBEE ???

Reliable and Self HealingReliable and Self HealingSupports large number of nodesSupports large number of nodesEasy to deployEasy to deployVery long battery lifeVery long battery lifeSecureSecureLow costLow costLess channel access timesLess channel access timesCan be used globallyCan be used globally

Page 12: Smart Home

Thiagarajar College Of EngineeringSMART HOME

What is Zigbee?What is Zigbee?

Specification of protocols for small, low-power radios

Operates at 868.3MHz,902-928MHz,2.4-2.48MHz

Zigbee-Alliance Companies developing and promoting the

standard 150+ members

Page 13: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Silicon

PHY Layer

MAC Layer

LLC Layer

Network Layer

ZigbeeStack

Application

Application Interface

Application

Cu

stom

er

Zig

bee A

llian

ce

IEE

E

Zigbee Stack

CC2420CC2420 A Zigbee IC from Texas instruments that has both A Zigbee IC from Texas instruments that has both physical and MAC layerphysical and MAC layer

Page 14: Smart Home

Thiagarajar College Of EngineeringSMART HOME

EasyBee Module

True single-chip 2.4 GHz IEEE802.15.4 compliant RF transceiverLow current consumptionProgrammable output power128(RX) + 128(TX) byte data buffering Hardware MAC encryption Battery monitor

Page 15: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Ground Work

Identification and procurement of the various Components and Sensors.

Development of all the hardware necessary for the product development.

Fabrication of a common platform for interoperable module development.

Basic Testing of Working of the boards.

Page 16: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Work Flow

Requirement Analysis

Components Identification

Component Procurement

Development Boards

Hardware Circuit Design

Zigbee Network Formation

Mobile Node Development

Appliance Control using Relays

Integration of modules

Prototype Development

Initial Works

Development

Integration

Page 17: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Development Boards

AVR Microcontroller Development board for developing Sensor modules.

Dual Power Supply Selection. On Board Serial Communication. 2 X 4 Matrix Keyboard and LEDs. JTAG and SPI compatible. In System Programmable.

Easybee Development Board for Zigbee Programmer for AVR ATmega series.

Page 18: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Zigbee Development Board

Page 19: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Sensors Used

Temperature Sensor- DS1624Motion Sensor- AMN 13112(PIR).Light Intensity - Light Dependent

Resistor.Real Time Clock- DS1307

Page 20: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Temperature Sensor: DS1624

I2C- Two Wire Interface.

Page 21: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Motion Sensor: AMN13112

Detects changes in Infrared radiation which occur when there is movement by a person

Page 22: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Light Dependent Resistor

Resistance varies with Light Intensity.

Page 23: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Real Time Clock: DS1307

Dedicated Clock with advanced features.I2C Compatible.

Page 24: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Zigbee Module Integration

Page 25: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Key Implementations

Communication between two nodes using Zigbee protocol across the available channel.

Assignment of network and host ID to the available nodes.

Address recognition between the communicating nodes.

Acknowledgement to Packets to identify any node failures.

Page 26: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Frame Format

Page 27: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Data Transmission Viewed Using Packet Sniffer

Page 28: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Mobile Node

Development of Nokia 3310 LCD interfacing circuit.

Page 29: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Nokia LCD Interfacing

NOKIA 3310 LCD INTERFACING BOARD: Compatible with AVR Development

Board. 4 X 4 Matrix Keypad. Real time clock using DS1307. Scheduler for appliances.

Page 30: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Menu Hierarchy

Page 31: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Key Features

Monitor various Sensor Status.Motion Detection Alert.Scheduler for every appliance in the

home.Controlling Appliances using Relay

circuitry.

Page 32: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Startup Screen

Page 33: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Main Screen

Page 34: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Main Menu

Page 35: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Rooms Display

Page 36: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Sensor Status

Page 37: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Switch Status

Page 38: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Time & Date Settings

Page 39: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Appliance Control

Page 40: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Atmega 8L

Atmega 8L to remove the burden of parent controller from controlling all appliance.

Can be used to extend the no of controlled devices.

Usage of serial interface allows relocation of controlling switches to any location.

Page 41: Smart Home

Thiagarajar College Of EngineeringSMART HOME

ProductState Diagram

Page 42: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Scope of the Product

Cost Effective Home AutomationExtremely Low Power Wireless SolutionUser Friendly Mobile NodeScheduled ON-OFF Control of

AppliancesRelocation of Sensor nodes feasible

Page 43: Smart Home

Thiagarajar College Of EngineeringSMART HOME

Future Work

Adding more number of Sensors.Integration of Camera to provide real

time Video Surveillance. Ethernet Module development to upload

the data on to the Internet.GSM module support for providing the

user with SMS Alerts.