0% found this document useful (0 votes)
107 views54 pages

Project Report Title

This project report describes the development of a smart door locking system using Arduino, Bluetooth, and a smartphone application. The system aims to improve home security and access management for doors. The smartphone app allows authorized users to open and close the door remotely by connecting to the Arduino microcontroller and Bluetooth module attached to the door's lock. When the correct password is entered, the microcontroller commands the servo motor to unlock the door. This enhances safety and only allows entry to approved individuals, helping prevent theft and unauthorized access.

Uploaded by

18X435 Madhuri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views54 pages

Project Report Title

This project report describes the development of a smart door locking system using Arduino, Bluetooth, and a smartphone application. The system aims to improve home security and access management for doors. The smartphone app allows authorized users to open and close the door remotely by connecting to the Arduino microcontroller and Bluetooth module attached to the door's lock. When the correct password is entered, the microcontroller commands the servo motor to unlock the door. This enhances safety and only allows entry to approved individuals, helping prevent theft and unauthorized access.

Uploaded by

18X435 Madhuri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 54

> Project report title <

Abstract
Recently home security system has been very poor. These research projects consist of a
smartdoor locking system which provides a great solution to improve the home safety
management of doors. Arduino IDE software and a Bluetooth module hc-05 were used to
connect between the smartphone, the microcontroller and the door lock to give an easy access to
authorized persons. The person with the authority to open the door can have access within their
fingertips by installing the required application which has open/close button. The hc-05 serves as
a receiver and transmitter but also communicates with the microcontroller which serves as a
processing unit in this project and decides whether the password entered by the user is right or
wrong and then send the servo motor to either open or close the door. If the password is right the
user can have access to the door and when the password is wrong the user will have no access
whatsoever. Enhancing the safety and security of main entrance door.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 1


> Project report title <

CONTENT
Chapter 1. Introduction...............................................................................................................................................1
Chapter 2. Existing Work...........................................................................................................................................3
2. 1. Basics.................................................................................................................................................................3
Figure 2.1.1. This is a sample of a figure caption......................................................................................................3
2. 2. Abbreviations and Acronyms............................................................................................................................4
Chapter 3. Proposed Design.......................................................................................................................................4
3. 1. Equations...........................................................................................................................................................5
Chapter 4. Results.......................................................................................................................................................6
4. 1. A. Types of Graphics.........................................................................................................................................6
4. 2. Multipart Figures...............................................................................................................................................6
4. 3. File Formats for Graphics..................................................................................................................................6
4. 4. Sizing of Graphics.............................................................................................................................................7
4. 5. Resolution..........................................................................................................................................................7
4. 6. Vector Art..........................................................................................................................................................7
4. 7. Color Space........................................................................................................................................................7
4. 8. Accepted Fonts Within Figures.........................................................................................................................8
4. 9. Using Labels Within Figures.............................................................................................................................8
4. 10. J. Referencing a Figure or Table Within Your Article..................................................................................9
4. 11. K. Submitting Your Graphics........................................................................................................................9
4. 12. L. Color Processing / Printing in IEEE Transactions, Journals, and Letters.................................................9
Chapter 5. Conclusion..............................................................................................................................................10

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 1


> Project report title <

Introduction

1.0 INTRODUCTION

1.1 Background Information

Security has become a major concern in the twenty first century; everybody wants to feel safe at his
or her own home, workplace and a safe environment as a whole. Smartdoor security system using
Arduino and Bluetooth application is a project aimed at increasing and advancing the safety and
security of lives and property of the people. The project deals primarily with the protection of doors
and making it more secured within our houses, office or public related buildings. With the help of
smartdoor, when indoors or while you are away from your home and workplace, the doors are
protected primarily to grant access to only authorized persons using their smartphone and Bluetooth
application. With the advancement of technology smartphone has become a household requirement.
As of 2007 smartphones were not more than two percent of phone industries, but in 2009 the
smartphone world has taken more than fifty percent of phone market
(www.Wikipedia.com/androiddevelopers) With this it is quite logical to say that there is at least a
smartphone owner in every house. With this smartphone we can simply interface it with a arduino
(microcontroller) to keep our houses and offices safer and more secure with a single click to lock or
unlock the resulting door. The microcontroller will be mounted on the door which will then
communicate with the device through a Bluetooth module which will be connected to the
microcontroller. This project is aimed at making security better.

1.2 Background of the Study

Issues of theft and burglary increases with high rate as such door security is a necessity, Door safety
is now of paramount importance which triggers the need for project such as ”smartdoor security
system” to provide a more safe and secure environment in generally.

1.3 Problem Statement

In order to make sure that every door is safe people now look for counter measures to protect their
doors. With the vast and different forms of keeping doors locked from unauthorized persons many
people tend to use low means of protection. Meanwhile the deployment is of more advanced
technology like the use of smartdoor security is a step forward. This project aims to keep doors safe
and also ease access. The latching of the door is solely controlled by smartphone via the Bluetooth
connection established between the device and the microcontroller.

1.4 Aim and Objectives

The aim of this project is to design and implement a smart door security system using arduino and
Bluetooth application that could help advance the protection of doors at home and public buildings.
• Designing of a smartphone application to control the movement of doors.
• Interfacing of arduino uno with the smartphone via Bluetooth module to establish a connection
between the arduino the smartphone.
• Controlling the position of a servo motor to open or close a door which I controlled and processed
due to the response of the microcontroller.
Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 2
> Project report title <

1.5 Scope of The Project

The project is about interacting with component and devices with the help of HC-05 (Bluetooth
module). The project is limited to performing the task of opening and closing of 3 doors precisely
main entrance doors of a building. It is not designed for the purpose of surveillance in a home or any
building nor is it a burglar alarm that alarms you in any case of perimeter bridging it’s only limited to
performing the task of opening and closing.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 3


