25
iSecurity Mid-Semester Presentation Draft September 26, 2012

ISecurity Mid-Semester Presentation Draft September 26, 2012

Embed Size (px)

Citation preview

Page 1: ISecurity Mid-Semester Presentation Draft September 26, 2012

iSecurity

Mid-Semester Presentation DraftSeptember 26, 2012

Page 2: ISecurity Mid-Semester Presentation Draft September 26, 2012

Team Members

Jonathan Lalo

Read Sprabery Brandon Dahler

John Gazzini

Dr. Yogi Dandass

Computer EngineerTeam LeaderImage comparision Wifi Establisment

Software EngineerImage format translationImage TransmissionServer programming

Software EngineerServer programmingImage comparisonImage Storage

Computer EngineeriPhone applicationImage comparison

Page 3: ISecurity Mid-Semester Presentation Draft September 26, 2012

Outline

• Problem• Solution• System Overview• Constraints

‒ Technical‒ Practical

• Approach & Part Choice• Progress• Timeline

Page 4: ISecurity Mid-Semester Presentation Draft September 26, 2012

Problem

A need exists to monitor homes while away at various locations.

Devices that address this are expensive and difficult to install, making them inaccessible to the majority of potential users.

Page 5: ISecurity Mid-Semester Presentation Draft September 26, 2012

Solution

iSecurity:Camera & WiFi device configured through iPhone application

• Notifications sent directly to the iPhone• Device requires home wireless internet connection• Minimal user interaction required for setup

Page 6: ISecurity Mid-Semester Presentation Draft September 26, 2012

System Overview

Page 7: ISecurity Mid-Semester Presentation Draft September 26, 2012

Technical Design Constraints

Image Processing: 10 frames per second, motion detection between frames.

Wifi: Support for WPA Personal, WPA2 Personal, and WEP.

Power: Single 120VAC Connection (from standard wall socket).

Storage: Still frames stored on removable SD card when motion is detected.

Range: Motion must be detectable at 40ft.

Page 8: ISecurity Mid-Semester Presentation Draft September 26, 2012

Image Processing Performance

• Frame Analyzation in under 75ms‒ Comparison between frames‒ Storage‒ Transmission

Wireless Standards

• Basic requirements for Wi-Fi module‒ WEP, WPA Personal, and WPA2 Personal‒ Ad-hoc mode available for configuration

Page 9: ISecurity Mid-Semester Presentation Draft September 26, 2012

Storage

• Removable SD Card‒ Adequate size and speed

Power

• 120V AC – Included adapter

Range

• Motion detectable at 40 feet‒ Algorithm should be adjustable by the consumer

Page 10: ISecurity Mid-Semester Presentation Draft September 26, 2012

Practical Constraints

Page 11: ISecurity Mid-Semester Presentation Draft September 26, 2012

Economic

• IZON - Close competitor [1]‒ $130 price point, similar feature set‒ Includes audio‒ Poor marketing

• iSecurity‒ $99 price point‒ $49.99 manufacturing cost‒ Competitive with ability to profit

Page 12: ISecurity Mid-Semester Presentation Draft September 26, 2012

Sustainability

• Device relies on external server‒ Product Takes Off

Load problems Need to be scalable and extensible for new

products

‒ Product fails / Business Fails Server still needs to be maintained, possibly

downgraded Continued support for existing products, possibly

with degraded performance

Page 13: ISecurity Mid-Semester Presentation Draft September 26, 2012

Part Comparison and Peripheral Optimization

Page 14: ISecurity Mid-Semester Presentation Draft September 26, 2012

Wi-Fi Module

• Initially ran across three choices‒ Sagrad Inc.: SG901-1059B-5.0-H : $32 [2]‒ MicroChip: RN-171 : $29 [3]‒ MicroChip: MRF24WB0MA/MB : $24 [4]

• Each module supports WPA2• TCP/IP stack is + library included

