Senior Design Group #5 (Summer 2012) Members: Kyle D‘Arcangelis John Edison Heston Posner Jimmy Wong • Home Automation System • Wireless Communication between Subsystems • Android-based Application Control • Lighting, HVAC, Television • • • • • Reduce energy consumption Reduce cost Compact Reliable Easy to use • • • • • • 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 Model 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 • • • • • Compatibility Low Cost Low Energy Comsumption Dual Inline Packaging (DIP) PWM pins for IR Remote • Android OS 2.2 SDK • Touch Interface • Google App Engine 1.6.3 SDK • High replication data storage • MSP430G2553 Microcontroller • TI CC1100 RF Module • Lutron Maestro Duo MAW-600H Light Dimmer • MSP430G2553 Microcontroller • TI CC1100 RF Module • LED Indicators • Infrared Remote Control Transmitter • Receives commands from the Stellaris base station • Tasks o o o o Power on/off Channel up/down Volume up/down Channel Number Selection • TI MSP430G2553 • TI CC1100 RF Module • IR LED • • • • TI MSP430G2553 Value Line MCU TI CC1100 RF Transceiver TI LM3S8962 ARM Cortex-M3 MCU RJ45- Ethernet • Lightweight IP • Internet protocol implementation on the Stellaris Sample API Format • • Dynamic DNS Booster Stack Lite • Stellaris and MSP430 wireless protocol 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 • • • • • • 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 • • 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 • • • 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 • • • 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 • • • 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) • • • 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 • • • • 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 • • • • Allows the user to control the brightness level of lighting fixtures Checkboxes are used to select lighting fixtures SeekBar object used to choose the brightness level Button used to set light level • • • 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 • Allows the user to utilize typical universal remote control functions. • 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’ MSP430 Launchpad CC110L BoosterPack EKS-LM3S8962 PCB Google App Engine Android Lutron Dimmer IR Remote Parts x2 x1 x1 x2 $4.30 $19.00 Sampled $50.00 $0.00 Already Owned $25.00 x2 $5.00 x1 ------------------- --------------- ------------Current Total: $27.60 Target Budget: $350.00 Questions / Comments?