NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT...

11
NFC Smart Door Group 5: Daniel Fiske, Michael Lam and Daniel Tiam

Transcript of NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT...

Page 1: NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT Pulse Door Lock, etc. Features Implemented NFC device support Web interface Remote

NFC Smart DoorGroup 5: Daniel Fiske, Michael Lam and Daniel Tiam

Page 2: NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT Pulse Door Lock, etc. Features Implemented NFC device support Web interface Remote

Motivation

○ Metal key replacement○ Smartphone integration○ Away from home peace

of mind○ Lockitron, August Smart

Lock, ADT Pulse Door Lock, etc.

Page 3: NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT Pulse Door Lock, etc. Features Implemented NFC device support Web interface Remote

Features Implemented

○ NFC device support○ Web interface○ Remote unlock○ Monitor status○ Track history○ Accurate timestamps○ Persistent data○ Fail-Secure

Page 4: NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT Pulse Door Lock, etc. Features Implemented NFC device support Web interface Remote

Hardware Design

FPGA

NiosII

Avalon Switch Fabric

On Chip Mem

EPCS Flash

CFI Flash

PIO Cont

GPIO Expansion Headers

SD Card Socket

SD Card

NFC Module

Doorbell DM9000A (Ethernet)

Wireless Router

SPI

I2C

Door State Detector

Elec Door Strike

RTC Module

I2C

Page 5: NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT Pulse Door Lock, etc. Features Implemented NFC device support Web interface Remote

Software Design

Legend:Interface --Task --Data --Data Flow --Control Events --

Door Control Task

Backup Task SD Card

Lock Timeout

Task

NFC Task

Web Server Tasks

GPIO Tasks

Network Interface

Gpio

NFC Cards

Model DataHistory Data

Page 6: NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT Pulse Door Lock, etc. Features Implemented NFC device support Web interface Remote

NFC Overview

○ I2C & IRQ communication○ Secure Access Module

(SAM) configuration○ Waits for an NFC tag○ Differentiates between

Mifare and 14443 cards○ Alerts the door control task

SAM Configuration

Search for Targets

Parse Target Data

Power Up

Target Found

Post to Control Queue

Is Mifare?Yes

Send Select APDUNo

Parse Response APDU

Page 7: NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT Pulse Door Lock, etc. Features Implemented NFC device support Web interface Remote

Host Card Emulation

○ HCE allows an Android app to emulate a card and talk to an NFC reader

○ Android phones return a random UID

○ HCE is used to return the static 8-byte Android ID

Page 8: NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT Pulse Door Lock, etc. Features Implemented NFC device support Web interface Remote

NFC Smart Door Android App

○ Android application and HCE service

○ API Level 19○ 4.4.2 Kitkat

○ Tested on Nexus 4 and Nexus 5

Page 9: NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT Pulse Door Lock, etc. Features Implemented NFC device support Web interface Remote

Web User Interface Design

○ Browser and device independent○ HTML5 CSS3○ Clean○ Simple○ Responsive○ Intuitive○ Mobile support

Page 10: NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT Pulse Door Lock, etc. Features Implemented NFC device support Web interface Remote

Future Features

○ More statistics and analytics

○ Camera with live streaming○ HTTPS and NFC security○ User accounts○ Time restricted access

Page 11: NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT Pulse Door Lock, etc. Features Implemented NFC device support Web interface Remote

Demonstration

○ Live demo of the NFC Smart Door