You are on page 1of 5

SMART DOOR LOCKING SYSTEM WITH

VIDEO SYSTEM
Department of Electronics Engineering, Technological Institute of the Philippines

Abstract - A smartphone has variety of uses and Management Studio for managing the database of the
becomes one of the most important devices nowadays. users. This design requires a server which is costly but
This paper describes the design and operation of a door useful in office area where a controlling system is
locking using smartphone through Wireless Fidelity (Wi- needed to control people accessing the cabinet.
Fi) technology. Programmed using Android, the
smartphone can lock and unlock the door within Wi-Fi
In [2-3], the authors discussed the ongoing
project using Bluetooth technology to control the
range. This design is able to work within maximum range
access of the door locking using Android and Arduino.
of 40 meters and 150 meters considering the range for a
By using Bluetooth, the door locking system only can
standard Wi-Fi range. Smartphone activated door lock
be accessed within shorter range compared to WiFi
using Wi-Fi has been designed, implemented and tested
technology.
successfully. A separate system for video feed is
programmed via raspberry pi synchronized to a cloud OVERVIEW OF THE DESIGN
system for sending and receiving commands via
subscriber. Figure 1.0 – 1.1 shows the system flow of the project.
Given that the system has two separate system (Video
Feed System via Raspberry Pi and Door Locking
System via Wi-Fi) the diagram explains the general
I. INTRODUCTION
flow of the project.
A smartphone has variety of uses and
When the motion sensor detects any motion within the
becomes one of the most important devices nowadays.
camera setup’s field, the user will be notified on their
This paper describes the design and operation of a door phone or web browsers. The notification comes with a
locking using smartphone through Wireless Fidelity text, still image and video that you can view right on
(Wi-Fi) technology. Programmed using Android, the iOS or Android. The system utilizes the free software
smartphone can lock and unlock the door within Wi- and services such as picamera, ffmpeg and pushbullet.
Fi range. This design is able to work within maximum The application structure plays a role together, (1)
Raspberry Pi and Camera Module - as the data source
range of 40 meters and 150 meters considering the
that continuously scan for motion and recording video
range for a standard Wi-Fi range. Smartphone at the same time. (2) Pushbullet - as the message-
activated door lock using Wi-Fi has been designed, broker to send messages (text, still images and videos)
implemented and tested successfully. A separate back and forth between Raspberry Pi and
system for video feed is programmed via raspberry pi Mobile/Web. (3) Mobile/Web acts as “notification”
synchronized to a cloud system for sending and who receives the still image and video of motion. The
receiving commands via subscriber. A simple communication is two ways; the system allows the
user to send a command from mobile or web to
application that detects motion and sends notifications
Raspberry Pi for particular action such as “@Snap”
to your smart phone using a Raspberry Pi and camera (for instantly take a photo) or “@check”(to get current
module is the main algorithm of the video feed system system information of Pi).
while the door locking system is accessed through IP
address of the Wi-Fi Module that is programmed. The system for door locking system is more simply
than the video feed. The ESP8266 NodeMCU is
Recently, A lot of researchers have programmed via Arduino and will be the main host for
developed and published ways of accessing devices the door lock. The control for the door lock to lock or
remotely via Wi-Fi. Researchers have developed a unlock is accessed via IP Address of the ESP 8266
which is “192.168.43.39” where you can find an
technology based home security and automation. The option for you to unlock or lock the door.
authors in [1] have developed application for
controlling access cabinet using Microsoft SQL Server
II. REVIEW OF RELATED LITERATURE

A. Review of Related Literature

In this section, discussed different Home Automation


System with their technology with features, benefit
and limitations they have. Figure 2.0 shows the Basic
Architecture of Home Automation.

Devices,
Sensor Check status
Things
or Machine

Via Ethernet, Bluetooth, GSM, WiFi


Controlling Central
System Controller

User
Interface

Figure 2.0 Basic Architecture of Home Automation

