Smart Appliance May 03 21 Home Automation via

  • Slides: 45
Download presentation
Smart Appliance / May 03 -21 Home Automation via the Web Client l Senior

Smart Appliance / May 03 -21 Home Automation via the Web Client l Senior Design Team Members l l Faculty Advisor l Doug Jacobson l l l Mark Melville (EE) Brendan Hickey (Cpr. E) Scott Reeder (Cpr. E) Brian Thorp (Cpr. E) Mike Fernholz (EE)

Presentation Outline Introduction to Project Activities Resources and Schedules Closing Materials

Presentation Outline Introduction to Project Activities Resources and Schedules Closing Materials

List of Definitions API Application Program Interfaces between the operating system and application programs.

List of Definitions API Application Program Interfaces between the operating system and application programs. Host Controller Device that attaches between a wall plug and a computer that sends and receives X-10 signals. Smart device Any piece of electronic equipment that is highly automated, or imitates human intelligence. X-10 A communications protocol that allows compatible products to talk to each other via the existing 110 V electrical wiring in the home. X-10 Module Hardware that facilitates communication between appliances and an X-10 controller. A module would plug into an outlet, and a lamp, for example, would plug into the module.

Project Introduction

Project Introduction

General Problem Statement GOAL: Develop a home automation system that is accessible via the

General Problem Statement GOAL: Develop a home automation system that is accessible via the WWW Users include vacationing or securityconscience homeowners System is designed to enable a homeowner to operate lights, appliances and other devices and check if their garage door is open or closed via the web.

General Solution Statement Software l l Programmed in Java Three parts to the software

General Solution Statement Software l l Programmed in Java Three parts to the software l l l GUI application that can be run on the home computer that controls the X-10 devices from that computer Java applet that can be run from any web-enabled device that connects to the home computer to control the home network Java server that controls the devices when the applet has connected to the host computer Hardware l Garage door monitor

Operating Environment Software Platform independent l Client applet must run on a browser that

Operating Environment Software Platform independent l Client applet must run on a browser that supports Java applets l Hardware Host computer must have a serial port to talk to the X-10 controller l Garage door sensor must be able to withstand moderate vibration and seasonal temperature and humidity changes l

Intended Users Person who currently owns or will purchase a CM 11 A host

Intended Users Person who currently owns or will purchase a CM 11 A host controller Small businesses that desire the same security/monitoring requirements that our system provides

Intended Uses Control appliances and lamps locally Control appliances and lamps remotely Automate control

Intended Uses Control appliances and lamps locally Control appliances and lamps remotely Automate control via timed events Allows user to check if their garage door is open or closed

Assumptions Device shall be easy to install, configure, and use User is familiar with

Assumptions Device shall be easy to install, configure, and use User is familiar with operating a computer User will have a computer with a serial port and continuous internet access. (dial-up not recommended) Home environment will comply with the specified operating environment X-10 system will not experience outside interference from other X-10 systems

Limitations Limited to 16 different X-10 controlled devices Server must be running on the

Limitations Limited to 16 different X-10 controlled devices Server must be running on the home computer when the client desires to connect and control remotely Device response time is limited by the speed of the user’s Internet connection

End Product Description Installable software package l l Installation instructions User software Software Documentation

End Product Description Installable software package l l Installation instructions User software Software Documentation Source Code X-10 Hardware l Must be purchased separately (CM 11 A devices required) Garage Door Sensor l l l Monitoring module Mounting hardware Installation instructions

Project Activities

Project Activities

Present Accomplishments Software Created local control software Created remote Java applet Implemented server into

Present Accomplishments Software Created local control software Created remote Java applet Implemented server into local software Hardware Created sensor circuit

Approaches Considered and Ones Used X-10 Hardware Fire. Cracker Advantages: smaller, no dedicated serial

Approaches Considered and Ones Used X-10 Hardware Fire. Cracker Advantages: smaller, no dedicated serial port required Disadvantages: less functionality, no 2 -way support Active. Home CM 11 A Advantages: 2 -way capable, more uses Disadvantages: more expensive CM 11 A chosen because of 2 -way functionality

Programming Language Java Advantages: Familiar designing GUIs using Java, X 10 API, cross-platform Disadvantages:

Programming Language Java Advantages: Familiar designing GUIs using Java, X 10 API, cross-platform Disadvantages: Slower C++ Advantages: Speed, flexibility Disadvantages: Not familiar with GUI design, could not find anything like the X-10 API found for Java chosen because of X-10 API and familiarity

Networking architecture Stand-alone client/server Advantages: More secure and stable Disadvantages: Requires software on each

Networking architecture Stand-alone client/server Advantages: More secure and stable Disadvantages: Requires software on each machine Java Applet Advantages: Most familiar, easy to use and implement Disadvantages: Requires Java-enabled browser Java Applet chosen because it was the best fit for the project

Garage Door Sensor Buying base sensor and building off of it Advantages: Quicker and

Garage Door Sensor Buying base sensor and building off of it Advantages: Quicker and more reliable. Disadvantages: Cost and less known about the circuit. Making entire circuit Advantages: More knowledge of entire circuit. Disadvantages: Time and troubleshooting Entire circuit was created from scratch, but commercial kit used for testing purposes.

Garage Door Circuit Have the circuit be an X-10 module Advantages: More compact, easier

