control system for smart house mid semester presentation students yossi lempert albert achtenberg...

14
Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Post on 22-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Control System for Smart House

Mid Semester Presentation

StudentsYossi LempertAlbert Achtenberg

InstructorKonstantin Sinyuk

Page 2: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Project Description

• To create a remote control and monitoring system for an existing “Home Wireless Control” platform

• Two kind of remote control:– On Ipaq via Bluetooth– On PC via web access

Page 3: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Block Diagram

End point End point End pointEnd point

Access

Point

Access

Point

Controller

Controller

Page 4: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Access Point

CANConnectionTo other

Access Points

CANConnectionTo other

Access Points

CAN controller

UARTI2CPhillips BT UnitDB of End

Points on E2PROM

PIC18F458

UART

PIC18F452

Phillips Bluetooth

Unit

UART

IPAQ 3870

External Bluetooth

Unit

USB

PC

USB to CAN adapter

End point Ipaq Controller PC Controller

BluetoothBluetooth CAN

Block Diagram (cont.)

Page 5: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Design Tools

• Microchip PIC18F452/8 on PICDEM2 boards• MCP 2551 CAN transceivers• MCC18 compiler using MPLab IDE• Philips Bluetooth units• CAN2USB• Protocols Used:

– CAN, Bluetooth, HWC Protocol

Page 6: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Components

• End Point– Microchip PIC18F452 microcontroller

• 40MHz operating frequency• 32Kb Internal Memory• Philips Bluetooth unit attached via UART

– Frequencies• The Bluetooth unit’s maximum transfer rate is 750KB/sec• The maximum transfer rate between the PIC and the Bluetooth

unit is 115KB/sec

• Access Point– Microchip PIC18F458 microcontroller

• All of the above• CAN 2.0B peripheral interface

– Frequencies• The CAN connection maximum transfer rate is 1MB/sec

Page 7: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Components Cont.

• Controllers– HP Ipaq 3870

• External Bluetooth module– Connection via serial port

• Windows CE 3.xx

– PC• USB to CAN adapter• Web interface

Page 8: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Ipaq GUI

Web Link

Web Interface

BT Module CAN Module

HWC Protocol Link

Logic

Application Design

Ipaq Module

PC Module

Page 9: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Project modules

• Ipaq Module – Using Smart Remote Controller Project by

Pavel Vilk and Piotr Drubetskoy

• PC Module– Using Access Point simulator on

CAN2USB from HWC Project by Ehud Ravitz and Lee Blum

Page 10: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Smart Remote Controller Project by Pavel Vilk and Piotr Drubetskoy

• Implementation of a system which includes a single Remote Controller capable of controlling several devices in different rooms via Access Points, connected via LAN.

• The Remote Controller and the Access Point are implemented on a PDA with a Blue Tooth link and CE OS.

• The Access Point manages a piconet of devices implemented as black boxes on a PC.

Page 11: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

HWC Project by Ehud Ravitz and Lee Blum

• Aim of the projectCreate a cheap wireless control network on household appliances.

– Create Bluetooth connection between an Access point and an End Point.

– Create CAN connection between two Access Points.

Page 12: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Technologies

• Ipaq Bluetooth Stack– Ipaq 3870 has no free Bluetooth stack

development kit. – Upgrading to Windows Mobile 2003 adds a native

Microsoft BT stack that is not supported by the OS.

• ZigBee– Expensive development kit– Low Power– Small transfer rate

Page 13: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

What have been done so far?

• Learning to work with the MPLab and the PIC Development Kit

• Learning the Bluetooth Protocol

• Learning the CAN Protocol

• System and application design

• Learning to operate Home Wireless Control project

Page 14: Control System for Smart House Mid Semester Presentation Students Yossi Lempert Albert Achtenberg Instructor Konstantin Sinyuk

Schedule

• 10.01.2005 – Finish employing HWC project

• 10.02.2005 – Build the IPAQ controller

• 01.03.2005 – Build the PC controller

• 15.03.2005 – Final report and presentation