500 likes | 577 Views
Nicolas “Bailey” Godfrey Joshua Early Marc Garcia Daniel Krummen. Group 23. Sponsored By:. Close to Home ( C 2 H). Objectives and Goals. Energy Savings Security Automation Convenience. Specifications and Requirements. Close to Home System. Online Database. Module. Module. Hub.
E N D
Nicolas “Bailey” Godfrey Joshua Early Marc Garcia Daniel Krummen Group 23 Sponsored By:
Objectives and Goals • Energy Savings • Security • Automation • Convenience
Close to Home System Online Database Module Module Hub Android App Module … Module
Close to Home System Online Database Module Module Hub Android App Module … Module
Android Application Goals • Versatile • Lightweight • Simple • Quick and Effective
Android Application Platform • Android 4.0 Ice Cream Sandwich • Simple, natural, powerful public APIs Secure management of credentials • “Android 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 Application Platform • Free SDK • Huge community and developer support • Simple integration with the Eclipse IDE • Library of virtual devices useful for testing
Android Application Application’s Interaction With the System
Android Application Tasks and Features • Main GUI to the Close to Home system • Update settings and user permissions
Android Application Tasks and Features • Two Classes of users • Head of Household • Full control of all devices • Control of tenant user permissions • Tenant • Only has permission to control devices the Head of Household allows
Android Application Class Diagram
Android Applications User Interface • Simple • Quick • Easy to Use
Close to Home System Online Database Module Module Hub Android App Module … Module
Web Server Basics • Bridge the gap between app and hub • Utilize web hosted programming to relay data from hub to app and commands from app to hub • Utilize web hosted database to keep a live record of the various hub statuses
Web Hosted Programming Java • Strongly typed • Rigid I/O • More Secure • Works well with Android • Weakly typed • Loose I/O • Better Server Support • Cross-Platform ∴We are opting for Java in order to work with one language throughout the entire project and facilitate our class-oriented design.
Database • Embed in device • Can be tricky to keep synched with multiple users • Embed on web • Can handle multiple users simultaneously on the same database.
Design Fundamentals MySQL • Designed based on the class system of the hub based on specific rooms • Will be updated by the hub and viewed by the Android app. Java • Designed to handle I/O of data and commands • Class system to facilitate data sorting by class.
Close to Home System Online Database Module Module Hub Android App Module … Module
C2H Hub • Point of Contact for Modules • Uplink • Scheduling • Periodic Module Polling
OS/Language Choices CentOS (Linux) • Set up once and forget • Easily distributable • Stable, fast, and server-friendly • Free! Java • Compatible with CentOS • Ties in with app and database • Software multi-threading
Close to Home System Online Database Module Module Hub Android App Module … Module
Electrical Components 120V 240V In-Wall Occupancy Computer Lock
MCU MSP430F2121 • Low Power: • Active: 200 µA • Standby: .7 µA • Ram: .1 µA • Familiarity • C Language • Adaptability • CC Wireless • Ease of Implementation • Low Cost • Substantial Memory
Wireless CC2520 • Zigbee • Low Power • Ease of Implementation • Low Cost Antenna • 2.4 GHz • Ceramic • Very Small Foot Print
120V/240V Module • Standard 3-Wire Socket • Relay Activated • Ammeter detect on/off • Wall Powered
In-Wall Module • Standard Light Switch • Relay Activated • Ammeter detect on/off • Wall Powered
Occupancy Module • Laser Trip Wire • Double Laser Transmit Design • Photocell Receiver • Increment/Decrement Counter • Battery Powered
Computer Module • Sends Soft Shutdown command via USB • Will Monitor On/Off State • Ideally Flash Drive Form Factor • Powered by Computer 2 in. 4 in. 8 in.
Lock Module • Modification to existing lock system • Servo Controlled • FS5106B • 4.8V: 69.6 oz-in (5.01 kg-cm) • 6.0V: 83.5 oz-in (6.01 kg-cm) • Micro Switch State Detection • Battery Powered
Project Budget Initial Budget
Project Budget Modified Budget
Progression • (Chart of Progression Here)
What’s Next? • Make transmission reliable