NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT...
Transcript of NFC Smart Door - University of Albertadelliott/cmpe490/projects/...Lockitron, August Smart Lock, ADT...
NFC Smart DoorGroup 5: Daniel Fiske, Michael Lam and Daniel Tiam
Motivation
○ Metal key replacement○ Smartphone integration○ Away from home peace
of mind○ Lockitron, August Smart
Lock, ADT Pulse Door Lock, etc.
Features Implemented
○ NFC device support○ Web interface○ Remote unlock○ Monitor status○ Track history○ Accurate timestamps○ Persistent data○ Fail-Secure
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
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
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
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
NFC Smart Door Android App
○ Android application and HCE service
○ API Level 19○ 4.4.2 Kitkat
○ Tested on Nexus 4 and Nexus 5
Web User Interface Design
○ Browser and device independent○ HTML5 CSS3○ Clean○ Simple○ Responsive○ Intuitive○ Mobile support
Future Features
○ More statistics and analytics
○ Camera with live streaming○ HTTPS and NFC security○ User accounts○ Time restricted access
Demonstration
○ Live demo of the NFC Smart Door