The Home automation system that uses Wi-Fi


technology [4]. System consists of three main
Figure 1.0 Video Feed System
components; web server, which presents system core
that controls, and monitors users’ home and hardware
interface module(Arduino PCB (ready-made), Wi-Fi
shield PCB, 3 input alarms PCB, and 3 output
actuators PCB.), which provides appropriate interface
to sensors and actuator of home automation system.
The System is better from the scalability and
flexibility point of view than the commercially
available home automation systems. The User may use
the same technology to login to the server web based
application. .If server is connected to the internet, so
remote users can access server web based application
through the internet using compatible web browser.

The application has been developed based on the


android system [5]. An interface card has been
developed to assure communication between the
remote user, server, raspberry pi card and the home
Appliances. The application has been installed on an
android Smartphone, a web server, and a raspberry pi
card to control the shutter of windows. Android
application on a smartphone issue command to
raspberry pi card. An interface card has been realized
to update signals between the actuator sensors and the
Figure 1.1 Door Lock System raspberry pi card.
Cloud-based home appliance monitoring and Raspberry Pi where the user via phone using
controlling System. Design and implement a home commands given on the previous section controls it.
gateway to collect metadata from home appliances and
send to the cloud-based data server to store on HDFS D. Conceptual Framework
(Hadoop Distributed File System), process them using The framework consist of Input, Process and Output
MapReduce and use to provide a monitoring function popularized by David Eastan.
to Remote user [6].

It has been implemented with Raspberry Pi through


reading the subject of E-mail and the algorithm. Input Process Output
Raspberry Pi proves to be a powerful, economic and Video Feed
efficient platform for implementing the smart home Video Feed
automation [7].Raspberry pi based home automation (1) the input
Video Feed
is better than other home automation methods is for the first Video Feed
(1) the user
several ways. system is the (1) the
will be notified
motion sensor notification
that something
where it will be sent via
has been
notifies the message via
III. WIRELESS DOOR LOCK SYSTEM WITH detected by the
user for the Wi-Fi
motion sensor
VIDEO FEED detected
motion.
(2) the user (2) the system (2) a message
will sent will upload the will be
A. Abstract
commands to image and received by the
Nowadays, the capability of smartphones is the system to video captured user with
astonishing. A Smartphone is capable to handle get a snap by the camera image and
applications that can perform a wide variety of image or video via users video of the
of the motion. command. motion.
functions. The purpose of this project is to simplify the
Door Lock System
tasks of locking and unlocking the door and to increase
(1) the user
the security of the door locking system via added
must go to the (1) the (1) the user
features. IP address of webpage will will be able to
B. Introduction the Wi-Fi display control lock or unlock
where the for locking and the door
Automation is a technique, method, or system of module is unlocking of wirelessly via
operating or controlling a process by electronic connected - the system. Wi-Fi.
devices with reducing human involvement to a 192.168.43.39
minimum. The fundamental of building an automation Table 3.0 Conceptual Framework
system for an office or home is increasing day-by-day E. Statement of the Problem
with numerous benefits. Industrialist and researchers
are working to build efficient and affordability Controlling devices remotely is a convenient way to
automatic systems to monitor and control different do things especially when you are not able to do it. For
machines like lights, fans, AC based on the example, people who are away home but has intruder
requirement. Automation makes not only an efficient or visitor outside his door, he can either recognize or
but also an economical use of the electricity and water alert people near his place that someone is at his door.
and reduces much of the wastage
F. Scope and limitations
C. Methodology
The limitations for the project is the range of the Wi-
In this study, the researchers will apply the findings on Fi where you can control the system (For Door Lock).
the previous sections. The control for the door lock While for Raspberry Pi is the capacity of the memory
system will be the ESP8266 Nudemco where is to hold and receive images and videos when the user
connected via Wi-Fi where the user can access the send a command to the system via message.
webpage for the control. The video feed will be on the
G. Evolution of System

G.1. Raspberry Pi

