SDP-IT-99-91
SDP-IT-99-91
PROJECT REPORT
ON
SMART DOOR LOCK SYSTEM
B.Tech (IT) Sem-VII
Prepared By
PISHANGKUMAR UJENIYA (IT-099)
MOHIB SORATHIA (IT-091)
1
A
Project Report
On
SMART DOOR LOCK SYSTEM
BTech Sem VII
Submitted By:
1. PISHANGKUMAR UJENIYA
2. MOHIB SORATHIA
Under the Guidance of
Prof.(Dr.) Harshad B Prajapati
2
CANDIDATE’S DECLARATION
Pishangkumar Ujeniya
13ITUBS007
Mohib Sorathia
13ITUOS058
3
CERTIFICATE
This is to certify that the project carried out in the subject of software
design project entitled “SMART DOOR LOCK SYSTEM” and recorded
in this report is a bonafide report of work of
1. PISHANGKUMAR UJENIYA (IT - 099) (13ITUBS007)
2. MOHIB SORATHIA (IT - 091) (13ITUOS058)
Of Department of Information Technology Semester VII. They were
involved in project work during academic year 2016.
Prof. R. S. Chhajed
Head, Department of Information Technology,
Faculty of Technology,
Dharmsinh Desai University, Nadiad
Date:
4
ACKNOWLEDGEMENT
We have taken efforts in this project. However, it would not have been
possible without the kind support and help of many individuals. We would
like to extend our sincere thanks to all of them.
1. Pishangkumar Ujeniya
2. Mohib Sorathia
5
TABLE OF CONTENTS
1. Introduction
1.1. Project Details
1.2. Purpose
1.3. Scope
2. Project Management
2.1. Feasibility Study
2.1.1. Technical Feasibility
2.1.2. Implementation Feasibility
2.1.3. Cost of implementation.
3. General Descriptions
3.1. Software Used
3.2. Hardware Used
3.3. Milestones Achieved
3.4. Roles
5. Design
5.1. Use Case Diagram
5.2. Activity Diagram
5.3. Sequence Diagram
6. Implementation
6.1. Component Diagram
6.2. Circuit Pin diagram
6.3. Hardware implementation
6.4. Software Implementation
7. Testing
7.1. Testing Strategy
7.2. Testing Method
7.3. Test Cases
8. Screenshots
9. Conclusion
1.3 Scope
The Goal of this system is to develop a Smart Door Lock System
Hardware and Android Application. Door Lock System would
be working on communicating via Android app.
Application would be giving commands to System and it would
work accordingly.
7
2. PROJECT MANAGEMENT
9
3. GENERAL DESCRIPTIONS
3.1 Software Used
Arduino IDE: Arduino IDE is open source IDE software used
for making Arduino board programs and sending them to
Arduino board via USB port.
Android Studio: Android Studio is open source IDE software
used for making Android Smartphone applications and helps in
debugging them too.
Notepad++: Notepad++ is a free source code editor which
supports several programming languages running under the
MS Windows environment.
OpenOffice: OpenOffice an open source document editor
office suite. Writer a component of openoffice helps to make
document file.
3.2 Hardware Used
ArduinoUNO: Arduino UNO is a microcontroller board based
on ATMega328P. It has 14 digital I/O pins with 6 analogue
inputs, 16 Mhz Quartz Crystal, a USB connection.
It contains everything needed to support the microcontroller.
Bluetooth Module (HC - 05): HC-05 module is an easy to use
Bluetooth SPP (Serial Port Protocol) module, designed for
transparent wireless serial connection setup. Serial port
Bluetooth module is fully qualified Bluetooth V2.0+EDR
(Enhanced Data Rate) 3Mbps Modulation with complete
2.4GHz radio transceiver and baseband.
Motor Driver IC L293D: A motor driver IC is an integrated
circuit chip which is usually used to control motors in
autonomous robots. Motor driver ICs act as an interface
between microprocessors in robots and the motors in the robot.
10
Here we would be using most commonly used IC L239D for
DC motor to rotate in either direction.
Low RPM Motor: Low RPM Motor for getting out
displacement of rack a little slower as lock mechanism would
be needing only very few milliseconds of motor rotations.
Power Supply: 5V DC Power Supply needed for L293D
circuit board and Arduino UNO would be given power supply
via USB cable or Power pin.
3.4 Roles
11
4. SPECIFIC FUNCTIONAL REQUIREMENTS
2.0 Connectivity
2.0.2 IC Driver
State: IC L239D Connected to Arduino and
Power Supply.
Input: Logic State to Pins 2, 9 depending upon
Arduino Code.
Process: IC switches according to input.
Output: IC gives output to motor depending
upon logic.
2.0.3 Motor
12
3.0 Android App
3.0.2 Lock/Unlock
3.0.3 History
13
5. DESIGN
5.1 Use Case Diagram
14
5.2 Activtiy Diagram
15
5.3 Sequence Diagram
16
6. IMPLEMENTATION
6.1 Circuit Diagram
17
6.2 Component Pin Diagram
18
6.3 Hardware Implementation
19
to “Select HC – 05” and would display list view with available
paired Bluetooth device.
GetStatus in this activity a button would be displayed to fetch
the data from Lock System whether the system is locked or
unlocked.
ToLock in this activity their would be displayed a textbox to
enter Password and click Lock button which would send
password and command of Locking in singles string
concatenated to Lock System and the Lock system would be
fetching password whether it is correct or not and depending
upon it would decide the function.
ToUnlock this activity is same as ToLock, but in this the
command is Unlocking is sent.
History this activity would be rendering a dynamic table with
dynamic colourful rows displaying date and time and task
perfomed for Locking or Unlocking. Along with it would be
displaying Clear History button which on click would clear all
database table records.
20
7 TESTING
- Unit Testing
- Integration Testing
21
7.3 Test Cases
Test Case ID Test Scenario Test Process Expected Results Actual Results
TC01 Bluetooth -Open App Ask Again As Expected
-Deny
Permsission
TC02 Bluetooth -Turn BT on Automatically As Expected
-Open App Off Bluetooth
TC03 Device Select -Open App Show Respective As Expected
-Permit BT Error and exit the
-Press Connect app
-Don’t Select
HC-05
22
8 SCREENSHOTS
23
24
25
9 CONCLUSION
26