home automation console team hac: luci puryear nidhi singh carlos vasquez faculty advisor: dr. mitch...

35
Home Automation Console Team HAC: Luci Puryear Luci Puryear Nidhi Singh Nidhi Singh Carlos Vasquez Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Upload: bennett-garrison

Post on 26-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Home Automation

Console

Team HAC:

Luci PuryearLuci Puryear

Nidhi SinghNidhi Singh

Carlos VasquezCarlos Vasquez

Faculty Advisor: Dr. Mitch ThorntonSponsors: Extreme Networks

Page 2: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Overview Project Description Home Automation Console Considerations Technologies Software/Hardware Accomplishments/Problems Test Plan Timeline

Page 3: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Home Automation Home automation is a growing field Many types of automation

technologies exist Most of these technologies are

independent of each other

Page 4: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Home Automation Console Integration of different home automation technologies

Easy to access and use

Ethernet capable

Consumer Advantages

Page 5: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

How the Console Works

Page 6: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Considerations Environmental

Economic

Human Factors

Safety

Political

Page 7: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Technologies

X-10

Infrared

Ethernet

Page 8: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

What is x10?

Power line carrier (PLC) protocol

Allows compatible products to communicate via existing 110V wiring

Page 9: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Why x10?

Inexpensive: 3 Modules/Controller for $50

Universally available

Flexible: modules exist for a large variety of devices

Easy to install: No additional wiring

Page 10: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Alternative: CEBus Noise resistant Higher collision resolution Faster data transmission

Very expensive Limited devices

Consumer Consumer Electronics Electronics BusBus

Page 11: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

How x10 works?Transmitter ReceiverVoltage signalVoltage signal

Zero crossing pointsZero crossing points

60 Hz 60 Hz powerlinepowerline

16.66ms16.66ms

1 ms X-10 1 ms X-10 information information

windowwindow

110 V

Page 12: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

X10 Transmission3 zero crossing points for 3 zero crossing points for 3 phases of AC poweline3 phases of AC poweline

Binary 1 = Binary 1 = 1 ms burst of 1 ms burst of 120 kHz at 120 kHz at zero crossing zero crossing pointpoint

Binary 0 = Binary 0 = Absence of Absence of burst at zero burst at zero crossing crossing pointpoint

Max. data rate:60 bits/sMax. data rate:60 bits/s

Page 13: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Basic X10 MessageFunction codeFunction code or unit codeor unit code

Function Function bitbit

Consists of 13 bits

Error detection: Each data bit is actually sent twice, in complementary form, on alternate half cycles

Page 14: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

How are devices controlled using x10?

Plug appliance into X10 receiver module

Plug the module into electrical outlet.

Set the house and unit codes..

Plug controller (transmitter) into any other electrical outlet in your house

Set the proper house code.

Page 15: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Infrared TechnologyConsole

Device with remote

Infra

red

sign

als

Infrared Infrared transmittertransmitter

Page 16: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Ethernet Program

Allow internet remote access to appliances

Client/Server model Server supports HTML

documents

C/C++ and TCP/IP Protocol

Page 17: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Command Control Program (CCP)

Home Automation Console

X-10 Controller/IR Transmitter

X-10 modules/appliances

signals

commands

Page 18: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Hardware needed for Implementation Tuxscreen

X-10 modules and controller

Ethernet card

Infrared Transmitter

Page 19: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Tuxscreen Aka Shannon/Philips IS2630 Screen

Phone Intel SA 1100

StrongARM CPU 133Mhz

16MB DRAM Sharp Color

Touchscreen Infrared

Keyboard

Page 20: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Tuxscreen Why use the Tuxscreen?

Advantages of having one device dedicated to home automation

Memory Expandable Inexpensive $99 Mobile

Page 21: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Linux vs. Inferno Inferno

Does not support needed applications like a compiler

Difficult to use small size

Linux Allows Tuxscreen to run needed program Easy to use Popular small and powerful

Page 22: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

X-10 and Ethernet Hardware X-10 modules and controller

TW-523 Controller Two Way Interface Module

3-Pin Grounded Appliance Module Lamp Module

Ethernet card Trendnet – TE100-PC16 Fast Ethernet

Card

Page 23: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Infrared Transmitter Separate from Tuxscreen and

connects to serial port Allows console to control devices

already equipped with IR Components Used

Holtek HT-12E Encoder IC Infrared Diode T1 ¾(NM)

Page 24: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Cost of Prototype Tuxscreen - $99(provided) X-10 modules(provided)

Light modules(2) - $12.95 Appliance modules(1) - $12.99

X-10 controller – $23.95(provided) Ethernet Card - $15.00 IR transmitter components - $20.00 Total cost $190.00

Page 25: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Testing Plan: Phase IBasic x-10 commands will be sent to x-10

modules using console. Observations will be recorded using multimeter and oscilloscope

x-10 commands will be sent to modules with an extra appliance plugged into house wiring to ensure that this device not harmed

All common appliances will be plugged in; all x-10 functions and x-10 modules will be tested for functionality

Page 26: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Testing Plan: Phase IIGoal: Gauge console's user friendliness

and functionality Tests will be performed by three users of

varying computer literacyUsers will be provided a checklist of tasks Users will judge clarity and

understandability Modifications will be made based on user

response

Page 27: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Accomplishments Research Hardware Received Website created Ethernet Program written Command Control Program

written Infrared Transmitter

designed

Page 28: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Difficulties Tuxscreen

Command Control Program

Page 29: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Tuxscreen Initially serial communication could

not be established with the Tuxscreen

Original operating system could not be backed up

Bootloader could not be uploaded

Page 30: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Tuxscreen Attempted to upload bootloader in

several ways Unlocked Flash Memory Tried contacting people

Tuxscreen#, Message Board, Individuals

Page 31: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Command Control Program Object oriented C++ programming Accepts command inputs from users

and sends appropriate signals to the serial port

Confirmed using an oscilloscope that program sends correct binary data to serial port, but controller does not perform the command

Page 32: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

CCP Pseudocode Example of “turn on module1” command lampMenu( int &M) { //lamp menu if(A==1){

if(status==0) //send lamp on commandmodule.setOn(M);

elsecout << already on << endl;

}else if(A==2) {

if(status==1) //send lamp off commandmodule.setOff(M);

cout << already off << endl;}

Page 33: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Page 1 of 1

Home Automation Console Timeline

TASKCompleteEndDate

StartDate

ResearchX1/18/021/7/02

Select and Order Equipment

X1/23/021/18/02

Modify Console3/21/021/18/02

Write Command Control Program

X4/1/021/30/02

Write Client/Server Program

X4/1/021/30/02

Debug Programs4/8/024/1/02

Load Programs onto Console

4/15/024/8/02

Check and install X-10 modules

4/19/024/15/02

Test Prototype4/26/024/19/02

1/7 1/18

1/181/23

1/18 3/21

1/30 4/1

1/30 4/1

4/1 4/8

4/8 4/15

4/154/19

4/194/26Milestones Professional Trial Version (http://www.kidasa.com).

Page 34: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

References

http://www.x10.com

http://www.x10.org

http://www.smarthome.com

Sources for images used in the slides:

Page 35: Home Automation Console Team HAC: Luci Puryear Nidhi Singh Carlos Vasquez Faculty Advisor: Dr. Mitch Thornton Sponsors: Extreme Networks

Questions