Date post: | 22-Dec-2015 |
Category: |
Documents |
View: | 215 times |
Download: | 0 times |
Control System for Smart House
Mid Semester Presentation
StudentsYossi LempertAlbert Achtenberg
InstructorKonstantin 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
Block Diagram
End point End point End pointEnd point
Access
Point
Access
Point
Controller
Controller
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.)
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
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
Components Cont.
• Controllers– HP Ipaq 3870
• External Bluetooth module– Connection via serial port
• Windows CE 3.xx
– PC• USB to CAN adapter• Web interface
Ipaq GUI
Web Link
Web Interface
BT Module CAN Module
HWC Protocol Link
Logic
Application Design
Ipaq Module
PC Module
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
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.
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.
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
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
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