Download presentation
Presentation is loading. Please wait.
Published byElinor Phillips Modified over 9 years ago
1
Nicolas “Bailey” Godfrey Joshua Early Marc Garcia Daniel Krummen Group 23 Sponsored By:
2
Close to Home (C 2 H)
3
Objectives and Goals Energy Savings Security Automation Convenience
4
Specifications and Requirements ParameterValue Positive Energy Savings+40% Locking Method Error Rate0% Locking Response Time100ms Polling Time Between Actions5 min
5
Close to Home System Hub Android App Module Online Database Module …
6
Close to Home System Hub Android App Module Online Database Module …
7
Android Application Goals Versatile Lightweight Simple Quick and Effective
8
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
9
Android Application Platform Free SDK Huge community and developer support Simple integration with the Eclipse IDE Library of virtual devices useful for testing
10
Android Application Application’s Interaction With the System
11
Android Application Tasks and Features Main GUI to the Close to Home system Update settings and user permissions
12
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
13
Android Application Class Diagram
14
Android Applications User Interface Simple Quick Easy to Use
15
Close to Home System Hub Android App Module Online Database Module …
16
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
17
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.
18
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.
19
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.
20
Close to Home System Hub Android App Module Online Database Module …
21
Point of Contact for Modules Uplink Scheduling Periodic Module Polling C 2 H Hub
22
Topologies
24
Hardware Choices Raspberry Pi ATmega328 (Arduino Uno) BeagleBone Processor 700MHz ARM1116MHz720MHz AM3359 RAM 512MB32KB256MB GPIO 8xGPIO14xDIG, 6xANALOG65xGPIO (!) Floating? Yes Op. Volt. 5V UART? Yes LAN? On-Boardw/ ExpansionOn-Board Size 3.4” x 2.2”2.7” x 2.1”3” x 3” Weight 45 grams39.69 grams37 grams Price $40.00$36.00$59.00
25
Hardware Choices Raspberry Pi ATmega328 (Arduino Uno) BeagleBone Processor 700MHz ARM1116MHz720MHz AM3359 RAM 512MB32KB256MB GPIO 8xGPIO14xDIG, 6xANALOG65xGPIO (!) Floating? Yes Op. Volt. 5V UART? Yes LAN? On-Boardw/ ExpansionOn-Board Size 3.4” x 2.2”2.7” x 2.1”3” x 3” Weight 45 grams39.69 grams37 grams Price $40.00$36.00$59.00
26
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
27
Close to Home System Hub Android App Module Online Database Module …
28
120V240VOccupancyComputerLockIn-Wall
29
Flow Chart
30
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
31
Wireless CC2520 Zigbee Low Power Ease of Implementation Low Cost Antenna 2.4 GHz Ceramic Very Small Foot Print
32
120V/240V Module Standard 3-Wire Socket Relay Activated Ammeter detect on/off Wall Powered
33
120V/240V Module
35
In-Wall Module Standard Light Switch Relay Activated Ammeter detect on/off Wall Powered
36
In-Wall Module
37
Occupancy Module Laser Trip Wire Double Laser Transmit Design Photocell Receiver Increment/Decrement Counter Battery Powered
38
Occupancy Module
40
Computer Module Sends Soft Shutdown command via USB Will Monitor On/Off State Ideally Flash Drive Form Factor Powered by Computer 4 in. 8 in. 2 in.
41
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
42
Lock Module
43
Successes and Difficulties
44
Project Budget PartCost Per Unit Qty. Total Atmel Microcontrollers $3. 00 50 $150. 00 Blank Circuit Boards (30 Piece) $23. 00 2 $56. 00 Various Resistors and Capacitors $20. 00 1 Raspberry Pi (Hub) $35. 00 1 XBee Radio Module $25. 00 50 $1250. 00 AA Batteries (20 Pack) $12. 75 2 $25. 50 Total: $1536. 50 Initial Budget
45
Project Budget PartCost Per Unit Qty. Total Atmel Microcontrollers $3. 00 50 $150. 00 Blank Circuit Boards (30 Piece) $23. 00 2 $56. 00 Various Resistors and Capacitors $20. 00 1 Raspberry Pi (Hub) $35. 00 1 XBee Radio Module $25. 00 50 $1250. 00 AA Batteries (20 Pack) $12. 75 2 $25. 50 Total: $1536. 50 Modified Budget
46
PartCost Per UnitQty.Total Atmel Microcontrollers Black Circuit Boards Raspberry Pi (Hub)$40.001 8GB SD Card (Hub)$8.951 Slice of Pi Board (Hub)$16.991 Xbee 1mW Wire (Hub)$28.951 AA Batteries (20 Pack)$12.752$25.50 Various Resistors/Capacitors$20.001 Total:
47
Initial Plan
48
Progression (Chart of Progression Here)
49
What’s Next? Make transmission reliable
50
Questions
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.