Sei sulla pagina 1di 22

A PROJECT REPORT

ON

SMART DOOR LOCK SYSTEM

SUBMITTED IN PARTIAL FULFILLMENT OF THE


REQUIREMENT FOR THE DIPLOMA IN

COMPUTER ENGINEERING

ROLL NO. NAME

58 NAMITA PANDEY

17 AKANSHA GHARATE

17 SAMEER HOJAGE

33 PRANAV SALI

UNDER THE GUIDENCE

Karan bahure
sir

GOVERNMENT POLYTECHNIC, THANE


Phadkepada, Opp. Bharat Gears, Mumbra-Shil Road, Mumbra, Thane 400612

Website: www.gpthane.org.in Email: gpt@gpthane.org.in


GOVERNMENT POLYTECHNIC, THANE
Phadkepada, Opp. Bharat Gears, Mumbra-Shil Road, Mumbra, Thane 400612

Website: www.gpthane.org.in Email: gpt@gpthane.org.in

CERTIFICATE

This is to certify that following third year computer engineering students have
successfully and satisfactorily completed their project work, entitled "Smart Door lock
system using Arduino”, in partial fulfilment of the requirement for the diploma in
Computer engineering for the academic year 2018-2019

Roll No. Name

10 Namita pandey

15 Akansha gharate

17 Sameer hojage

33 Pranav sali

Project Guide
H.O.D.
( Karan bahure)
(Mr.S.S.Sanap)
External Examiner Yogesh mule

ACKNOWLEDGEMENT

We have immense pleasure in presenting the report for our project entitled "Smart door lock
system using Arduino”.

We would like to take this opportunity to express our gratitude to a number of people who
have been sources of help & encouragement during the courses of this project.

We are very graceful and indebted to our project guide Karan bahure sir & our respected HOD
Mr.S.S.Sanap for providing their enduring patience, guidance, & suggestions. They were the
one who never let our morale down & always supported us through our thick & thin. They were
the constant source of inspiration for us & took at most interest in our project.

We would also like to thank all the staff members for their invaluable co-operation &
permitting us to work in the computer lab.

We are also thankful to all the students for giving us their useful advice & immence co-
operation. Their support made the working of this project very pleasant.

Group Members:
Akansha gharate
Namita pandey

ABSTRACT
As thefts are increasing day by day security is becoming a
major concern nowadays. In this project we will make a
digital door lock system with keypad using Arduino Uno. It
will open your door only when the right password is entered
and it will start beeping when a wrong password is entered.
Components Required:
4×4 keypad
LCD
Arduino Uno
Battery
Breadboard
Buzzer
Rfid
Rfid tag
Solenoide door lock
Battery holder
Power cable
I2c
Connecting Wires(femles to female, male to female, male to
male)

WORKING:
In this project, we have used Arduino,i n coding we have
store the password in it. The default password stored in it
will be ‘1234’. When we enter a password, it will match it
with the password stored in the coding. If it is correct,
then it will show 'Access Authorized’ and the push pull
solenoid will come in low state (Door Unlocked). If the
password is wrong, then it will show ‘Access Denied’.
During this condition the buzzer will start beeping and the
push pull solenoid will remain in the high state (Door
Locked). The buzzer will also beep once when any key is
pressed.
Sr no. Topic Page no.

1. Introduction:
1.1 Project definition
1.2 Motivation of Project
1.3 Scope of Project

2. Review of literature:
2.1 existing system (history)
2.2 Comparison of existing and proposed system

3. Software development life cycle

4. Requirement analysis:
4.1 System analysis
4.2 Requirement analysis
4.3 Feasibility Analysis
4.4 Technologies used (Hardware & Software)

5. Design:
5.1 System Design
5.2 Data flow Diagram
5.3 Entity relationship Diagram
5.4 Description of overall system architecture

6. Implementation
(Enter all the components & Explain Each )

7. Testing:
7.1 Integration testing
7.2 system testing

8. Applications & Future scope:


8.1 Applications
8.2 Conclusions
8.3 Future Scope
9. Reference

INTRODUCTION

1.1 Definition of Project

Just thought of making a password based door lock system in which you can enter the
password via the keypad. It was an interesting project which required beginner's level skill in
programming and very easy to connect circuit.

1.2 Motivation of Project

The purpose of Arduino Based Smart door locking system is to provide a


smart solution to overcome these challenges and provide a feasible
solution. The project is implemented using Arduino Uno. Arduino Uno is a
microcontroller board.
1.3 Scope of Project

The aim of this project is to provide smart door lock security.

Password Protected Locking System Using Arduino ... places like bank
lockers, security door.
This work is based on. Arduino and is used for the security purpose.

Chapter 2
Review of Literature

2.1 Existing System(History):

