2012: A Home Odyssey
description
Transcript of 2012: A Home Odyssey
![Page 1: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/1.jpg)
2012: A Home Odyssey
Senior Design Group #5 (Summer 2012)
Members:Kyle D‘ArcangelisJohn EdisonHeston PosnerJimmy Wong
![Page 2: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/2.jpg)
• Home Automation System
• Wireless Communication between Subsystems
• Android-based Application Control
• Lighting, HVAC, Television
Overview
![Page 3: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/3.jpg)
• Reduce energy consumption• Reduce cost• Compact• Reliable• Easy to use
Project Goals and Objectives
![Page 4: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/4.jpg)
Overall Project Block Diagram
![Page 5: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/5.jpg)
• TI MSP430G2553 Value Line MCU• TI CC1100 RF Transceiver • TI LM3S8962 ARM Cortex-M3 MCU• 3.3V for all digital logic circuitry• 925 MHz wireless communication for up
to 100m• 2 layer printed circuit boards
Hardware Specifications and Requirements
![Page 6: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/6.jpg)
Microcontroller ComparisonModel Memory Language Experience Price
MSP 430G2553 16 kB Flash C Yes $1.00
ATmega 328p-pu 32 kB Flash C++ No $2.50
ATMEL ATmega 328P-PU MSP430G2553
![Page 7: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/7.jpg)
• Compatibility• Low Cost• Low Energy Comsumption• Dual Inline Packaging (DIP)• PWM pins for IR Remote
TI MSP 430 G2553
![Page 8: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/8.jpg)
• Android OS 2.2 SDK
• Touch Interface
• Google App Engine 1.6.3 SDK
• High replication data storage
Software Specifications and Requirements
![Page 9: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/9.jpg)
• MSP430G2553 Microcontroller
• TI CC1100 RF Module
• Lutron Maestro Duo MAW-600H Light Dimmer
Lighting Subsystem
![Page 10: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/10.jpg)
Lighting Subsystem
![Page 11: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/11.jpg)
Lighting Subsystem
![Page 12: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/12.jpg)
• MSP430G2553 Microcontroller
• TI CC1100 RF Module
• LED Indicators
HVAC Subsystem
![Page 13: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/13.jpg)
HVAC Subsystem
![Page 14: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/14.jpg)
HVAC Subsystem
![Page 15: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/15.jpg)
• Infrared Remote Control Transmitter
• Receives commands from the Stellaris base station
• Taskso Power on/offo Channel up/downo Volume up/downo Channel Number Selection
Television Subsystem
![Page 16: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/16.jpg)
• TI MSP430G2553
• TI CC1100 RF Module
• IR LED
Television Subsystem Components
![Page 17: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/17.jpg)
Television Subsystem
![Page 18: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/18.jpg)
Television Subsystem
![Page 19: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/19.jpg)
• TI MSP430G2553 Value Line MCU• TI CC1100 RF Transceiver • TI LM3S8962 ARM Cortex-M3 MCU• RJ45- Ethernet
Main Controller
![Page 20: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/20.jpg)
Main Controller
![Page 21: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/21.jpg)
• Lightweight IP• Internet protocol implementation on the
Stellaris
Sample API Format
• Dynamic DNS• Booster Stack Lite
• Stellaris and MSP430 wireless protocol
Main Controller
![Page 22: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/22.jpg)
Google App Engine vs Traditional Server (AMP Stack)
Google App Engine Traditional Server
Non-relational database structure
Relational database structure
Inherently a distributed architecture (Data replication is automatically handled)
Must manually configure a distributed architecture
No join operations are available
Join operations are available
Automatically creates a full application environment
Must be hosted on a server for remote access
![Page 23: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/23.jpg)
• No need for relationships between tables • No join operations will be needed for the
queries of our application• Simplicity of uploading new versions of
the server application via an Eclipse plugin
• Central administrator console• 10 server applications allowed for a
single Google account (Allows for plenty of testing)
• Enough resources to allow for a fully operational application
Why we chose Google App Engine
![Page 24: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/24.jpg)
Overall Project Block Diagram
![Page 25: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/25.jpg)
Software Design:Database Entities
![Page 26: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/26.jpg)
Software Design:User and Admin Privileges
![Page 27: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/27.jpg)
• Utilizes the "simple_list_item1" menu layout
• When a menu item is selected, the corresponding class, containing the .xml layout load and the
functionalities, will run
UI Design:Main Menu
![Page 28: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/28.jpg)
• Allows the user to viewthe current provider and enter in a new provider
• Current provider textviewdisplays the company nameand the residential rates
• To enter in a new provider,the user would have to enterthe name and the rates
UI Design:Input Provider Interface
![Page 29: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/29.jpg)
• Input wattages for specificdevices controlled by aparticular subsystem
• Android Spinner objectswill be used to select between different fixtures(For Dimmer and HVAC)
• Textfields used for wattageinput
UI Design:Input Wattages Interface
![Page 30: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/30.jpg)
• Textview used to displaythe wattages of the
selected fixture• Spinners will be used to
select a specific fixture• It will always display the
TV wattage (Due to only1 television set will becontrolled)
UI Design:Current Wattages Interface
![Page 31: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/31.jpg)
• Allows the user to calculatethe monetary cost ofthe electricity usage according to a specific dateor month
• Utilizes a DatePickerobject to choose thedate
• Utilizes a Spinner object tochoose the month
UI Design:Calculate Usage Interface
![Page 32: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/32.jpg)
• Tabular interface for each subsystem• Status page and voice recognition
reference page available through the option button
• Each tab remains its integrity until the user
exits the control interface• Each tab contains a voice recognition
activation button
Subsystem Control
![Page 33: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/33.jpg)
• Allows the user to controlthe brightness level oflighting fixtures
• Checkboxes are used to select lighting fixtures• SeekBar object used to
choose the brightness level• Button used to set light level
UI Design:Dimmer Control Interface
![Page 34: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/34.jpg)
• Allows the user to control the different functions of the HVAC subsystem• Fan has the following options: ON and AUTO• System has the following options: COOLING, HEATING, OFF
UI Design:HVAC Control Interface
![Page 35: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/35.jpg)
• Allows the user to utilize typical universal remote control functions.
UI Design:TV Control Interface
![Page 36: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/36.jpg)
• SpeechRecognizer• Class that converts speech to text
• RESULTS_RECOGNITION• Array of possible candidate sentences
• CONFIDENCE_SCORES• Weighted value from -1 to 1 rating the
accuracy• Bag of words
• “Dim the kitchen lights to fifty percent”• ‘lights’ + ‘fifty’ + ‘kitchen’ + ‘percent’
Android.Speech
![Page 37: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/37.jpg)
Admin Content
MSP430 Launchpad x2 $4.30CC110L BoosterPack x1 $19.00EKS-LM3S8962 x1 SampledPCB x2 $50.00Google App Engine $0.00Android Already OwnedLutron Dimmer x2 $25.00IR Remote Parts x1 $5.00
------------------- --------------- -------------Current Total: $27.60Target Budget: $350.00
![Page 38: 2012: A Home Odyssey](https://reader035.fdocuments.us/reader035/viewer/2022062323/568163fe550346895dd59b99/html5/thumbnails/38.jpg)
Questions / Comments?