Professional Documents
Culture Documents
LOCKING SYSTEM
A mini project report submitted forth partial fulfillment for the requirements of
the Award of the Bachelor of Technology
By
In the Discipline of
Submitted by
S.GANESH (17345A0220)
B.SUKANYA (17345A0217)
T.MADHURI (16341A02A0)
MR.V.SRIKANTHBABU
Assistant Professor
GM R Institute of Technology
October -2018
CERTIFICATE
This is to certify that the mini project report entitled “PASSWORD AND
BLUETOOTH CONTROLLED DOOR LOCKING SYSTEM” submitted
by GANESH S, in partial fulfillment for the award of B. Tech. Degree in the
discipline of “Electrical & Electronics Engineering” to the Jawaharlal Nehru
Technological University, Kakinada is a record of bona fide work carried out
under our guidance and supervision.
The results embodied in this report have not been submitted to any other
University or Institute for the award of any degree or diploma.
I take privilege to thank our Principal Dr. C.L.V.R.S.V. Prasad and Vice Principal
Dr. J. Raja Murugadoss, who have made the atmosphere so easy to work. I shall always be
indebted to them.
I would like to thank all the faculty members of the Department of Electrical and
Electronics Engineering for their direct or indirect support and also all the lab technicians for
their valuable suggestions and providing excellent opportunities in completion of this report.
ABSTRACT
Security has always been a major concern for the households and the office
environment, and for this concern various approaches are in place to address the problem.
Most of the major door lock security systems have several loopholes which could be broken
down to gain access to the desired places, and it creates a concern for a secure lifestyle and
proper working environment. Additionally, terrorism and unauthorized access to places have
become a major issue now-a-days, and there is a need for a secure system to prevent
unauthorized access especially in shared access environment.
With this consideration, we will design “PASSWORD AND BLUETOOTH
CONTROLLED DOOR LOCKING SYSTEM” developed. We know the saying very well-
„Prevention is better than cure‟, rather than to face the loss it is much better to take necessary
actions to eradicate that issue before it happens.
In this project is related to smart door locking system by using based on the password
and mobile app also. When it comes to our house, this concept can be apply incorporated to
make it smarter, safer and automated. There is the need for tighter security means, and one of
the most security technologies that can be employed is password based door lock. The door
will control by two ways. In that one is using code and another one is using the mobile app.
INDEX
Chapter 1 1-4
1.1: Necessity
1.2: Introduction
1.3: Methodology
Chapter 2 4-8
LIST OF TABLES:
1.1 Necessity
The main aim for providing locks for our home, school, office, and building is for
security of our lives and property. It is therefore important to have convenient way of achieving
this goal. Automatic door system has become a standard feature on many different types of
buildings and homes. And they are becoming popular every day to develop an effective
electronic device which provides security. Home security has been a major issue because of the
increase in crime rate and everybody wants to take proper action to prevent unauthorized user.so
by providing this type of door looking systems for better protection.
1.2: Introduction
In traditional lock systems using mechanical lock and key mechanism are being replaced by
new advanced techniques of locking system. These techniques are an integration of mechanical
and electronic devices and are highly intelligent. One of the prominent features of these
innovative lock systems is their simplicity and high efficiency.
With this consideration, we will design “Password and Bluetooth Controlled Door Locking
System” developed. We know the saying very well- „Prevention is better than cure‟, rather than
to face the loss it is much better to take necessary actions to eradicate that issue before it
happens. In this project is related to smart door locking system by using based on the password
and mobile app also. When it comes to our house, this concept can be apply incorporated to
make it smarter, safer and automated. There is the need for tighter security means, and one of the
most security technologies that can be employed is password based door lock.
Such an automatic lock system consists of electronic control assembly, which controls the
output load through a password. This output load can be a motor or a lamp or any other
mechanical/electrical load. Where in once the correct code or password is entered, the door is
opened and the concerned person is allowed access to the secured area. Again, if another person
arrives, it will ask to enter the password. If the password is wrong, then door would remain
closed, denying access to the person.
1
1.3: Methodology
The basic idea behind the working of door lock lies in the interpretation of the data or ASCII
characters sent by the Android phone by means of the developed app. To interpret the data sent
by the phone, firstly a Bluetooth module (HC-05) which is configured by default at a baud rate of
9600 is connected to the Microcontroller which is also configured at the same baud rate. The
data which is been received by the HC-05 is then given to the Microcontroller (ATmega16),
which understands in ASCII format, now depending upon the received set of character
operations are performed whether to unlock the door or to lock it. The app is well protected by
means of a password thus neglecting any fraud access to the door and is been avoided to be
provoked by anonymous user. This is highly useful when we are trying to automate the home.
Although our Application also provides a better amount of security for the user, by means of
accessing via a password.
2
CHAPTER 2
3
of Arduino Software (IDE) 1.0. The Uno board and version 1.0 of Arduino Software (IDE) were
the reference versions of Arduino, now evolved to newer releases. The Uno board is the first in a
series of USB Arduino boards, and the reference model for the Arduino platform. The
ATmega328 on the Arduino Uno comes preprogrammed with a boot loader that allows
uploading new code to it without the use of an external hardware programmer. It communicates
using the original STK500 protocol. The Uno also differs from all preceding boards in that it
does not use the FTDI USB-to-serial driver chip. Instead, it uses the Atmega16U2 (Atmega8U2
up to version R2) programmed as a USB-to-serial converter.
4
control system. Servomotors are used in applications such as robotics, CNC
machinery or automated manufacturing.
The servo motor is small and efficient, but serious to use in some applications like precise
position control.This motor is controlled by a pulse width modulator signal.
The applications of servo motors mainly involve in computers, robotics, toys, CD/DVD players,
etc.
3) KEYPAD:
Keypads are used in all types of devices, including cell phones, fax machines, microwaves,
ovens, door locks, etc. They‟re practically everywhere. Tons of electronic devices use them for
user input. So knowing how to connect a keypad to a microcontroller such as an Arduino is very
valuable for building many different types of commercial products. At the end, when all is
connected properly and programmed, when a key is pressed, it shows up at the Serial Monitor on
your computer. Whenever you press a key, it shows up on the Serial Monitor. But for now, for
simplicity purposes, we start at simply showing the key pressed on the computer.
For this project, the type of keypad we will use is a matrix keypad. This is a keypad that
follows an encoding scheme that allows it to have much less output pins than there are keys. For
example, the matrix keypad we are using has 16 keys (0-9, A-D, *, #), yet only 8 output pins.
With a linear keypad, there would have to be 17 output pins (one for each key and a ground pin)
in order to work. The matrix encoding scheme allows for less output pins and thus much less
5
connections that have to be made for the keypad to work. In this way, they are more efficient
than linear keypads, being that they have less wiring.
With the keypad facing up so that the keys are up and facing you, from left to right, the 1st 4 pins
are the row pins and the last 4 pins are the column pins.
Fig 3: keypad
6
Fig 4: HC-05 Bluetooth module
5) BATTERY:
The nine-volt battery, or 9-volt battery, is a common size of battery that was introduced for
the early transistor radios. It has a rectangular prism shape with rounded edges and a polarized
snap connector at the top. This type is commonly used in walkie-talkies, clocks and smoke
detectors. The nine-volt battery format is commonly available in primary carbon-zinc and
7
alkaline chemistry, in primary lithium iron disulfide, and in rechargeable form in nickel-
cadmium, nickel-metal hydride and lithium-ion. Mercury-oxide batteries of this format, once
common, have not been manufactured in many years due to their mercury content. Designations
for this format include NEDA 1604 and IEC 6F22 (for zinc-carbon) or MN1604 6LR61 (for
alkaline). The size, regardless of chemistry, is commonly designated PP3-a designation
originally reserved solely for carbon-zinc, or in some countries, E or E-block.
6) JUMPER WIRES:
A jump wire (also known as jumper wire, or jumper) is an electrical wire, or group of them in
a cable, with a connector or pin at each end (or sometimes without them – simply "tinned"),
which is normally used to interconnect the components of a breadboard or other prototype or test
circuit, internally or with other equipment or components, without soldering.
8
Individual jump wires are fitted by inserting their "end connectors" into the slots provided in a
breadboard, the header connector of a circuit board, or a piece of test equipment.
There are different types of jumper wires. Some have the same type of electrical connector at
both ends, while others have different connectors. Some common connectors are:
Solid tips – are used to connect on/with a breadboard or female header connector. The
arrangement of the elements and ease of insertion on a breadboard allows increasing the
mounting density of both components and jump wires without fear of short-circuits. The jump
wires vary in size and color to distinguish the different working signals.
Crocodile clips – are used, among other applications, to temporarily bridge sensors, buttons and
other elements of prototypes with components or equipment that have arbitrary connectors,
wires, screw terminals, etc.
Banana connectors – are commonly used on test equipment for DC and low-frequency AC
signals.
Registered jack (RJ) – are commonly used in telephone (RJ11) and computer networking
(RJ45).
RCA connectors – are often used for audio, low-resolution composite video signals, or other
low-frequency applications requiring a shielded cable.
9
RF connectors – are used to carry radio frequency signals between circuits, test equipment, and
antennas.
For developing an Android app we have used Android SDK in which Android is a mobile
operating system (OS) based on the Linux kernel and recently developed by Google. Android
has user interface based on direct manipulation which is used for touchscreen mobile devices
such as smartphones and tablet computers to make processing fast.
Are you an Arduino enthusiast that always wanted to remote control your projects via your
Android phone but didn't have the time, the patience or the knowledge to build an Android
Bluetooth Controller.
10
Fig 8: Bluetooth controlled App
This android application can establish a connection with any Arduino/microcontroller project
that involves a bluetooth module! It allows the user to set a UUID of his own bluetooth module
in order to connect the android application with his projects!!! The default UUID that comes
with this application is for the HC-05 Wireless Serial 4 Pin Bluetooth RF Transceiver Module
RS232. (If you use default UUID in order to pair the BT module with your smartphone for the
first time, you will have to give a 4-digit password. This password is '1234'.)There are three main
parts to this project. An Android smartphone, a Bluetooth transceiver, and an Arduino.
HC 05/06 works on serial communication. The Android app is designed to send serial data to the
Arduino Bluetooth module when a button is pressed on the app. The Arduino Bluetooth module
at the other end receives the data and sends it to the Arduino through the TX pin of the Bluetooth
module (connected to RX pin of Arduino). The code uploaded to the Arduino checks the
received data and compares it. If the received data is 1, the LED turns ON. The LED turns OFF
when the received data is 0. You can open the serial monitor and watch the received data while
connecting.
11
CHAPTER 3
BLUETOOTH
KEYPAD
HC-05
ANDROID SERVO
ARDUINO
SMARTPHONE MOTOR
MICROCONTROLLER
POWER SUPPLY
12V DC
12
3.2: Circuit Diagram
3.3: Working
13
CHAPTER 4
4.1: Advantages
4.2: Disadvantages
It is a low range circuit, i.e. it is not possible to operate the circuit remotely.
4.3: Applications
1) This simple circuit can be used at residential places to ensure better safety.
2) It can be used at organizations to ensure authorized access to highly secured places.
3) With a slight modification this Project can be used to control the switching of loads
through password.
4) This project can be used in offices, companies also at home. It will provide keyless entry.
LITERATURE SURVEY:
It means carried out to gain information and knowledge. Before we are starting with the
analysis and design of project. Then we are all referred by the reference papers and many
documents related to the concept of this project.
Door automation system by using the Bluetooth based on the Bluetooth app:
We use android door lock system for indoor and outdoor key lock system. It also
provides a security for Android phone users. This project based on Android platform which is
14
Free Open Source. So the implementation rate is inexpensive and it is reasonable by a common
person. With the wireless Bluetooth connection in microcontroller permits the system installation
in more easy way. The system has been designed successfully. And aimed to control the door
condition using an Android phone which is Bluetooth-enabled via Bluetooth HC-05.
15
The door will be unlocked if user combination matches with the password. The same password
can be used to lock the door as well. This system will give the user an opportunity to reset his
own password if he wants.
Future Development:
1. We can monitor parameters like fire, overheat
3. We can interface GSM modem which will send SMS if invalid attempt is made to open the
lock.
CONCLUSIONS
16
especially for door key locks. We use solenoid door lock
user can change the current password and lock the system again
17
Microcontroller and password protection one can make possible
In future more work can be carried out on this system and more
18