38
2012: A Home Odyssey Senior Design Group #5 (Summer 2012) Members: Kyle D‘Arcangelis John Edison Heston Posner Jimmy Wong

2012: A Home Odyssey

  • Upload
    mimi

  • View
    25

  • Download
    0

Embed Size (px)

DESCRIPTION

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. - PowerPoint PPT Presentation

Citation preview

Page 1: 2012: A Home Odyssey

2012: A Home Odyssey

Senior Design Group #5 (Summer 2012)

Members:Kyle D‘ArcangelisJohn EdisonHeston PosnerJimmy Wong

Page 2: 2012: A Home Odyssey

• Home Automation System

• Wireless Communication between Subsystems

• Android-based Application Control

• Lighting, HVAC, Television

Overview

Page 3: 2012: A Home Odyssey

• Reduce energy consumption• Reduce cost• Compact• Reliable• Easy to use

Project Goals and Objectives

Page 4: 2012: A Home Odyssey

Overall Project Block Diagram

Page 5: 2012: A Home Odyssey

• 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

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

• 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

• 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

• MSP430G2553 Microcontroller

• TI CC1100 RF Module

• Lutron Maestro Duo MAW-600H Light Dimmer

Lighting Subsystem

Page 10: 2012: A Home Odyssey

Lighting Subsystem

Page 11: 2012: A Home Odyssey

Lighting Subsystem

Page 12: 2012: A Home Odyssey

• MSP430G2553 Microcontroller

• TI CC1100 RF Module

• LED Indicators

HVAC Subsystem

Page 13: 2012: A Home Odyssey

HVAC Subsystem

Page 14: 2012: A Home Odyssey

HVAC Subsystem

Page 15: 2012: A Home Odyssey

• 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

• TI MSP430G2553

• TI CC1100 RF Module

• IR LED

Television Subsystem Components

Page 17: 2012: A Home Odyssey

Television Subsystem

Page 18: 2012: A Home Odyssey

Television Subsystem

Page 19: 2012: A Home Odyssey

• 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

Main Controller

Page 21: 2012: A Home Odyssey

• 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

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

• 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

Overall Project Block Diagram

Page 25: 2012: A Home Odyssey

Software Design:Database Entities

Page 26: 2012: A Home Odyssey

Software Design:User and Admin Privileges

Page 27: 2012: A Home Odyssey

• 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

• 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

• 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

• 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

• 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

• 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

• 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

• 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

• Allows the user to utilize typical universal remote control functions.

UI Design:TV Control Interface

Page 36: 2012: A Home Odyssey

• 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

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

Questions / Comments?