blutooth home automation system

20
Bluetooth based home automation system N.Sriskanthan, F.Tan, K. Karande Microprocessors and Microsystems 26(2002) 281-289 Presenter: Bui Phuong Nhung

Upload: neha-sharma

Post on 14-Apr-2015

47 views

Category:

Documents


0 download

DESCRIPTION

IntroductionHome Automation ProtocolBluetooth home automation PC software Hardware design and developmentSoftware developmentConclusions and recommendations

TRANSCRIPT

Page 1: Blutooth Home Automation System

Bluetooth based home automation system

N.Sriskanthan, F.Tan, K. Karande

Microprocessors and Microsystems 26(2002) 281-289

Presenter: Bui Phuong Nhung

Page 2: Blutooth Home Automation System

OUTLINE

1. Introduction

2. Home Automation Protocol

3. Bluetooth home automation PC software

4. Hardware design and development

5. Software development

6. Conclusions and recommendations

Page 3: Blutooth Home Automation System

INTRODUCTION

• Various ‘intelligent’ appliance are set to realize the concept of a smart home.

• People want to set up a Personal Area Network. Bluetooth technology is an ideal solution for this purpose.

• It operates over unlicensed, universally available frequency of 2.4 GHz, it can link digital devices within a range of 10m at the speed of 1Mbps.

Page 4: Blutooth Home Automation System

INTRODUCTION

• The system consists of a Host Controller (HC) implemented on a Personal Computer (PC), a microcontroller based temperature-sensor/fan-controller that is able to communicates with the host though the Bluetooth link.

• HAP ensures a prioritized, interlocked exchange of data, and supports dynamic addition and removal of devices on the network.

• A user interface on the PC offers device registration, control as well as diagnostic utilities.

Page 5: Blutooth Home Automation System

HOME AUTOMATION PROTOCOL

• The Home Automation Protocol (HAP) facilitates the communication among the host and client modules in a home automation system. The communication covers the device initialization process and the data transaction process.

Page 6: Blutooth Home Automation System

HOME AUTOMATION PROTOCOL

Fig.1. Bluetooth based home automation system

Page 7: Blutooth Home Automation System

HOME AUTOMATION PROTOCOL

• HAP based on the core of the Bluetooth protocol architecture that comprises of three stacks:

Logical Link Control and Adaptation Protocol (L2CAP)

Service Discovery Protocol (SDP) RFCOMM (serial cable emulation protocol)

protocol

Page 8: Blutooth Home Automation System

HOME AUTOMATION PROTOCOL

CI2

Fig.2. Example of multi-master operating environment for the bus

• The bus is implemented using 2-wires to communicate data serially among devices. One line is called SCL (Synchronous clock) while the other one is known as SDA (Synchronous data).

CI2

Page 9: Blutooth Home Automation System

HOME AUTOMATION PROTOCOL

• Home automation descriptor table

Page 10: Blutooth Home Automation System

HOME AUTOMATION PROTOCOL

• Protocol descriptionInitialization processPeriodic checking

processData transaction

process

Fig.3. Transformation process diagram

Page 11: Blutooth Home Automation System

HOME AUTOMATION PROTOCOL

• Packet formats

Page 12: Blutooth Home Automation System

HOME AUTOMATION PROTOCOL

Page 13: Blutooth Home Automation System

BLUETOOTH HOME AUTOMATION PC SOFTWARE• The Bluetooth home automation PC software

module is the main Host Control Application (HCA) for other DCs.

1. Device Registration

2. Diagnostics utility• Reset• Inquiry• Connect ACL (Asynchronous Connection-Less link)• SCO (Synchronous Connection Oriented link)• Disconnect, Board Address and Send Data

3. Device Status and Control

Page 14: Blutooth Home Automation System

BLUETOOTH HOME AUTOMATION OF SOFTWARE

Page 15: Blutooth Home Automation System

HARDWARE DESIGN AND DEVELOPMENT

Fig.4.Room temperature control circuit

Page 16: Blutooth Home Automation System

HARDWARE DESIGN AND DEVELOPMENT

• The system consists of a temperature sensing circuit and a fan control circuit.

• The controller IC contains temperature data, alarm threshold values, the latest temperature value or control bits: WHI, WLOW, WCRIT.

Page 17: Blutooth Home Automation System

HARDWARE DESIGN AND DEVELOPMENT

• The ALERT interrupt is asserted when the value in the RTEMP register exceeds the temperature range defined by user.

• The OVERT interrupt is activated when the values in the RTEMP register equals to or exceeds the threshold value.

Page 18: Blutooth Home Automation System

SOFTWARE DEVELOPMENT

• The firmware for the microcontroller was developed using assembly and C language.

• The software module controlling the Bluetooth includes: a set of instructions necessary to initialize the Bluetooth device after power_on_reset, configure it to identify itseft on Bluetooth piconet, accept the connection, and handle the subsequent exchange of data.

Page 19: Blutooth Home Automation System

CONCLUSIONS AND RECOMMENDATIONS

• The objective of this proposal was to develop a home automation based on Bluetooth wireless technology. The result is the HAP, which allows the user to monitor and control different appliances connected over a Bluetooth network in home automation.

• For this project, interface is used between DC and ACs, a parallel interface may be faster.

• Base on the HC on PC, the control ability though Internet is possible.

CI2

Page 20: Blutooth Home Automation System

THANKS FOR YOUR ATTENTION!