Existing System and its limitations The most commonly used system for locking
and unlocking the door is a lock and a physical key. The entire process is a
mechanical one. If the key is lost, misplaced or stolen, then the entire locking
mechanism has to be replaced.

2.2 Comparison of existing and proposed system:

Smart door lock security system has become indispensable in modern daily life.
... compared to the other existing systems. It provides strong security than
existing door lock system like password based door lock system etc.In this
project we will make a digital door lock system with keypad using Arduino Uno.
It will open your door only when correct password will be entered on keypad
which we have set already.

Chapter 3

Project Development Life Cycle

The project development life Cycle is a term used in system engineering, information
systems and engineering to describe a process for planning, creating, testing, and deploying an information
system. A software development life cycle is composed of a number of clearly defined and distinct work phases
which are used by software engineers and software developers to plan for, design, build, test, and deliver software
systems. Like anything that is manufactured on an assembly line, an SDLC aims to produce high-quality systems
that meet or exceed customer expectations, based on customer requirements, by delivering systems which move
through each clearly defined phase, within scheduled time frames and cost estimates. To manage the level of
complexity, a number of SDLC models or methodologies have been created, such as "waterfall"; "spiral"; "Agile
software development"; "rapid prototyping"; "incremental"; and "synchronize and stabilize".
SDLC can be described along a spectrum of agile to iterative to sequential. Agile methodologies, such
as XP and Scrum, focus on lightweight processes which allow for rapid changes (without necessarily following
the pattern of SDLC approach) along the development cycle. Iterative methodologies, such as Rational Unified
Process and dynamic systems development method, focus on limited project scope and expanding or improving
products by multiple iterations. Sequential or big-design-up-front (BDUF) models, such as waterfall, focus on
complete and correct planning to guide large projects and risks to successful and predictable results. Other
models, such as anamorphic development, tend to focus on a form of development that is guided by project scope
and adaptive iterations of feature development.
The software development life cycle framework provides a sequence of activities for system designers and
developers to follow. It consists of a set of steps or phases in which each phase of the SDLC uses the results of the
previous one. The SDLC adheres to important phases that are essential for developers, such
as planning, analysis, design, and implementation.

These stages can be characterized and divided up in different ways, including the following:

 Preliminary analysis: The objective of phase 1 is to conduct a preliminary analysis, propose


alternative solutions, describe costs and benefits and submit a preliminary plan with recommendations.

 Systems analysis, requirements definition: Defines project goals into defined functions and operation of
the intended application. It is the process of gathering and interpreting facts, diagnosing problems and
recommending improvements to the system. Analyzes end-user information needs and also removes any
inconsistencies and incompleteness in these requirements.

 Systems design: Describes desired features and operations in detail, including screen layouts, business
rules, process diagrams, pseudocode and other documentation.

 Development: The real code is written here.

 Integration and testing: Brings all the pieces together into a special testing environment, then checks for
errors, bugs and interoperability.

 Acceptance, installation, deployment: The final stage of initial development, where the software is put
into production and runs actual business.

 Maintenance: During the maintenance stage of the SDLC, the system is assessed to ensure it does not
become obsolete. This is also where changes are made to initial software. It involves continuous evaluation
of the system in terms of its performance.
Chapter 4

Requirement Analysis

4.1. System Analysis

A system is in general a set of parts, steps, or components that are connected to form a more complex whole. For
example, a computer system contains processors, memory, electrical pathways, a power supply, etc. For a very
different example, a business is a system made up of methods, procedures, and routines.
Systems analysis is a problem-solving method that involves looking at the wider system, breaking apart the parts
and figuring out how it works in order to achieve a particular goal.
The first step in solving a problem that involves a system is analyzing that system. This involves breaking it down
into the parts that make it up, and seeing how those parts work together. Sometimes figuring out how a system
works can involve turning off parts of the system and seeing what happens, or changing parts of the system and
seeing what the result is. If you change what goes into a system, how does it change what comes out? Basically,
systems analysis involves techniques that allow you to understand how a system works.
The first phase in the system analysis phase is studying the existing system and other is to understand the
requirements and domain of the new system.Both the activities are equally important , but the first activity serves
as a basic of giving the functional specifications and then successful design of the proposed system.
Understanding the properties and requirements of a new system is more difficult and requires creative thinking
and understanding of existing running system is also difficult, improper understanding of present system can lead
diversion from solution.

4.2. Requirement Analysis

In systems engineering and software engineering, requirements analysis encompasses those tasks that go into
determining the needs or conditions to meet for a new or altered product or project, taking account of the possibly
conflicting requirements of the various stakeholders, analyzing, documenting, validating and managing software
or system requirements.
Requirements analysis is critical to the success or failure of a systems or software project. The requirements
should be documented, actionable, measurable, testable, traceable, related to identified business needs or
opportunities, and defined to a level of detail sufficient for system design.