Garage Door Circuit Have the circuit be an X-10 module Advantages: More compact, easier to use Disadvantages: Much more time to design and implement Have the circuit attach to an X-10 module Advantages: Easier to design, more flexibility Disadvantages: Requires an external module to function The circuit will attach to an X-10 module because it allows the team to focus on the garage door circuit itself instead of the X-10 circuitry.

Research Activities X-10 protocol X-10 hardware – CM 11 A X-10 APIs and programming

Research Activities X-10 protocol X-10 hardware – CM 11 A X-10 APIs and programming X-10 2 -Way functionality Secure web sites Trusted Applets Sensor modules

Design Activities General System Design Local Software Remote Software Server Custom Hardware

Design Activities General System Design Local Software Remote Software Server Custom Hardware

General System Design Java-enabled PDA or Phone Remote PC Java Applet Web server Control

General System Design Java-enabled PDA or Phone Remote PC Java Applet Web server Control Server Key: Team-created Hardware or Software Commercial X-10 Modules Local PC Local Software Computer Interface Lamp Module Appliance Module Custom X-10 Hardware Living room Lamp Television Sensor

Local Control Screenshot

Local Control Screenshot

Local Software “Add a Device”

Local Software “Add a Device”

Trusted Applet

Trusted Applet

Receiver Circuit Schematic

Receiver Circuit Schematic

Transmitter Circuit Schematic

Transmitter Circuit Schematic

Integration with X-10 Original Approach Send signal to 2 -Way X-10 module Modified Approach

Integration with X-10 Original Approach Send signal to 2 -Way X-10 module Modified Approach Create a new power signal from X-10 module based on sensor circuit signal

Implementation Activities Software 1) Create local software - Create GUI - Send X-10 commands

Implementation Activities Software 1) Create local software - Create GUI - Send X-10 commands - Add/Modify/Remove devices 2) Create remote applet - Create GUI - Add code to send commands - Store on web site with login screen 3) Implement server into local software - Add remote operation functionality into local software

Implementation Activities Hardware 1) Create Infrared Transmission Circuit - Design oscillator - Combine with

Implementation Activities Hardware 1) Create Infrared Transmission Circuit - Design oscillator - Combine with Infrared LED 2) Create Infrared Receiver Circuit - Design amplifier - Design filter - Combine with Infrared Phototransistor 3) Combine Transmitter and Receiver Circuits - Create Infrared switch 4) Combine infrared circuit with X-10 module - Create proper integration hardware or circuitry

Testing and Modification Activities Software testing l l l Test GUI Test local control

Testing and Modification Activities Software testing l l l Test GUI Test local control functionality Test remote control functionality Hardware Testing l l Test infrared circuit Test circuit with X-10 module System testing l l l Test local control Test remote operation Test garage door sensor with software

Other Project Activities Software Local control software……………. . (90%) Remote Java applet…………. . .

Other Project Activities Software Local control software……………. . (90%) Remote Java applet…………. . . (100%) Web Site with log in. . ……………. . . (100%) Server implementation into local software…. . (100%) Add macros to software……………. (75%) Show status of 2 -way devices……………. . . (75%) Hardware Sensor circuit…………………(100%) Implement circuit with X-10 module…………. (75%)

Resources and Schedules

Resources and Schedules

Total Financial Resources

Total Financial Resources

Final Personal Budget

Final Personal Budget

First Semester Schedule Project Planning and Technology Selection Develop Project Plan Implement Project Design

First Semester Schedule Project Planning and Technology Selection Develop Project Plan Implement Project Design (Hardware)

Second Semester Schedule Software Coding and Testing Product Revision Documentation Product Demo

Second Semester Schedule Software Coding and Testing Product Revision Documentation Product Demo

Conclusion

Conclusion

Project Evaluation Identify possible designs to implement, and choose one fully met Hardware and

Project Evaluation Identify possible designs to implement, and choose one fully met Hardware and software specifications fully met Code software by specification nearly met Design hardware fully met Test hardware and software nearly met Documentation fully met

Commercialization Production Costs (sensor) Selling price (Software) Market: vacationers, security conscience homeowners $20 $40

Commercialization Production Costs (sensor) Selling price (Software) Market: vacationers, security conscience homeowners $20 $40 $20* *plus a monthly fee for using web service

Recommendations for Additional Work Commercialization Add support for additional X-10 devices l Secure website

Recommendations for Additional Work Commercialization Add support for additional X-10 devices l Secure website with a database l Write a java X-10 Api l

Lessons Learned What went well l l Communication Teamwork What didn’t go well l

Lessons Learned What went well l l Communication Teamwork What didn’t go well l l Unspecific project Procrastination Technical knowledge gained l X-10 protocol Non-Technical knowledge gained l Time management What to change l Start Earlier

Risk and Risk Management Anticipated risks l l Team scheduling Loss team member Finding

Risk and Risk Management Anticipated risks l l Team scheduling Loss team member Finding parts Finding a java API Anticipated risks encountered l None Unanticipated risks l l X-10 API incomplete Integrating sensor with X-10 module

Closing Summary Need for project l l No software available for remote operation Didn’t

Closing Summary Need for project l l No software available for remote operation Didn’t have a garage door sensor Original software was horrible Software for Windows only Chosen Solution l l Java application and applet Garage door sensor Effectiveness of solution l l Allows for remote operation of devices Easy to use

Questions?

Questions?