50
Nicolas “Bailey” Godfrey Joshua Early Marc Garcia Daniel Krummen Group 23 Sponsored By:

Nicolas “Bailey” Godfrey Joshua Early Marc Garcia Daniel Krummen Group 23 Sponsored By:

Embed Size (px)

Citation preview

PowerPoint Presentation

Nicolas Bailey GodfreyJoshua EarlyMarc GarciaDaniel KrummenGroup 23Sponsored By:

Close to Home (C2H)

Objectives and GoalsEnergy SavingsSecurityAutomationConvenience

Specifications and RequirementsParameterValuePositive Energy Savings+40%Locking Method Error Rate0%Locking Response Time100msPolling Time Between Actions5 minClose to Home SystemHubAndroid AppModuleOnline DatabaseModuleModuleModuleClose to Home SystemHubAndroid AppModuleOnline DatabaseModuleModuleModuleAndroid ApplicationGoals

VersatileLightweightSimpleQuick and Effective

Android ApplicationPlatformAndroid 4.0 Ice Cream SandwichSimple, natural, powerful public APIs

Secure management of credentialsAndroid 4.0 makes it easier for applications to manage authentication and secure sessions. A new keychain API and underlying encrypted storage let applications store and retrieve private keys and their corresponding certificate chains. Any application can use the keychain API to install and store user certificates and CAs securely.- Android Developers Website

Android ApplicationPlatformFree SDKHuge community and developer supportSimple integration with the Eclipse IDELibrary of virtual devices useful for testing

Android ApplicationApplications Interaction With the System

Android ApplicationTasks and FeaturesMain GUI to the Close to Home systemUpdate settings and user permissions

Android ApplicationTasks and FeaturesTwo Classes of usersHead of HouseholdFull control of all devicesControl of tenant user permissionsTenantOnly has permission to control devices the Head of Household allows Android Application

Class DiagramAndroid ApplicationsUser InterfaceSimpleQuickEasy to Use

Close to Home SystemHubAndroid AppModuleOnline DatabaseModuleModuleModuleWeb Server BasicsBridge the gap between app and hubUtilize web hosted programming to relay data from hub to app and commands from app to hubUtilize web hosted database to keep a live record of the various hub statuses

Web Hosted ProgrammingJavaStrongly typedRigid I/OMore SecureWorks well with AndroidWeakly typedLoose I/OBetter Server SupportCross-Platform We are opting for Java in order to work with one language throughout the entire project and facilitate our class-oriented design.

DatabaseEmbed in deviceCan be tricky to keep synched with multiple usersEmbed on webCan handle multiple users simultaneously on the same database.

Design FundamentalsMySQLDesigned based on the class system of the hub based on specific roomsWill be updated by the hub and viewed by the Android app.JavaDesigned to handle I/O of data and commandsClass system to facilitate data sorting by class.Close to Home SystemHubAndroid AppModuleOnline DatabaseModuleModuleModulePoint of Contact for ModulesUplinkSchedulingPeriodic Module Polling

C2H HubTopologies

Topologies

Hardware ChoicesRaspberry PiATmega328(Arduino Uno)BeagleBoneProcessor700MHz ARM1116MHz720MHz AM3359RAM512MB32KB256MBGPIO8xGPIO14xDIG, 6xANALOG65xGPIO (!)Floating?YesYesYesOp. Volt.5V5V5VUART?YesYesYesLAN?On-Boardw/ ExpansionOn-BoardSize3.4 x 2.22.7 x 2.13 x 3Weight45 grams39.69 grams37 gramsPrice$40.00$36.00$59.00

Hardware ChoicesRaspberry PiATmega328(Arduino Uno)BeagleBoneProcessor700MHz ARM1116MHz720MHz AM3359RAM512MB32KB256MBGPIO8xGPIO14xDIG, 6xANALOG65xGPIO (!)Floating?YesYesYesOp. Volt.5V5V5VUART?YesYesYesLAN?On-Boardw/ ExpansionOn-BoardSize3.4 x 2.22.7 x 2.13 x 3Weight45 grams39.69 grams37 gramsPrice$40.00$36.00$59.00

OS/Language ChoicesCentOS (Linux)Set up once and forgetEasily distributableStable, fast, and server-friendlyFree!

JavaCompatible with CentOSTies in with app and databaseSoftware multi-threadingClose to Home SystemHubAndroid AppModuleOnline DatabaseModuleModuleModuleElectrical Components120V240VOccupancyComputerLockIn-Wall

Flow ChartMCUMSP430F2121

Low Power:Active: 200 AStandby: .7 ARam: .1 AFamiliarityC LanguageAdaptabilityCC WirelessEase of ImplementationLow CostSubstantial Memory

WirelessCC2520ZigbeeLow PowerEase of ImplementationLow Cost

Antenna2.4 GHzCeramicVery Small Foot Print

120V/240V ModuleStandard 3-Wire SocketRelay ActivatedAmmeter detect on/offWall Powered

120V/240V Module

120V/240V Module

In-Wall ModuleStandard Light SwitchRelay ActivatedAmmeter detect on/offWall Powered

In-Wall Module

Occupancy ModuleLaser Trip WireDouble Laser Transmit DesignPhotocell ReceiverIncrement/Decrement CounterBattery Powered

Occupancy Module

Occupancy Module

Computer ModuleSends Soft Shutdown command via USBWill Monitor On/Off StateIdeally Flash Drive Form FactorPowered by Computer

4 in.8 in.2 in.Lock ModuleModification to existing lock systemServo ControlledFS5106B 4.8V: 69.6 oz-in (5.01 kg-cm) 6.0V: 83.5 oz-in (6.01 kg-cm)Micro Switch State DetectionBattery Powered

Lock Module

Successes and DifficultiesProject BudgetPartCost Per UnitQty.TotalAtmel Microcontrollers$3.0050$150.00Blank Circuit Boards (30 Piece)$23.002$56.00Various Resistors and Capacitors$20.001$20.00Raspberry Pi (Hub)$35.001$35.00XBee Radio Module$25.0050$1250.00AA Batteries (20 Pack)$12.752$25.50Total:$1536.50Initial BudgetProject BudgetPartCost Per UnitQty.TotalAtmel Microcontrollers$3.0050$150.00Blank Circuit Boards (30 Piece)$23.002$56.00Various Resistors and Capacitors$20.001$20.00Raspberry Pi (Hub)$35.001$35.00XBee Radio Module$25.0050$1250.00AA Batteries (20 Pack)$12.752$25.50Total:$1536.50Modified BudgetPartCost Per UnitQty.TotalAtmel MicrocontrollersBlack Circuit BoardsRaspberry Pi (Hub)$40.001$40.008GB SD Card (Hub)$8.951$8.95Slice of Pi Board (Hub)$16.991$16.99Xbee 1mW Wire (Hub)$28.951$28.95AA Batteries (20 Pack)$12.752$25.50Various Resistors/Capacitors$20.001$20.00Total:

Initial PlanProgression(Chart of Progression Here)Whats Next?Make transmission reliable

Questions?