> Project report title <

CHAPTER 2

2.0 LITERATURE REVIEW AND THEORETICAL BACKGROUND

2.1 Introduction

This chapter comprises of the literature review and theoretical background of the project. The
literature review deals basically with related project written by other researchers, the difficulties they
encountered, limitations and modifications that should be made. Theoretical background explains in
details some of the most important component used in the project.

2.2 Review of Relevant literature

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 4


> Project report title <

Smartdoors have been implemented using different methods such as Radio frequency
identification (RFID) and Biometric lock to unlock and lock door. Both the RFID and biometric lock
are real ideal and smart ways to make a door smart, due to necessity and limitations such as cloning
of biometric prints or card. The use of Bluetooth and smartphone is much simpler and easier to adapt
and use. It gives you more access to communicate with the door and it also give access to physically
challenged persons that might not have a finger to use for biometric lock or is crippled to use RFID
but with respect to this project physically challenged can simply open their door by single click in
device. Adarsh V Patil et al (2008) did a similar project Android based smart door locking system
which also employed the use of android phone which is also a smartphone and also a GSM module to
access the door. Also Agbo David et al (2017) did a somewhat similar project based on door locking
system using android application. Shafarana A.R.F et al (2017) did android based automation and
security system for smart homes. There are many other 5 projects done on smartdoor in different
countries. They are all different from each other in terms of designs, features, devices, and algorithm.
They are mostly designed according to specific needs and availability of components in the
respective areas. Some of them are cheap; some of them are very expensive. Availability of both
hardware and software is necessary to work. After a long searching, I have found a lot of articles.
Searching for security purpose articles, also found some projects done for door security. These are
mainly done in western countries. Many projects are done only for security purpose With Arduino or
Raspberry Pi. Again, the projects are done only for controlling home Appliances using Arduino or
Raspberry Pi. Most of the previous researches encountered problems in their design especially in
terms of cloning by other third party and availability of components.

2.3 Justification

In general terms my project is a more user friendly project with easy access to users. People that
have problems physically like cripples or half paralysis can have access to doors without the help of
anybody not even an assistant, as long as they are in position of smartphone. The physically
challenged persons can open or lock any door they have permission to, or even lock or unlock a door
while sitting on their wheel chairs, resting sofas or sleeping bed.

2.4 Theoretical Background

2.4.1 Smartdoor
Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 5
> Project report title <

Smart and door are two different words with different meanings. Advanced oxford dictionary
has given a clear and precise definition of both words smart meaning intelligent while a door is any
metal, glass, wood etc. that is opened and closed so that people can get in and out of a room,
building, car etc. by definition of smart and door smartdoor can easily be referred to as doors that can
be accessed easily without having to touch it physically. Smartdoors are intelligent doors that can be
controlled with any other external force to grant access in or out of the building, car etc.

2.4.2 Smartphone

The first smartphones, the IBM Simon and Nokia communicator 9000 were released way back
in 1994 and 1996 respectively, and integrated the features of a mobile phone and a personal digital
assistant (PDA) for managing calendars and contacts both were larger than regular phones. It wasn’t
until 2000 that first real smartphone, the Ericson r380, was released. It wasn’t any larger than a
regular phone, and in the early 2000s many other followed suit, with phones like blackberry and
palm achieving big success. In 2007, apple released iphone, which eschewed hardware buttons for
full touchscreen control and has since been the template of smartphone ever since. Phones used to be
all about making calls, but now your mobile phones have more application. The range of new
touchscreen smartphones allows you to access the internet, use social media, get live news or sport
updates, play music and video, and more. Smartphones can do so much more than just make phone
calls, many things can be done such as play games, access the internet and browse the web, make
video calls, navigate with GPS (global positioning system) send and receive emails, manage contacts
and make appointments, send and receive large files through Bluetooth or mobile hotspot. Below are
the examples of smartphones interface.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 6


> Project report title <

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 7


> Project report title <

Figure 1:Smartphone Interface.

2.4.3 Arduino Uno

The Arduino Uno is a microcontroller board based on the ATmega328p. It is simple,

inexpensive, open source prototyping platform extensible to hardware and software. It has

14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16

MHz ceramic resonator, a USB connection, a power jack, and a reset button. It contains

everything needed to support the microcontroller. We either need to connect it to a

computer using a USB cable or power it with an AC-to-DC adapter. The Arduino circuit

acts as an interface between the software part and the hardware part of the project.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 8


> Project report title <

Figure 2: Ardunio

Specifications of Arduino Uno

Microcontroller ATmega328p

Operating Voltage 5v

Input Voltage(Recommended)7-12v

Input Voltage(limit)6-20v

Digital I/O pins 14(of which 6 provide PWM output)

PWM Digital I/O pins 6

Analog Input pins 6

DC Current per I/O pin 20mA


Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 9
> Project report title <

DC Current for 3.3v pin 50mA

Flash Memory 32Kb(ATmega328P)

SRAM 2KB(ATmega328P)

EEPRAM 1KB (ATmega328P)

Clock Speed 16 MHz

