380 likes | 468 Views
2012: A Home Odyssey. Senior Design Group #5 (Summer 2012) Members: Kyle D‘Arcangelis John Edison Heston Posner Jimmy Wong. Overview. Home Automation System Wireless Communication between Subsystems Android-based Application Control Lighting, HVAC, Television.
E N D
2012: A Home Odyssey Senior Design Group #5 (Summer 2012) Members: Kyle D‘Arcangelis John Edison Heston Posner Jimmy Wong
Overview • Home Automation System • Wireless Communication between Subsystems • Android-based Application Control • Lighting, HVAC, Television
Project Goals and Objectives • Reduce energy consumption • Reduce cost • Compact • Reliable • Easy to use
Hardware Specifications and Requirements • 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
Microcontroller Comparison ATMEL ATmega 328P-PU MSP430G2553
TI MSP 430 G2553 • Compatibility • Low Cost • Low Energy Comsumption • Dual Inline Packaging (DIP) • PWM pins for IR Remote
Software Specifications and Requirements • Android OS 2.2 SDK • Touch Interface • Google App Engine 1.6.3 SDK • High replication data storage
Lighting Subsystem • MSP430G2553 Microcontroller • TI CC1100 RF Module • Lutron Maestro Duo MAW-600H Light Dimmer
HVAC Subsystem • MSP430G2553 Microcontroller • TI CC1100 RF Module • LED Indicators
Television Subsystem • Infrared Remote Control Transmitter • Receives commands from the Stellaris base station • Tasks • Power on/off • Channel up/down • Volume up/down • Channel Number Selection
Television Subsystem Components • TI MSP430G2553 • TI CC1100 RF Module • IR LED
Main Controller • TI MSP430G2553 Value Line MCU • TI CC1100 RF Transceiver • TI LM3S8962 ARM Cortex-M3 MCU • RJ45- Ethernet
Main Controller • Lightweight IP • Internet protocol implementation on the Stellaris Sample API Format • Dynamic DNS • Booster Stack Lite • Stellaris and MSP430 wireless protocol
Why we chose Google App Engine • 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
Software Design: Database Entities
Software Design: User and Admin Privileges
UI Design: Main Menu • 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: Input Provider Interface • Allows the user to view the current provider and enter in a new provider • Current provider textview displays the company name and the residential rates • To enter in a new provider, the user would have to enter the name and the rates
UI Design: Input Wattages Interface • Input wattages for specific devices controlled by a particular subsystem • Android Spinner objects will be used to select between different fixtures (For Dimmer and HVAC) • Textfields used for wattage input
UI Design: Current Wattages Interface • Textview used to display the wattages of the selected fixture • Spinners will be used to select a specific fixture • It will always display the TV wattage (Due to only 1 television set will be controlled)
UI Design: Calculate Usage Interface • Allows the user to calculate the monetary cost of the electricity usage according to a specific date or month • Utilizes a DatePicker object to choose thedate • Utilizes a Spinner object to choose the month
Subsystem Control • 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
UI Design: Dimmer Control Interface • Allows the user to control the brightness level of lighting fixtures • Checkboxes are used to selectlighting fixtures • SeekBar object used to choose the brightness level • Button used to set light level
UI Design: HVAC Control Interface • 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: TV Control Interface • Allows the user to utilize typical universal remote control functions.
Android.Speech • 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’