Networked Door Locking System Kevin Lopez and Benjamin Thompson
Overview Users can lock and unlock their door using a web interface Uses: Check if the door is locked when the user is away Lock the door remotely if the user forgets to lock it Unlock the door if the user forgets his key Unlock the door remotely for another person
Components Raspberry Pi Arduino microcontroller Servomotor USB Bluetooth module Arduino microcontroller Serial Bluetooth module Servomotor Simulates lock on door
Architecture Raspberry Pi Website made with PHP running on Apache2 Authentication using a hashed password Communicates over Bluetooth with the Arduino Sends commands using PHP-serial module Receives information on whether door is locked or unlocked
Architecture Arduino Receives signals from Raspberry Pi over serial Bluetooth module Turns servomotor to lock or unlock door upon request from Raspberry Pi Then sends signal back to Raspberry Pi indicating that status of the lock
Web Interface User must enter password for every command User can check the status of the door, lock it, unlock it, or change the password User can access website either from computer or from mobile device
Pi-Arduino Interface Bluetooth Allows Raspberry Pi to operate near power and Internet access Allows Arduino to operate next to the door, where Internet or power may not be available Raspberry Pi pairs with Arduino using rfcomm utility, which creates a serial channel over Bluetooth This channel can then be used by the php-serial module to send and receive commands
Usage Internet Ethernet or WiFi Raspberry Pi Arduino Servo Bluetooth PWM