IO with built in LED (on pin #13)

Length 68.6mm

Width 53.4mm

Weight 25g

2.4.4 Bluetooth Module

Bluetooth is a wireless technology standard for exchanging data over short distances (using

short-wavelength UHF radio waves in the ISM band from 2.4 to 2.485 GHz) from fixed and

mobile devices and building personal area networks (PANs). The Bluetooth module being

used allows us to transmit and receive signals. It receives the text from the Android phone

and transmits it to the serial port of the Arduino Uno. The Bluetooth module being used

here is the HC‐ 05 module, shown below. It is an easy to use Bluetooth SPP (Serial Port

Protocol) module, designed for transparent wireless serial connection setup. The Bluetooth

module HC-05 is a master/slave module. By default the factory setting is slave. The Role of

the module (Master or Slave) can be configured only by at commands. The slave modules

cannot initiate a connection to another Bluetooth device, but can accept connections. Master

module can initiate a connection to other devices.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 10


> Project report title <

Figure 3: Bluetooth Module

Pin Number Pin Name Description

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 11


> Project report title <

1 Enable/key This pin is used to toggle

between data mode (set low)

and AT command mode (set

high) by default it is in data

mode

2 Vcc Powers the module. Connect

to +5v supply voltage

3 Ground Ground pi to module,

connect to system ground

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 12


> Project report title <

4 TX-Transmitter Transmit serial data.

Everything received via

Bluetooth will be given out

by this pin as serial data


5 RX-Receiver Receive serial data. Every

serial data given to this pin

will be broadcasted via

Bluetooth

6 State The state pin is connected to

on board LED it can be used

as a feedback to check if

Bluetooth is working

properly.

7 LED Indicate module status.

Table 1: Bluetooth Module.

Software Features

• Slave default Baud rate: 9600

• Data bits: 8.

• Stop bit: 1.

• No parity.

• b. PIO9 and PIO8 can be connected to red and blue led separately. When master and
Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 13
> Project report title <

slave are paired, red and blue led blinks 1time/2s in interval,while disconnected only blue
led blinks 2times/s.Auto connect to the last device on power as default. c. Permit pairing
device to connect as default.

• d. Auto‐ pairing PINCODE:”1234” as default.

• e. Auto‐ reconnect in 30 min when disconnected as a result of beyond the range of

connection.

2.4.5 Servo Motor

A servo motor is an electrical device that can be used to push or rotate an object with great

precision. If you want to rotate an object at some specific angle or distance, then servo

motor can be used easily for that purpose. Servo motor can rotate ninety degrees in both

directions. They can be used to move many equipment that require moving at any angle

Servo mechanism

It consists of three parts

• Controlled device

• Output sensor

• Feedback system

It is a closed loop system where it uses positive feedback system to control motion and final

position of the shaft. Here the device is controlled by a feedback signal generated by

comparing output signal and reference input signal. The reference input signal is compared

to reference output signal and the third signal is produced by feedback system. And signal

third signal acts as input signal to control device. This signal is present as long as feedback

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 14


> Project report title <

signal is generated or there is difference between reference input signal and reference

output signal. So the main task of servomechanism is to maintain output of a system at

desired value.

Controlling servo motor

All motors have three wires coming out of them. Out of which two will be used for supply

(positive and negative) and one will be used for signal that is sent from the microcontroller.

Servo motor is controlled by PMW (pulse width modulation) which is provided by control

wires. There is a maximum pulse and a repetition rate. Servo motor can turn 90 degree from

either direction from its neutral position. The servo motor expects to see a pulse every 20

milliseconds (ms) and the length of the pulse will determine how the motor turns.

Figure 4:Servo Motor

• Weight: 9g

• Dimension: 22.2 x 11.8 x 31 mm approx.


Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 15
> Project report title <

• Stall torque: 1.8 kgf cm

• Operating speed: 0.1 s/60 degree

• Operating voltage: 4.8 V (~5V)

• Dead band width: 10μs

• Temperature range : 0 ºC – 55

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 16


> Project report title <

CHAPTER 3

3.0 DESIGN AND IMPLEMENTATION

3.1 Introduction

This chapter explains in details the various stages involved in this research, the

stages are explaining in form of units such as input unit, receiver unit, processor unit and

output unit. According to the proposed system, I designed a system structure shown in the

block diagram in this chapter. The model was designed in such a way that it can be kept at a

safe place within. This is done in the easiest and lowest cost possible. However, the system

is flexible and can be customized for future enhancement. Changing one of the components

setup has to be compatible with the right software available. Every component used in this

system was Programmed and tested separately for safety measures and matching with the

right driver. Each component was programmed separately with Arduino UNO using

different Arduino IDE. Also they were run in different computers. Later on all were

combined in a single Arduino IDE.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 17


> Project report title <

. 3.2 Methodology

Figure 5: Block Diagram

3.2.1 Input Unit

This is the unit in which command is given to start the execution of a program and in this

project the smartphone is the devices that serves the purpose of sending command as input.

The mobile smartphone sends signal when connection is established between the device’s

Bluetooth and the Bluetooth module (HC-05). The smartphone sends the input command

through a developed application which has lock and unlock slider in the application which is

to say a person operating the smartphone can either send lock (which is close) or unlock

(which is to open) the respective door. The input command can only be executed when and

only when a Bluetooth connection is established between the device and the module and be

operated within Bluetooth range limit.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 18


> Project report title <

3.2.2 Receiver Unit

This unit deals primarily with the receiving of command signals sent from the

input. The command sent by the mobile smartphone is received in this unit with the help of

a Bluetooth module (HC-05). The module also serves as a link to establish connection

between the mobile device and the Arduino microcontroller.

3.2.3 Processing Unit

This unit is the brains and work of any project. This unit determines the output of the

project, it determines what command to execute, how to execute, when to execute and

where to execute it. The Arduino microcontroller serves the purpose of processing the

command of this project. The Arduino receives the command from the mobile smartphone

on what command to execute via the Bluetooth module and then the microcontroller

determines what function to perform and how to perform the particular task and give the

required output of the given task. The Arduino that serves as the main processing unit has

two units the hardware (which is the Arduino board) and the IDE (integrated

development environment) which comprises of software program that runs the whole

operation and how the circuit basically works.

Smartphone Application

In this research I have an Android application to control all the home appliances. From Android

phone we select any home appliance from the options that appear in the App then we select

open or close. The user cannot run the App from outside the house unless within the Bluetooth

range related with the Bluetooth module. It allows establishing point-to-point connection with

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 19


> Project report title <

Bluetooth support devices. This technology is known by Android support for the Bluetooth

network stack which permits to exchange data wirelessly.

The Android Software Development Kit (SDK) provides all necessary tools to develop

Android Application (API). This application is a Java based program. The Android uses

.apk file to install the application. The code is written in Android Studio IDE. The code is

written according to the appearance of the options in the phone.

To open device lists

Important android widget button;

Important android widget List View;

To create variables for Bluetooth:

Private Bluetooth Adapter my Bluetooth = null;

Private Set paired Device;

After initialization, The code starts with initializing characters as String.


3.2.4 Output Unit

This is the final stage of the methodology on receiving the command from the

microcontroller. The task to be performed could either be to open or close the door. Servo

motor is the device used in this unit to perform the task. When the servo motor receives the

command from the microcontroller to open it moves its position to ninety degrees which

moves up and opens the slider while when the command is to close the servo motor moves

to one hundred and eighty degrees which moves the slider to lock position which closed the

door in turn. All this action is performing and written in form of a computer code in the

Arduino integrated development environment and how the task will be performed.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 20


> Project report title <

Figure 6:Flowchart.

3.4 Power Supply Unit


Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 21
> Project report title <

The total power requirement of this project is 5V.


The power supply unit consists of a 240v/12v step down transformer, rectifiers, filters and a
voltage regulator

Figure 7:Power Supply Circuit


3.4.1 Transformer Section

The 240v ac is stepped down to 12v ac using a transformer. The resultant output is given by

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 22


> Project report title <

3.4.1 Rectifier Section

A full wave bridge rectifier of 5A is chosen for the capacity to a load up to 2A using IN4001
diodes.

The DC value of the rectified voltage is given by;

= (2/ ) × 16.97

The maximum load current is given by;

Hence the Average load current can be obtained from;

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 23


> Project report title <

Hence, due to standard and transformer size, the final transformer specification chosen was

transformer.

3.4.2 Filter Section

The ripple voltage ( is represented by the equation below;

Therefore,

The filtering capacitor is calculated as shown below, a peak to peak ripple of

is chosen i.e. 0.01 is approximated. Hence the ripple factor is 0.01

The shunt capacitor filter is obtained from;

Therefore;

Where, Idc = current taking by the load (mA); f = frequency of supply (Hz); C = shunt

filtering capacitor (microfarads); and = rms value of the ac component ripple

voltage and, Idc = 449.72mA, r = 0.01, F = 50Hz,

and ,

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 24


> Project report title <

Hence, due to standard and capacitor size, the final capacitor specification chosen

is .

3.4.2 Voltage Regulation Section

7805 IC Rating

• Input voltage range 7V- 35V

• Current rating

• Output voltage range VMax=5,2V, VMin=4.8

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 25


> Project report title <

Figure 7:Voltage Regulator .


Pin Pin Function Description

No.

1 INPUT Input voltage (7V-35V) In this pin of the IC

positive unregulated

voltage is given in

regulation.

2 GROUND Ground (0V) In this pin where the

ground is given. This

pin is neutral for

equally the input and

output.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 26


> Project report title <

3 OUTPUT Regulated output; 5V (4.8V- The output of the

regulated 5V volt is
5.2V)
taken o

3.5 Soldering

Soldering is the process of a making a sound electrical and mechanical joint between

certain metals by joining them with a soft solder. This is a low temperature melting point

alloy of lead and tin. The joint is heated to the correct temperature by soldering iron. For

most electronic work miniature mains powered soldering irons are used. These consist of a

handle onto which is mounted the heating element. On the end of the heating element is

what is known as the "bit", so called because it is the bit that heats the joint up.

Solder melts at around 190 degrees Centigrade, and the bit reaches a temperature of over

250 degrees Centigrade. This temperature is hot enough to inflict a nasty burn,

consequently care should be taken. Good soldering is a skill that is learnt by practice. The

most important point in soldering is that both parts of the joint to be made must be at the

same temperature. The solder will flow evenly and make a good electrical and mechanical

joint only if both parts of the joint are at an equal high temperature. Even though it appears

that there is a metal to metal contact in a joint to be made, very often there exists a film of

oxide on the surface that insulates the two parts. For this reason it is no good applying the

soldering iron tip to one half of the joint only and expecting this to heat the other half of the

joint as well.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 27


> Project report title <

CHAPTER 4
4.0 TESTS, RESULTS AND DISCUSSION

4.1 Introduction

This chapter discuss the various test carried out during the cause of this project.

Various results from different test were gotten. And also brief discussion about the guiding

principle and process of the entire project.

4.2 Tests

Below is description of tests carried out at each unit of the system. These tests were carried

out at power supply unit to determine maximum load to be connected, current sensing unit

to determine whether load connected to the system is detected

4.2.1 Power Supply Unit

The output of lm7805 Voltage regulator was connected to 5W 7.5Ω chalk resistor as load

the output of regulator before (no load) and after the connection (on load) was measured

and tabulated.

4.3 Result

The program for the Arduino Uno microcontroller was written in C language and was then

compiled into an executable file using the Arduino IDE. The executable file was then

imported into the Proteus Design Suite, where the hardware circuit shown was designed

and simulated. Figure shows the installed android app, the Proteus simulation of the door

security system results for each process of entering the correct and wrong passwords

respectively. Upon successful completion of the software simulation, the system‟s hardware

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 28


> Project report title <

was constructed on a bread board and programming of the arduino microcontroller was

carried out using Arduino IDE. The hardware constructions with connections and various

operations of the system are shown in the figure below. The response of the hardware of

the security door when communicating with the arduino board.

Figure 8:Result Flow.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 29


> Project report title <

Table4: Result

Distance Connection Result

2m Connected Open/close

3.4m Connected Open/close

5.8m Connected Open/close

10.5m Not connected no signal

4.0 Discussion

This project gives idea of how to control door locks. Carbon paper door lock system was used as a
prototype for indoor and outdoor key lock system. It also provide a security and easy for smartphone
users. This project based on smartphone and Arduino platform both of which are Free Open Source
Software. So the implementation rate is inexpensive and it is reasonable by a common person.
Accomplishment of wireless Bluetooth connection in microcontroller permits the system installation
in more easy way. The system has been successfully designed and prototyped to control the door
condition using smartphone Bluetooth-enabled phone and Bluetooth modules via Bluetooth HC-05.
A simple prototype is discussed for this research purpose.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 30


> Project report title <

CHAPTER 5

5.0 SUMMARY, CONCLUSION AND RECOMMENDATION

5.1 Summary

Recently proposed door lock systems based on Biometrics Techniques, Password

Based and RFID have been studied and developed. This research project is centered on

door locking system via smartphone controlled locking system with the help of arduino and

Bluetooth module.

5.2 Conclusion

The main aim of this paper is to design a smartdoor security system using Arduino and

Bluetooth application, so that people can feel safe about their home whether they are away

from home or are in the house. This project is based on Arduino, and the coding is done on

Arduino ide platform using the arduino application. At the end of this research the aim and

objectives of the project was achieved. People can now feel more secure about their doors

all the time. Doors can be controlled conveniently to those with access. Physically

challenged people can open or lock doors from their fingertips without asking help of

anybody. It is safe to say that the main objectives and the aim of the project were achieved

at the end of the project.

5.3 Recommendation

During this research some of the problems I came across were the inability of the door to

close automatically after been open for a while unless locked from the application. For

future research purpose I recommend other researchers to make a room to make the doors

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 31


> Project report title <

lock automatically after a certain time delay. The door can only be accessed at a particular

distance for future research the distance can be put into consideration and made to be

longer.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 32


> Project report title <

APPENTIX A

Circuit Diagram

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 33


> Project report title <

APPENTIX B

Program Code

#include <Servo.h>

Servo myservo; // create servo object to control a servo

String inputString = "";

String command = "";

String value = "";

String password = "umar"; // this is the password for opening and closing your

door // you can set any pasword you like using digit and

symbols boolean stringComplete = false; void setup(){

//start serial connection

Serial.begin(9600); // baud rate is 9600 must match with bluetooth

//The String reserve() function allows you to allocate a buffer in

memory for manipulating strings.

inputString.reserve(50); // reserve 50 bytes in memory to save for string

manipulation command.reserve(50); value.reserve(50); boolean stringOK =


Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 34
> Project report title <

false; myservo.attach(9); // attaches the servo on pin 9 to the servo

object.

void loop(){

// if arduino receive a string termination character like \n

stringComplete will set to true if (stringComplete) {

//Serial.println(inputString);

delay(100);

// identified the posiion of '=' in string and set its index to

pos variable int pos = inputString.indexOf('=');

// value of pos variable > or = 0 means '=' present in

received string. if (pos > -1) {

// substring(start, stop) function cut a specific portion of

string from start to stop

// here command will be the portion of received string till

'='

// let received string is open=test123

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 35


> Project report title <

// then command is 'open'

command = inputString.substring(0, pos);

// value will be from after = to newline

Command
// for the above example value is test123

// we just ignoreing the '=' taking first

parameter of substring as 'pos+1'

// we are using '=' as a separator between

command and vale // without '=' any other

character can be used

// we are using = menas our command or

password must not contains any '=', otherwise it will cause error value =

inputString.substring(pos+1, inputString.length()-1); // extract command up to \n

exluded

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 36


> Project report title <

//Serial.println(command);

//Serial.println(value);

// password.compareTo(value) compare

between password tring and value string, if match return 0

if(!password.compareTo(value) && (command == "OPEN")){

// if password matched and command is

'OPEN' than door should open


openDoor(); // call openDoor() function

Serial.println(" OPEN"); // sent open feedback to phone

delay(100);

else if(!password.compareTo(value) && (command == "CLOSE")){

// if password matched and command is

'CLOSE' than door should close

closeDoor();

Serial.println(" CLOSE"); // sent " CLOSE" string to the


Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 37
> Project report title <

phone

delay(100);

else if(password.compareTo(value)){

// if password not matched than sent wrong

feedback to phone

Serial.println(" WRONG");

delay(100);

}
// clear the string for next iteration

inputString = ""; stringComplete = false;

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 38


> Project report title <

void serialEvent() { while

(Serial.available()) {

// get the new byte:

char inChar = (char)Serial.read();

//Serial.write(inChar);

// add it to the inputString:

inputString += inChar;

// if the incoming character is a newline or a

carriage return, set a flag

// so the main loop can do something about it:

if (inChar == '\n' || inChar == '\r') {

stringComplete = true;

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 39


> Project report title <

void openDoor(){

myservo.write(0); delay(100);

void closeDoor(){

myservo.write(90); delay(100);

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 40


Bluetooth Based Door Lock System

REFERENCE

Automated Intelligent relay coupled door control system using technology. By A. Rajesh

B.M.O. Al-thobaiti, I.I.M. Abosolaiman, M.H.M. Alzahrani, S.H.A. Almalki, M.S.

Soliman, “Design and Implementation of a Reliable Wireless Real-Time Home

Automation System Based on Arduino Uno Single-Board Microcontroller”, Vol. 3, No.

3, pp 11-15, July 2014.

D. Javale, M. Mohsin, S. Nandanwar, M. Shingate, “Home Automation and Security

System Using Android ADK”, Vol. 3, Issue 2, pp 382-385, March 2013.

D. Saxena, P. Bisen and S. Bhoyerkar. 2012. Development of Intelligent Security and

Automation System, International Journal of Advanced Research in Computer Science

and Electronics Engineering (IJARCSEE). 1: 139- 143.

http://circuitdigest.com http://electronics.howstuffworks.com

http://www.creativeworld9.com/2011/04/abstract-andfullpaper-on-bluetooth.html

http://www.slideshare.net/kashyapshah11/bluetooth

http://www.techbitar.com/modify-the-hc-

http:://m.instructables.com/id/ArduinoANDBluetoothHC-05-

Connectingeasily/?

https://en.wikipedia.org/wiki/Bluetooth https://en.wikipedia.org/wiki/androiddevelopers

https://www.bluetooth.com/whatisbluetooth technology/bluetooth-technology-basics

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 1


Bluetooth Based Door Lock System

Kumar , C. Dinesh , R. Aravind Vol 4, 16th May 2015

M.A.E. Mowad, A. Fathy and A. Hafez, “Smart Home Automated Control System

Using Android Application and Microcontroller”, International Journal of Scientific &

Engineering Research, vol. 5, Issue. 5, pp 935-939, May 2014.

Shafana A.R.F.1, Aridharshan A. International Journal of Computer Science and

Information Technology Research ISSN 2348-120X (online) Vol. 5, Issue 3, pp: (26-

30), Month: July - September 2017.

S. Kumar, 2014. Ubiquitous Smart Home System Using Android Application. International

Journal of Computer Networks and Communications (IJCNC). 6: 33-43.

S. Sankaranarayanan, A.T. Wan and A. H. Pusa, “Smart Home Monitoring using

Android and Wireless Sensors”, I.J. Engineering and Manufacturing, vol. 2, pp 12-30,

Aug 2014.

URL:http://.android.com/about/versions/index.html.

V. Madan and S.R.N. Reddy, “GSM-Bluetooth based Remote Monitoring and Control

System with Automatic Light Controller”, International Journal of Computer

Applications, Vol. 46, No 1, pp 20-28, May 2012

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 2


Bluetooth Based Door Lock System

(1
1) Color/Grayscale Figures
Figures that are meant to appear in color, or shades of black/gray. Such figures may include
photographs,
illustrations, multicolor graphs, and flowcharts.
2) Line Art Figures
Figures that are composed of only black lines and shapes. These figures should have no
shades or half-tones of gray, only black and white.
3) Tables
Data charts which are typically black and white, but sometimes include color.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 3


Bluetooth Based Door Lock System

Multipart Figures

These are figures compiled of more than one sub-figure presented side-by-side or stacked. If a
multipart figure is made up of multiple figure types (one part is line art, and another is grayscale
or color), the figure should meet the stricter guidelines.

File Formats for Graphics

Format and save your graphics using a suitable graphics processing program that will allow you
to create the images as PostScript (PS), Encapsulated PostScript (.EPS), Tagged Image File
Format (.TIFF), Portable Document Format (.PDF), JPEG, or Portable Network Graphics
(.PNG). These programs can re-size them and adjust the resolution settings. If you created your
source files in one of the following programs you will be able to submit the graphics without
converting to a PS, EPS, TIFF, PDF, or PNG file: Microsoft Word, Microsoft PowerPoint, or
Microsoft Excel. Though it is not required, it is strongly recommended that these files be saved
in PDF format rather than DOC, XLS, or PPT. Doing so will protect your figures from common
font and arrow stroke issues that occur when working on the files across multiple platforms.
When submitting your final files, your graphics should all be submitted individually in one of
these formats along with the manuscript.

Sizing of Graphics

Most charts, graphs, and tables are one column wide (3.5 inches / 88 mm / 21 picas) or page
wide (7.16 inches / 181 millimeters / 43 picas). The maximum depth a graphic can be is 8.5
inches (216 millimeters / 54 picas). When choosing the depth of a graphic, please allow space for
a caption. Figures can be sized between column and page widths if the author chooses, however,
it is recommended that figures not be sized less than column width unless when necessary.
The final printed size of author photographs is exactly
1 in wide by 1.25 in tall (25.4 mm x 31.75 mm / 6 picas x 7.5 picas). Author photos printed in
editorials measure 1.59 in wide by 2 in tall (40 mm x 50 mm / 9.5 picas x 12 picas).

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 4


Bluetooth Based Door Lock System

Resolution

The proper resolution of your figures will depend on the type of figure it is as defined in the
“Types of Figures” section. Author photographs, color, and grayscale figures should be at least
300dpi. Line art, including tables should be a minimum of 600dpi.

Vector Art

In order to preserve the figures’ integrity across multiple computer platforms, we accept files in
the following formats: .EPS/.PDF/.PS. All fonts must be embedded or text converted to outlines
in order to achieve the best-quality results.

Color Space

The term “color space” refers to the entire sum of colors that can be represented within the said
medium. For our purposes, the three main color spaces are grayscale, RGB (red/green/blue), and
CMYK (cyan/magenta/yellow/black). RGB is generally used with on-screen graphics, whereas
CMYK is used for printing purposes.
All color figures should be generated in RGB or CMYK color space. Grayscale images should
be submitted in grayscale color space. Line art may be provided in grayscale OR bitmap
colorspace. Note that “bitmap colorspace” and “bitmap file format” are not the same thing. When
bitmap color space is selected, .TIF/.TIFF/.PNG are the recommended file formats.

Accepted Fonts Within Figures

When preparing your graphics, IEEE suggests that you use one of the following Open Type
fonts: Times New Roman, Helvetica, Arial, Cambria, or Symbol. If you are supplying EPS, PS,
or PDF files, all fonts must be embedded. Some fonts may only be native to your operating
system; without the fonts embedded, parts of the graphic may be distorted or missing.
A safe option when finalizing your figures is to strip out the fonts before you save the files,
creating “outline” type. This converts fonts to artwork which will appear uniformly on any
screen.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 5


Bluetooth Based Door Lock System

Using Labels Within Figures

1) Figure Axis Labels


a) Figure axis labels are often a source of confusion. Use words rather than symbols. As an
example, write the quantity “Magnetization” or “Magnetization M,” not just “M.” Put
units in parentheses. Do not label axes only with units. For example, write
“Magnetization (A/m)” or “Magnetization (A ¿ m−1),” not just “A/m.” Do not label axes
with a ratio of quantities and units. For example, write “Temperature (K),” not
“Temperature/K.”
b) Multipliers can be especially confusing. Write “Magnetization (kA/m)” or
“Magnetization (103 A/m).” Do not write “Magnetization (A/m) × 1000” because the
reader would not know whether the top axis label means 16000 A/m or 0.016 A/m.
Figure labels should be legible, approximately 8- to 10-point type.

2) Subfigure Labels in Multipart Figures and Tables


Multipart figures should be combined and labeled before final submission. Labels should
appear centered below each subfigure in 8-point Times New Roman font in the format of
(a) (b) (c).

J. Referencing a Figure or Table Within Your Article

When referencing your figures and tables within your article, use the abbreviation “Fig.” even
at the beginning of a sentence. Do not abbreviate “Table.” Tables should be numbered with
Roman numerals.

K. Submitting Your Graphics

Because IEEE will do the final formatting of your article, all figures, figure captions, and tables
can be placed at the end of your article. However, if you do place your figures within the article,
they should be placed at the top of the page, closest to the first mention in the text. Figures
should be submitted as individual files, separate from the manuscript in one of the file formats
listed above. Place figure captions below the figures; place table headings above the tables. Do

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 6


Bluetooth Based Door Lock System

not include captions as part of the figures, or put them in “text boxes” linked to the figures. Also,
do not place borders around the outside of your figures.

L. Color Processing / Printing in IEEE Transactions, Journals, and Letters

All IEEE Transactions, Journals, and Letters allow an author to publish color figures on IEEE
Xplore at no charge, and automatically convert them to grayscale for print versions. In most
journals, figures and tables may alternatively be printed in color if an author chooses to do so.
Please note that this service comes at an extra expense to the author. If you intend to have print
color graphics, you will have the opportunity to indicate this in the Author Gateway and will be
contacted by PubOps to confirm the charges.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 7


Bluetooth Based Door Lock System

Conclusion
A conclusion section is not required. Although a conclusion may review the main points of the article, do not
replicate the abstract as the conclusion. A conclusion might elaborate on the importance of the work or suggest
applications and extensions.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 8


Bluetooth Based Door Lock System

REFERENCES

Basic format for periodicals:


J. K. Author, “Name of paper,” Abbrev. Title of Periodical, vol. x, no. x, pp. xxx-xxx, Abbrev.
Month, year, doi: 10.1109.XXX.1234567.
Periodicals using article numbers:
J. K. Author, “Name of paper,” Abbrev. Title of Periodical, vol. x, no. x, Abbrev. Month, year,
Art. no. xxxxx, doi: 10.1109.XXX.1234567.

Examples:
J. U. Duncombe, “Infrared navigation—Part I: An assessment of feasibility,” IEEE Trans. Electron Devices, vol.
ED-11, no. 1, pp. 34–39, Jan. 1959, doi: 10.1109/TED.2016.2628402.
[2] E. P. Wigner, “Theory of traveling-wave optical laser,” Phys. Rev., vol. 134, pp. A635–A646,
Dec. 1965.
[3] P. Kopyt et al., “Electric properties of graphene-based conductive layers from DC up to
terahertz range,” IEEE THz Sci. Technol., to be published, doi: 10.1109/TTHZ.2016.2544142.
(Note: If a paper is still to be published, but is available in early access, please follow ref
[5]).)
[4] R. Fardel, M. Nagel, F. Nuesch, T. Lippert, and A. Wokaun, “Fabrication of organic light
emitting diode pixels by laser-assisted forward transfer,” Appl. Phys. Lett., vol. 91, no. 6, Aug.
2007, Art. no. 061103. 
[5] D. Comite and N. Pierdicca, "Decorrelation of the near-specular land scattering in bistatic
radar systems," IEEE Trans. Geosci. Remote Sens., early access, doi:
10.1109/TGRS.2021.3072864. (Note: This format is used for articles in early access. The doi
must be included.)
[6] H. V. Habi and H. Messer, "Recurrent neural network for rain estimation using commercial
microwave links," IEEE Trans. Geosci. Remote Sens., vol. 59, no. 5, pp. 3672-3681, May
2021. [Online]. Available: https://ieeexplore.ieee.org/document/9153027

Basic format for books:


J. K. Author, “Title of chapter in the book,” in Title of Published Book, xth ed. City of Publisher,
(only U.S. State), Country: Abbrev. of Publisher, year, ch. x, sec. x, pp. xxx–xxx.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 9


Bluetooth Based Door Lock System

Examples:
[7] G. O. Young, “Synthetic structure of industrial plastics,” in Plastics, 2nd ed., vol. 3, J. Peters,
Ed. New York, NY, USA: McGraw-Hill, 1964, pp. 15–64.
[8] W.-K. Chen, Linear Networks and Systems. Belmont, CA, USA: Wadsworth, 1993, pp. 123–
135.
[9] Philip B. Kurland and Ralph Lerner, eds., The Founders’ Constitution. Chicago, IL, USA:
Univ. of Chicago Press, 1987, Accessed on: Feb. 28, 2010, [Online]. Available: http://press-
pubs.uchicago.edu/founders/

Basic format for handbooks:


Name of Manual/Handbook, x ed., Abbrev. Name of Co., City of Co., Abbrev. State, Country,
year, pp. xxx-xxx.

Examples:
[10] Transmission Systems for Communications, 3rd ed., Western Electric Co., Winston-Salem,
NC, USA, 1985, pp. 44–60.
[11] Motorola Semiconductor Data Manual, Motorola Semiconductor Products Inc., Phoenix,
AZ, USA, 1989.
[12] R. J. Hijmans and J. van Etten, “Raster: Geographic analysis and modeling with raster data,”
R Package Version 2.0-12, Jan. 12, 2012. [Online]. Available:
http://CRAN.R-project.org/package=raster

Basic format for reports:


J. K. Author, “Title of report,” Abbrev. Name of Co., City of Co., Abbrev. State, Country, Rep.
xxx, year.

Example:
[13] E. E. Reber, R. L. Michell, and C. J. Carter, “Oxygen absorption in the earth’s atmosphere,”
Aerospace Corp., Los Angeles, CA, USA, Tech. Rep. TR-0200 (4230-46)-3, Nov. 1988.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 10


Bluetooth Based Door Lock System

Basic format for conference proceedings:


J. K. Author, “Title of paper,” in Abbreviated Name of Conf., City of Conf., Abbrev. State (if
given), Country, year, pp. xxxxxx.

Examples:
[14] D. B. Payne and J. R. Stern, “Wavelength-switched passively coupled single-mode optical
network,” in Proc. IOOC-ECOC, Boston, MA, USA, 1985,
pp. 585–590.
[15] D. Ebehard and E. Voges, “Digital single sideband detection for interferometric sensors,”
presented at the 2nd Int. Conf. Optical Fiber Sensors, Stuttgart, Germany, Jan. 2-5, 1984.
[16] PROCESS Corporation, Boston, MA, USA. Intranets: Internet technologies deployed behind
the firewall for corporate productivity. Presented at INET96 Annual Meeting. [Online].
Available: http://home.process.com/Intranets/wp2.htp

Basic format for electronic documents (when available online):


Issuing Organization. (year, month day). Title. [Type of medium]. Available: site/path/file

Example:
[17] U.S. House. 102nd Congress, 1st Session. (1991, Jan. 11). H. Con. Res. 1, Sense of the
Congress on Approval of Military Action. [Online]. Available: LEXIS Library: GENFED
File: BILLS

Basic format for patents:


J. K. Author, “Title of patent,” U.S. Patent x xxx xxx, Abbrev. Month, day, year.

Example:
[18] G. Brandli and M. Dick, “Alternating current fed power supply,” U.S. Patent 4 084 217, Nov.
4, 1978.

Basic format for theses (M.S.) and dissertations (Ph.D.):

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 11


Bluetooth Based Door Lock System

J. K. Author, “Title of thesis,” M.S. thesis, Abbrev. Dept., Abbrev. Univ., City of Univ., Abbrev.
State, year.
J. K. Author, “Title of dissertation,” Ph.D. dissertation, Abbrev. Dept., Abbrev. Univ., City of
Univ., Abbrev. State, year.

Examples:
[19] J. O. Williams, “Narrow-band analyzer,” Ph.D. dissertation, Dept. Elect. Eng., Harvard
Univ., Cambridge, MA, USA, 1993.
[20] N. Kawasaki, “Parametric study of thermal and chemical nonequilibrium nozzle flow,” M.S.
thesis, Dept. Electron. Eng., Osaka Univ., Osaka, Japan, 1993.

Basic format for the most common types of unpublished references:


J. K. Author, private communication, Abbrev. Month, year.
J. K. Author, “Title of paper,” unpublished.
J. K. Author, “Title of paper,” to be published.

Examples:
[21] A. Harrison, private communication, May 1995.
[22] B. Smith, “An approach to graphs of linear forms,” 2014, arXiv:2105.02824.
[23] A. Brahms, “Representation error for real numbers in binary computer arithmetic,” IEEE
Computer Group Repository, Paper R-67-85.

Basic formats for standards:


a) Title of Standard, Standard number, date.
b) Title of Standard, Standard number, Corporate author, location, date.

Examples:
[24] IEEE Criteria for Class IE Electric Systems, IEEE Standard 308, 1969.
[25] Letter Symbols for Quantities, ANSI Standard Y10.5-1968.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 12


Bluetooth Based Door Lock System

First A. Author (Fellow, IEEE) and all authors may include biographies if the
publication allows. Biographies are often not included in conference-related
papers. Please check the Information for Authors to confirm. Author photos
should be current, professional images of the head and shoulders. The first
paragraph may contain a place and/or date of birth (list place, then date). Next,
the author’s educational background is listed. The degrees should be listed with the type of
degree in what field, which institution, city, state, and country, and year the degree was earned.
The author’s major field of study should be lowercase.
The second paragraph uses the preferred third person pronoun (he, she, they, etc.) and not the
author’s last name. It lists military and work experience, including summer and fellowship jobs.
Job titles are capitalized. The current job must have a location; previous positions may be listed
without one. Information concerning previous publications may be included. The format for
listing publishers of a book within the biography is: Title of Book (publisher name, year) similar
to a reference. Current and previous research interests end the paragraph.
The third paragraph begins with the author’s preferred title and last name (e.g., Dr. Smith,
Prof. Jones, Mr. Kajor, Ms. Hunter, Mx. Riley). List any memberships in professional societies
other than the IEEE. Finally, list any awards and work for IEEE committees and publications.

Second B. Author, photograph and biography not available at the time of publication.

Third C. Author, Jr. (Member, IEEE), photograph and biography not available at the time of
publication.

Department of Electronics and communication Engineering, Narsimha Reddy Engineering college 13

You might also like