joshua early marc garcia nicholas “bailey” godfrey daniel “dk” krummen group 23 sponsored...

43
Joshua Early Marc Garcia Nicholas “Bailey” Godfrey Daniel “DK” Krummen Group 23 Sponsored By:

Upload: paulina-armstrong

Post on 12-Jan-2016

223 views

Category:

Documents


0 download

TRANSCRIPT

PowerPoint Presentation

Joshua EarlyMarc GarciaNicholas Bailey GodfreyDaniel DK 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 Actions1 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

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 systemCommunicates with the database to check for current status of devicesWorks with the Database and Hub to change the physical states of the devicesAndroid ApplicationClass Diagram

Android 4.0 Ice Cream SandwichUser 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 SecureWeakly typedLoose I/OBetter Server SupportCross-Platform We are opting for PHP in order to help the system work together throughout the entire project and facilitate accessibility for the Hub and App.

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

Server 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.PHPDesigned 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

Raspberry Pi equipped withRaspbian (Linux)Set up once and forgetFast and responsiveDeveloped for the Pis HardwareFree!

PythonCompatible with RaspbianTies in with app and databaseAccessible serial GPIO control

Close to Home SystemHubAndroid AppModuleOnline DatabaseModuleModuleModuleModules120V240VOccupancyComputerLockIn-Wall

MCUMSP430F2121

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

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

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

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

Successes and DifficultiesSuccessesWell under budget

DifficultiesSynchronized progress requiredPCBs arrived with incorrect designBuilding a door is hard!

Project 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 BudgetPartCost Per UnitQty.TotalMSP-FET430U28A$175.001$175.00MSP430-F2121$1.8210$18.20Wireless Module CC2520$5.882$11.76Servo ROB-11965$12.951$12.95Laser Module COM-09906$14.951$14.95Ceramic Antenna WRL-00144$2.6610$26.60Mini Photocell SEN-09088$1.3510$13.508GB SD Card (Hub)$8.951$8.95Slice of Pi Board (Hub)$16.991$16.99Xbee 1mW Wire (Hub)$28.951$28.95Raspberry Pi (Hub)$40.001$40.00AA Batteries (20 Pack)$12.752$25.50Various Resistors/Capacitors$20.001$20.00Total:$413.35Milestone Chart

Milestone Chart

ProgressionQuestions?