Conceptually, requirements analysis includes three types of activities:

 Eliciting requirements:- Business process documentation, and stakeholder interviews. This is sometimes also
called requirements gathering or requirements discovery.
 Analyzing requirements: determining whether the stated requirements are clear, complete, consistent and
unambiguous, and resolving any apparent conflicts.
 Recording requirements: Requirements may be documented in various forms, usually including a summary list
and may include natural-language documents, use cases, user stories, process specifications and a variety of
models including data models.

4. 3 Technologies Used (Hardware and Software)

Hardware requirement:

 Processor: AMD & above

 Hard Disk: 40GB – 1TB

 RAM: 4 GB & above


Software requirement:

 Operating System: Windows 7 or Higher Version

 Language: JAVA

 Database: Firebase

 Software Development Tool: Android Studio 3.2.1

Chapter 5

Design

5.1. System Design

First of all, we will make the connection to the 4×4 Keypad. For
connecting the keypad with the Arduino we are using both analog and
digital pins. We used analog pins since we need more that 14 digitals
pins for this project. If you are using Arduino Mega, then there is no
need to use analog pins. Connect first six pins of keypad to analog pins
A0 ~ A5 of Arduino and remaining two to digital pins 3 and 2.To connect
the push pull solenoid with the Arduino, we will have to use external
power because it requires 6 ~ 12V to operate and much more current than
the Arduino can provide. So to do that, we will use TIP120 NPN transistor
as a switch/driver and a DC power source which can provide 6 ~ 12V. The
NPN transistor will switch ON when we will give HIGH to its base. So,
connect its first pin (which is the base pin) to the pin 11 through to a
1KΩ resistor, second pin (which is the collector pin) to the negative
wire of push pull solenoid and third pin (which is the emitter pin) to
the ground. Now connect the positive of power supply to the positive wire
of solenoid and the negative of power supply to the ground.Now connect
the positive wire of buzzer to the pin 10 of Arduino and negative wire to
the ground.
Now we will connect the 16×2 LCD to the Arduino.

Connect pin 1 (VEE) to the ground.


Connect pin 2 (VDD or VCC) to the 5V of the Arduino.
Connect pin 3 (V0) to the middle pin of the 10KΩ potentiometer and
connect the other two ends of the potentiometer to VCC and GND. The
potentiometer is used to control the contrast of the LCD.
Connect pin 4 (RS) to the pin 9 of the Arduino. This is Register Select
pin used to select a particular register in the LCD driver, which is
handled by the LCD library.
Connect pin 5 (Read/Write) to the ground of Arduino. This pin is not
often used so we will connect it to the ground as we are only writing
data to LCD.
Connect pin 6 (E) to the pin 8 of the Arduino. It is used indicate a
valid data or command in the following data pins.
The following four pins are data pins which are used to send data or
commands to the LCD.
Connect pin 11 (D4) to pin 7 of Arduino.
Connect pin 12 (D5) to pin 6 of Arduino.
Connect pin 13 (D6) to pin 5 of Arduino.
Connect pin 14 (D7) to pin 4 of Arduino.
Connect pin 15 to the VCC through the 220 ohm resistor. By changing this
resitor value we can change the backlight LED brightness. Larger values
will make the back light much more darker.
5.2. Usecase Diagram

Figure 6 Usecase Diagram

5. 3. Description of overall system architecture


Methodology

Polymer
Polymer is a lightweight library made by Google. Which helps you take full advantage of Web Components with
Web Components, you can create reusable custom elements that interoperate seamlessly with the browser’s built-
in elements, or break down app up into right-sized components, it helps you in keeping your code cleaner and it is
less expensive to maintain. Polymer uses standard Web Components APIs to get great results. Polymer offers a set
of polyfills that allows us to use web components in non-compliant browsers with an easy-to-use framework. With
Polymer we can create Custom Elements with user-defined naming schemes. These custom elements may then be
distributed across the network and used by others with HTML Imports. It has group of ready-made UI and non-UI
elements for usage and to extend the project. Polymer library has two main elements collections. Core Elements -
which are a set of visual and non-visual elements designed to work with the layout, user interaction, selection, and
scaffolding applications.

Chapter 6

Implementation:

The project is implemented using Arduino Uno .The door microcontroller is controlled using
keypad password system.

smart door lock system here is basically designed for normal implementation with advanced
functionality and easy to use interface .

This developed system was equipped with a strict access control and password security features for ....
automation door security consists of Arduino Uno.

Components description:
1.4×4 keypad-
This keypad has 16 buttons, arranged in a
telephone-line 4x4 grid. The keys are
connected into a matrix, so you only need 8
microcontroller pins (4-columns and 4-
rows) to scan through the pad.