It is a credit-card-sized single microcontroller


computer. Python as the main programming language.
It is easy to learn and suitable for real world
applications [4]. There are two main types of pi first
one is Model A has 25 6Mb RAM, one USB port and
no network connection and Model B has 5

12Mb RAM, 2 USB ports and an Ethernet port. It has


Figure 3.0
a Broadcom BCM2835 system on a chip which
includes an ARMl176JZF -S 700 MHz processor, V. CONCLUSION AND RECOMMENDATIONS
Video Core IV GPU, and an SD card. The chip
specifically provides HDMI and there is no VGA A. Conclusion
support. Arduino can successfully work with
Smartphone activated door locking using WiFi has
Raspberry Pi Computers.
been designed, implemented and tested successfully.
G.2. Arduino This design used a smart phone to lock and unlock
door wirelessly using WiFi technology.
It is a microcontroller board, not fully computers. In
this, written codes are simply executed without any
obstacle. It is an 8 bit Atmel AVR Microcontroller
VI. REFERENCES
which comprises of 32K and 512K of onboard flash
memory, 2K of RAM, runs at 884MHz clock speeds [1] Fedelin D. P. Jr., Malabed J.N.G., Manalo N.S.A,
with voltages of 2.7V-12V.programming is done using and Roxas K.M.P. 2013. Controlled Access Cabinet
C and carries no operating system. The code is written Door via Android Phone. International Journal of
in the computer and then sent through USB cable for Management, IT and Engineering (IJMIE). 3(7):
execution. Its construction simply covers digital input- 379389.
output pins that are between 9-54 AND 6-12 analog
input pins. Its power consumption is less than 0.5 watt. [2] Ismail N.H., Tukiran Z., Shamsuddin N.N. and
Saadon E.I.S. 2014. Android-based Home Door Locks
G.3. ESP 8266 NodeMCU Module Application via Bluetooth for Disabled People. IEEE
International Conference on Control System and
NodeMCU is an open source IoT platform. It includes Engineering, Penang, Malaysia.
firmware which runs on the ESP8266 Wi-Fi SoC from
Espressif Systems, and hardware which is based on the [3] Potts J. and Sukittanon S. 2012. Exploiting
ESP-12 module. The term "NodeMCU" by default Bluetooth on Android Mobile Devices for Home
refers to the firmware rather than the dev kits. The Security Application. In: Proceedings of IEEE
Southeastcon. 1-4
firmware uses the Luascripting language. It is based
on the eLua project, and built on the Espress if Non- [4] Ahmed ElShafee, Karim Alaa Hamed,” Design and
OS SDK for ESP8266. It uses many open source Implementation of a WiFi Based Home Automation
projects, such as lua-cjson and spiffs. System”, International Journal of Computer,
Electrical, Automation, Control and Information
H. Hardware Configuration Engineering Vol: 6, No: 8, 2012.
Figure 3.0 shows the schematic diagram for the ESP [5] Hayet Lamine and Hafedh Abid , ”Remote control
Module with 12 pins as output and the connection for of a domestic equipment from an Android application
the motor. based on Raspberry pi card”, IEEE transaction 15th
international conference on Sciences and Techniques
of Automatic control & computer engineering -
STA'2014, Hammamet, Tunisia, December 21-23,
2014.
[6] YunCui, MyoungjinKim, YiGu, Jong-jinJung, and
HankuLee, “Home Appliance Management System
for Monitoring Digitized Devices Using Cloud
Computing Technology in Ubiquitous Sensor
Network Environment”,Hindawi Publishing
Corporation International Journal of Distributed
Sensor Networks Volume 2014, Article ID 174097
[7] Jain Sarthak,Vaibhav Anant and Goyal Lovely
,“Raspberry Pi based Interactive Home Automation
System through E-mail.”,IEEE transaction,2014
International Conference on Reliability, Optimization
and Information Technology ICROIT 2014, India, Feb
68 2014.