Upload
bennett-garrison
View
217
Download
0
Tags:
Embed Size (px)
Citation preview
Home Automation
Console
Team HAC:
Luci PuryearLuci Puryear
Nidhi SinghNidhi Singh
Carlos VasquezCarlos Vasquez
Faculty Advisor: Dr. Mitch ThorntonSponsors: Extreme Networks
Overview Project Description Home Automation Console Considerations Technologies Software/Hardware Accomplishments/Problems Test Plan Timeline
Home Automation Home automation is a growing field Many types of automation
technologies exist Most of these technologies are
independent of each other
Home Automation Console Integration of different home automation technologies
Easy to access and use
Ethernet capable
Consumer Advantages
How the Console Works
Considerations Environmental
Economic
Human Factors
Safety
Political
Technologies
X-10
Infrared
Ethernet
What is x10?
Power line carrier (PLC) protocol
Allows compatible products to communicate via existing 110V wiring
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
Alternative: CEBus Noise resistant Higher collision resolution Faster data transmission
Very expensive Limited devices
Consumer Consumer Electronics Electronics BusBus
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
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
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
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.
Infrared TechnologyConsole
Device with remote
Infra
red
sign
als
Infrared Infrared transmittertransmitter
Ethernet Program
Allow internet remote access to appliances
Client/Server model Server supports HTML
documents
C/C++ and TCP/IP Protocol
Command Control Program (CCP)
Home Automation Console
X-10 Controller/IR Transmitter
X-10 modules/appliances
signals
commands
Hardware needed for Implementation Tuxscreen
X-10 modules and controller
Ethernet card
Infrared Transmitter
Tuxscreen Aka Shannon/Philips IS2630 Screen
Phone Intel SA 1100
StrongARM CPU 133Mhz
16MB DRAM Sharp Color
Touchscreen Infrared
Keyboard
Tuxscreen Why use the Tuxscreen?
Advantages of having one device dedicated to home automation
Memory Expandable Inexpensive $99 Mobile
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
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
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)
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
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
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
Accomplishments Research Hardware Received Website created Ethernet Program written Command Control Program
written Infrared Transmitter
designed
Difficulties Tuxscreen
Command Control Program
Tuxscreen Initially serial communication could
not be established with the Tuxscreen
Original operating system could not be backed up
Bootloader could not be uploaded
Tuxscreen Attempted to upload bootloader in
several ways Unlocked Flash Memory Tried contacting people
Tuxscreen#, Message Board, Individuals
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
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;}
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).
References
http://www.x10.com
http://www.x10.org
http://www.smarthome.com
Sources for images used in the slides:
Questions