2.Lcd-
Interface an LCD with an Arduino. You can
easily interface a liquid crystal display (LCD)
with an Arduino to provide a user interface.
Liquid crystal displays (LCDs) are a commonly
used to display data in devices such as
calculators, microwave ovens, and many other
electronic devices.
3.Buzzer-
A buzzer or beeper is an audio
signalling device, which may be
mechanical, electromechanical, or
piezoelectric. Typical uses of buzzers
and beepers include alarm devices,
timers, and confirmation of user
input such as a mouse click or
keystroke.

4.Solenoid door lock-


Solenoids are basically
electromagnets: they are made of a big coil of copper wire with an armature (a slug of metal) in
the middle. When the coil is energized, the slug is pulled into the center of the coil. ... Normally
the lock is active so you can't open the door because the solenoid slug is in the way.

5.Arduino uno-
Arduino is an open-source
hardware and software company,
project and user community that
designs and manufactures
single-board microcontrollers
and microcontroller kits for
building digital devices and
interactive objects that can
sense and control both
physically and digitally.

6.RFID TAG-
A Radio Frequency Identification Tag (RFID tag) is an electronic tag that
exchanges data with a RFID reader through radio waves. Most RFID tags are made
up of at least two main parts. The first is an an antenna, which receives radio
frequency (RF) waves.

7.RFID :
Radio-frequency
identification uses
electromagnetic fields
to automatically
identify and track
tags attached to
objects. The tags
contain electronically
stored information.
Passive tags collect
energy from a nearby RFID
reader's interrogating radio
waves

8.i 2c-
Arduino and Genuino boards
to share information with
each other. ... The I2C
protocol involves using two
lines to send and receive data: a serial clock pin (SCL) that the
Arduino or Genuino Master board pulses at a regular interval, and a
serial data pin (SDA) over which data is sent between the two devices.

9.Battery-
A battery is a device consisting of one or more electrochemical cells
with external connections provided to power electrical devices such as
flashlights, smartphones, and electric cars. When a battery is supplying
electric power, its positive terminal is the cathode and its negative
terminal is the anode

10. Connecting Wires-


Male ends have a pin
protruding and can plug into
things, while female ends do
not and are used to plug
things into. Male-to-male
jumper wires are the most
common and what you likely
will use most often. When
connecting two ports on a
breadboard, a male-to-male
wire is what you'll need.
11.Battery holder-
A battery holder is one
or more compartments or
chambers for holding a
battery. For dry cells,
the holder must also
make electrical contact
with the battery
terminals. For wet
cells, cables are often
connected to the battery
terminals, as is found in automobiles or emergency lighting
equipment.

12. Power cable-


A power cable is an electrical cable, an assembly of one or more
electrical conductors, usually held together with an overall
sheath. The assembly is used for transmission of electrical power.
Power cables may be installed as permanent wiring within
buildings, buried in
the ground, run
overhead, or exposed
Chapter 7

Testing

7.1 System Testing:


Testing the Arduino Uno Board
To verify that you are receiving correct data you can test it by setting each channel to ground and power and read
the output in the Serial Monitor. To do this you need a wire to connect between the input connectors and power
connectors on the Arduino Uno board.
Arduino Test Suite Library This library allows you to create standard test suite for the Arduino software. The goal
is to provide a simple and standard way to build tests and tests cases any way you need to as long as you use a few
simple principles, and the results return the standard ArduinoTestResultFormat. That can then be parsed by a
continuous integration and test system. Which this library provides built in support for. Your tests can then be
associated with various issues, and features. These tests can be added to the official list of tests that are run
automatically every time code is changed in the official repository. An additional benefit is that these are standard
Arduino sketches that you can on your own Arduinos. You can test your work as you develop, or better yet create
your tests first and as you could you should see the tests .

Chapter 8
8.1 application :
8.2 Future Scope:
FUTURE SCOP : In Smart Door Lock Management System It has board scope of
application, can be used for hotels, guesthouses, organs and departments,
offices, residential and so on. Increase the security of the room and gusts.
Control unnecessary cost of electricity inside the room.
In future the security level can be increased by adding a biometric fingerprint scanner. We can
interface sensors like Fire, LPG, PIR motion detector to microcontroller in case of any accident
so that door will open automatically. A common man feels his valuables are secured if there is
efficiency in security. Hence this project can give effective security.

8.3 Conclusion:
The user will be prompted to enter a password to unlock the door.. This project “Arduino
based password protected locking system” can be used to provide enough security in various
places like bank lockers, security doors, BIOS locking in computer etc..

Chapter 9

Refrences
References

www.javatpoint.com
www.androidstudio.com
www.YouTube.com

Potrebbero piacerti anche