• It came down to cost‒ MRF24 – cheapest at $24

Page 15: ISecurity Mid-Semester Presentation Draft September 26, 2012

Camera

• Hardest to figure out‒ Different packaging, pin count, and output types‒ Not many choices due to our ability to use it

• Candidates‒ OV10633-C96A : $13 [5]

96-pin CLGA YCbCr output

‒ MT9T031C12STC : $20 [6] 48-pin CLCC Bayer RGB

Page 16: ISecurity Mid-Semester Presentation Draft September 26, 2012

Microcontroller

• BlackFin – ($8 to $30) [7]‒ Established code for jpeg/mjpeg‒ Fast (400Mhz)‒ Dual core‒ Large # of pins (100-400) ‒ Custom board, with reflow soldering required

• PIC – ($5 to $10)‒ Tool familiarity‒ Not fast enough

Page 17: ISecurity Mid-Semester Presentation Draft September 26, 2012

Microcontroller

• JPEG2000 Encoder – ($37)‒ YCbCr input‒ Handles all encoding‒ Expensive

• Propeller – ($10) [8]‒ 8 cores‒ Beta GCC compiler‒ Lack of familiar tools‒ Cheapest development board‒ Massively parallel

Page 18: ISecurity Mid-Semester Presentation Draft September 26, 2012

New Hardware Approach

• Raspberry Pi [9]‒ 256 MB RAM‒ 700 Mhz ARM Processor‒ Linux Operating System‒ Cheap ($35)‒ Reduced development time‒ Options for hardware generalized and expanded

Page 19: ISecurity Mid-Semester Presentation Draft September 26, 2012

Wi-Fi Module

• Edimax EW-7811Un [10]‒ Supports aspects we were

looking for earlier‒ Small size‒ Cheap ($10)‒ Compatible with Raspberry Pi

Page 20: ISecurity Mid-Semester Presentation Draft September 26, 2012

Camera

• Any known Linux-compatible camera

• Rosewill RCM-816V [11]‒ $16‒ 1.3M pixels‒ USB 2.0‒ UVC compliant, so Linux compatible

Page 21: ISecurity Mid-Semester Presentation Draft September 26, 2012

Server Technologies

Windows Enterprise vs. Open Source

• Familiarity with Windows server technologies‒ ASP.NET‒ Windows Server access for startup company

• Many other options still open with Windows‒ Ruby on Rails‒ PHP

Page 22: ISecurity Mid-Semester Presentation Draft September 26, 2012

Progress

• Part choice complete

• Bayer Image Research‒ Software written to demo/test encoding and

interpolation

• Code Sharing (SVN) established

• Server code base setup

Page 23: ISecurity Mid-Semester Presentation Draft September 26, 2012

Timeline

September 26 Order Parts

October 7 Save pictures to SD card, begin motion detection, basic accounts on server

November 14 Detect motion on device, broker connections via server, send pictures over Wi-Fi

November 30 iPhone app full functionality, Server functionality

December 1 Begin optimization

Page 24: ISecurity Mid-Semester Presentation Draft September 26, 2012

References

•[1] http://steminnovation.com/section/iZON/24/•[2] http://www.sagrad.com/index.php?option=com_docman&task=doc_download&gid=59&Itemid=102

•[3] http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en558370•[4] http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en548014•[5] http://www.ovt.com/products/sensor.php?id=110•[6] http://www.aptina.com/products/image_sensors/mt9t031c12stc/•[7] http://www.analog.com/en/processors-dsp/blackfin/products/index.html•[8] http://www.parallax.com/propeller/•[9] http://www.raspberrypi.org/•[10] http://www.edimax.com/en/produce_detail.php?pd_id=347&pl1_id=1&pl2_id=44•[11] http://www.rosewill.com/products/1373/ProductDetail_Overview.htm

Page 25: ISecurity Mid-Semester Presentation Draft September 26, 2012

Questions