You are on page 1of 41

IOT BASED SOLENOID LOCK USING ARDUINO

A Project Report Submitted to the Madurai Kamaraj University in

Partial Fulfillment for the Award of the Degree

BACHELOR OF COMPUTER APPLICATIONS

(2020 - 2023)

Submitted by
SIDDHARTH S
20BCA82
Under the Guidance of
Mr.D. STANLEY, M.C.A., M.Tech

THE AMERICAN COLLEGE


An Autonomous Institution Affiliated to Madurai Kamaraj University

(Re-accredited (3rd Cycle) by NAAC with Grade “A+” CGPA-3.47 on a 4-points scale)

Madurai – 625002.
THE AMERICAN COLLEGE

DEPARTMENT OF COMPUTER APPLICATIONS


An Autonomous Institution Affiliated to Madurai Kamaraj University

(Re-accredited (3rd cycle) by NAAC with Grade “A+” CGPA-3.47 on a 4-points scale)

Madurai – 625002.

CERTIFICATE

This is to certify that this Project titled “IOT BASED SOLENOID LOCK USING
ARDUINO” is a bonafide work done by Siddharth s (20BCA82) in Partial Fulfillment for the
Award of the Degree of Bachelor of Computer Applications of The American College,
Madurai for the year 2020-2023.

Mr. D. Stanley, M.C.A., M.Tech Mrs. T. Suganya, M.Sc.,


M.Phil.,
Internal Guide Head of the Department

Submitted for the Viva-Voce Examination held on

Internal Examiner External Examiner


DECLARATION

I hereby declare that this project was carried out by me under the guidance of

Mr. D.Stanley, M.C.A., M.Tech Department of Computer Applications, The American


College, Madurai.

I also declare that this project report is the result of my own effort and that it has not
been copied from any one and has not been submitted by anybody, anywhere.

Place: Madurai SIDDHARTH S


Date: (20BCA82)
ACKNOWLEDGEMENT

I am grateful to convey my sincere thanks to our Principal Dr. M. Davamani


Christober, M.Sc., M.Phil., M.Ed., PGDCA, Ph.D.(Inter Disciplinary), Ph.D.(Math) for his
support and encouragement.

I am thankful to our Head of Department Mrs. T. Suganya, M.Sc., M.Phil., for her
constant support.

I express my deep sense of gratitude and indebtedness to my Project Guide


Mr. D. Stanley, M.C.A., M.Tech., for his inspiring guidance, and continuous motivation and
encouragement which has enabled me to complete this project.

Also, I would like to thank my Faculty Members, Parents, and Friends who have helped
me during the course of completion of this project.

 
S.NO TITLE PAGE.NO
ABSTRACT 1

1. SYSTEM STUDY ANALYSIS 2


1.1. EXISTING SYSTEM. 2
1.2. PROPOSED SYSTEM 3
1.3. FEASIBILTY ANALYSIS 5
i. TECHNICEAL FEASIBILITY 5
ii. OPERATIONAL FEASIBILITY 5
iii. ECONOMICAL FEASIBILITY 5
2. REQUIREMENT ANALYSIS & SPECIFICIFICATION 6
2.1. HARDWARE REQUIREMENTS 6

2.2. SOFTWARE REQUIREMENTS 6


3. SYSTEM DESIGN 12
3.1. MODULES DESCRIPTION 12
3.2. FUNCTIONAL REQUIREMENTS 13
3.3. SOFTWARE DESIGN 15
3.3.1. SYSTEM DESIGN 15
3.3.2. DATAFLOW DESIGN 16
4. SYSTEM IMPLEMENTATION 17
5. CODING 22
6. SYSTEM TESTING 24
7. SYSTEM MAINTENANCE 26
8. CONCLUSION 28
9. FUTURE ENHANCEMENT 29
10. BIBLIOGRAPHY & REFERENCES 31
11. APPENDIX 32
ABSTRACT

The phrase "home automation" relates to a home that uses a home


controller to connect the various home automation systems in the home. House security is
becoming progressively important as the potential for intrusion grows by the day. In our
research, we presented a component of smart home technology that uses Bluetooth in a
mobile device to make it easier and more efficient to use. It is also based on the Android
and Arduino platforms, which are both free and open source software. This research
proposed and demonstrates a locking mechanism automation system using a bluetooth-
enabled Android smartphone. The software development & hardware designed are
described first, followed by the design of a mobile application based on bluetooth for
locking and unlocking the door, the application will be password protected. The hardware
implementation for the door-lock system that includes an Android smart phone as the task
master, a Bluetooth module as the command agent, and an Arduino micro-controller as the
controller, and data processing centre, and a solenoid acts as a door lock system.

1
1. SYSTEM ANALYSIS

1.1 EXISTING SYSTEM

They are all distinct in terms of design, features, devices, and algorithms. They are
generally intended to meet specific purposes and to make use of components that are
readily available in the relevant places. Some are inexpensive, while others are quite costly.
Working requires the availability of both gear and software. After a lengthy search, I
discovered a huge number of articles. While looking for publications on security, I came
across some projects for door security. The majority of these are carried out in Western
countries. Many Arduino or Raspberry Pi projects are solely for security purposes. Again,
the ideas are limited to using Arduino or Raspberry Pi to control home appliances. The
majority of earlier studies had issues with their design, particularly in terms of replicating
by others and component availability.

2
1.2 PROPOSED SYSTEM

This system receives input from an Android smartphone via the Arduino software,
the system necessitated the development of a programme that would be executed on the
microcontroller. The Arduino microcontroller's programming language is C. To run the
programme and integrate it into the microcontroller, software such as Arduino was
required. The circuit is tested to ensure that it has been installed correctly. With an LED
indicator that turns on in the microcontroller circuit to ensure that no components are
damaged. To open and lock the output, a relay and a solenoid are used. .

ADVANTAGES OF PROPOSED SYSTEM:

A secure smart door lock system based on Arduino and smartphone app offers
several advantages compared to traditional door lock systems. Here are some of the main
advantages of this system:

1. Increased security: The smart door lock system provides enhanced security compared
to traditional lock systems. The system uses a combination of Bluetooth connectivity and a
password-protected smartphone app to ensure that only authorized users can access the premises.
The app can also be programmed to send alerts to the user's smartphone in case of unauthorized
access attempts or suspicious activity.

2. Convenience: The smart door lock system eliminates the need for physical keys, which
can be easily lost or misplaced. With the smartphone app, users can easily lock or unlock the
door from anywhere, at any time. The app can also be programmed to automatically unlock the
door when the user is within a certain distance, eliminating the need to fumble for keys.

3. Customizable access: The smartphone app can be customized to provide different levels
of access to different users. For example, the app can be programmed to provide full access to
the homeowner, limited access to a housekeeper, and no access to a delivery person. This

3
customizable access control ensures that only authorized users can access the premises.

4. Remote control: The smartphone app allows users to remotely control the door lock
system from anywhere with an internet connection. This is particularly useful for homeowners
who want to grant access to their premises to friends, family, or service providers while they are
away.

5. Easy installation: The smart door lock system is relatively easy to install compared to
traditional lock systems. The system only requires a few hardware components, such as an
Arduino board, a Bluetooth module, and a servo motor, and can be programmed using open-
source software. This means that homeowners can install the system themselves, without the
need for professional installation services.

4
1.3 FEASIBILITY STUDY

A feasibility study is an essential step in determining whether a project is worth pursuing. In


the case of a secure smart door lock system based on Arduino and smartphone app, a feasibility
study can help determine the project's viability and identify potential challenges and risks. Here's a
brief feasibility study for this project:

1.3.1 ECONOMICAL FEASIBILITY

The economic feasibility of the project depends on the cost of the hardware and software
components and the potential return on investment. The cost of the hardware components required
for the project is relatively low, and the development team can leverage open-source software to
reduce software development costs. The potential return on investment is difficult to quantify, but a
secure smart door lock system can provide value by enhancing the security and convenience of
premises, potentially increasing property value and rental income.

1.3.2 TECHNICAL FEASIBILITY

The technical feasibility of the project depends on several factors, including the availability of
hardware and software components and the knowledge and skills of the development team. The
hardware components required for the project, including the Arduino board, Bluetooth module, and
servo motor, are readily available and relatively inexpensive. The development team must have
experience in programming Arduino boards and developing smartphone apps, making the project
technically feasible.

1.3.3 Operational Feasibility

The operational feasibility of the project depends on the ease of use of the smart door lock system
and the availability of technical support. The development team must ensure that the smartphone app
is user-friendly and easy to use, with clear instructions for installing and operating the system.
Additionally, the development team must provide technical support and troubleshooting assistance to
users in case of issues or malfunctions.

Overall, the feasibility study indicates that a secure smart door lock system based on Arduino and
smartphone app is technically, economically, legally, and operationally feasible. However, the
project may face challenges and risks, including hardware and software compatibility issues, data
privacy and security concerns, and technical difficulties during implementation and testing. The
development team must carefully consider these factors and plan accordingly to ensure the success
of the project.

5
2. SYSTEM REQUIREMENTS SPECIFICATION

2.1 SOFTWARE REQUIREMENTS

Arduino Software-

The new major release of the Arduino IDE


is faster and even more powerful! In addition to a more modern
editor and a more responsive interface it features
autocompletion, code navigation, and even a live debugger.

2.2 HARDWARE REQUIREMENTS:

Arduino nano-

The Arduino Nano is a small, complete,


and breadboard-friendly board based on the ATmega328
(Arduino Nano 3.x). It has more or less the same functionality
of the Arduino Duemilanove, but in a different package. It lacks
only a DC power jack, and works with a Mini-B USB cable
instead of a standard one.

HC -05 BLUETOOTH MODULE-

This small and cheap CSR BC417143


based wireless Bluetooth transceiver module is widely used in many
kinds of embedded projects. It is intended for serial communication
and preloaded with serial port profile (SPP) firmware.

6
HC-05 Specifications:-

Profiles: Bluetooth serial port Profile

Bluetooth protocol: Bluetooth Specification v2.0+EDR

Frequency: 2.4GHz ISM band

Modulation: GFSK(Gaussian Frequency Shift Keying)

Emission power: ≤4dBm, Class 2

Sensitivity: ≤-84dBm at 0.1% BER

Speed: Asynchronous: 2.1Mbps(Max) / 160 kbps, Synchronous: 1Mbps/1Mbps

Security: Authentication and encryption

Power supply: +3.3VDC 50mA

Working temperature: -20 ~ +75Centigrade

Dimension: 26.9mm x 13mm x 2.2 mm

HC-05 Applications:-

Embedded Projects

Industrial Applications

Computer and portable Devices

GPS receiver

7
RELAY DRIVER MODULE-

A power relay module is an electrical


switch that is operated by an electromagnet. The electromagnet is
activated by a separate low-power signal from a micro controller.
When activated, the electromagnet pulls to either open or close
an electrical circuit.

GND is the common ground pin.

VCC pin provides power to the module.

Control Pin:

IN pin is used to control the relay. This is an active low pin, which means that pulling it
LOW activates the relay and pulling it HIGH deactivates it.

Output Terminals:

COM terminal connects to the device you intend to control.

NC terminal is normally connected to the COM terminal, unless you activate the relay,
which breaks the connection.

NO terminal is normally open, unless you activate the relay that connects it to the COM
terminal.

SOLENOID LOCK-

The solenoid lock denotes a latch for electrical locking and unlocking. It
is available in unlocking in the power-on mode type, and locking and
keeping in the power-on mode type, which can be used selectively for
situations. The power-on unlocking type enables unlocking only while the
solenoid is powered on.

8
LCD-
LCD stands for Liquid Crystal Display. LCD is finding wide spread use replacing LEDs
(seven segment LEDs or other multi segment LEDs) because of the following reasons:
1. The declining prices of LCDs.
2. The ability to display numbers, characters and graphics. This is in contrast to LEDs, which
are limited to numbers and a few characters.
3. Incorporation of a refreshing controller into the LCD, thereby relieving the CPU of the
task of refreshing the LCD. In contrast, the LED must be refreshed by the CPU to keep displaying
the data.
4. Ease of programming for characters and graphics.
These components are “specialized” for being used with the microcontrollers, which means
that they cannot be activated by standard IC circuits. They are used for writing different messages on
a miniature LCD.

A model described here is for its low price and great possibilities most frequently used in
practice. It is based on the HD44780 microcontroller (Hitachi) and can display messages in two lines
with 16 characters each. It displays all the alphabets, Greek letters, punctuation marks, mathematical
symbols etc. In addition, it is possible to display symbols that user makes up on its own. Automatic
shifting message on display (shift left and right), appearance of the pointer, backlight etc. are
considered as useful characteristics.

LCD screen consists of two lines with 16 characters each. Each character consists of 5x7 dot
matrix. Contrast on display depends on the power supply voltage and whether messages are
displayed in one or two lines. For that reason, variable voltage 0-Vdd is applied on pin marked as
Vee. Trimmer potentiometer is usually used for that purpose. Some versions of displays have built in
backlight (blue or green diodes). When used during operating, a resistor for current limitation should
be used (like with any LE diode).
9
LCD Basic Commands All data transferred to LCD through outputs D0-D7 will be
interpreted as commands or as data, which depends on logic state on pin RS: RS = 1 - Bits D0 - D7
are addresses of characters that should be displayed. Built in processor addresses built in “map of
characters” and displays corresponding symbols. Displaying position is determined by DDRAM
address. This address is either previously defined or the address of previously transferred character is
automatically incremented.
RS = 0 - Bits D0 - D7 are commands which determine display mode. List of commands
which LCD recognizes are given in the table below:

10
Command RS RW D7 D6 D5 D4 D3 D2 D1 D0 Execution Time
Clear display 0 0 0 0 0 0 0 0 0 1 1.64Ms

Cursor home 0 0 0 0 0 0 0 0 1 X 1.64mS

Entry mode set 0 0 0 0 0 0 0 1 I/D S 40uS

Display on/off control 0 0 0 0 0 0 1 D U B 40uS

Cursor/Display Shift 0 0 0 0 0 1 D/C R/L x X 40uS

Function set 0 0 0 0 1 DL N F x X 40uS

Set CGRAM address 0 0 0 1 CGRAM address 40uS

Set DDRAM address 0 0 1 DDRAM address 40uS

Read “BUSY” flag (BF) 0 1 BF DDRAM address -

Write to CGRAM or
1 0 D7 D6 D5 D4 D3 D2 D1 D0 40uS
DDRAM

Read from CGRAM or


DDRAM 1 1 D7 D6 D5 D4 D3 D2 D1 D0 40uS

POWER SUPPLY

In this project we have power supplies with +5V & -5V option normally +5V is enough for
total circuit. Another (-5V) supply is used in case of OP amp circuit .Transformer primary side has
230/50HZ AC voltage whereas at the secondary winding the voltage is step downed to 12/50hz and
this voltage is rectified using two full wave rectifiers .the rectified output is given to a filter circuit to
filter the unwanted ac in the signal After that the output is again applied to a regulator LM7805(to
provide +5v) regulator.
11
3.SYSTEM DESIGN

3.1Modules Description-

The secure smart door lock system based on Arduino and smartphone
app can be divided into four main modules, each with its specific functionality. Here's a
brief description of each module:

1. Hardware Module:

The hardware module consists of the physical components of the smart door lock
system. These components include an Arduino board, a Bluetooth module, a servo motor, a
battery or power supply, and a door lock mechanism. The hardware module is responsible for
detecting signals from the smartphone app, controlling the servo motor to lock or unlock the
door, and managing the power supply.

2. Smartphone App Module:

The smartphone app module is responsible for managing the communication


between the user's smartphone and the hardware module. The app enables users to lock or
unlock the door, monitor the status of the lock, and customize access control for different users.
The app also stores user data securely and sends alerts to the user's smartphone in case of
unauthorized access attempts or suspicious activity.

3. Power Management Module:

The power management module is responsible for managing the power supply of
the smart door lock system. The module ensures that the system has sufficient power to operate
and provides alerts to the user's smartphone in case of low battery or power supply issues. The
module also manages the charging of the battery or power supply.

Overall, the four modules work together to provide a secure, convenient, and customizable
smart door lock system based on Arduino and smartphone app. The hardware module controls
the physical components of the system, the smartphone app module manages communication
between the user's smartphone and the hardware module, the authentication module verifies the
user's identity, and the power management module manages the power supply.
12
3.2Functional Requirements

The functional requirements of a secure smart door lock system based on Arduino and
smartphone app can be categorized into the following categories:

1. Locking and unlocking functionality:

The system must provide reliable and secure locking and unlocking functionality.
The user must be able to lock and unlock the door using the smartphone app, and the system
must respond quickly and reliably to these commands.

2. Access control:

The system must allow the user to control who has access to the premises. The user
must be able to set up different levels of access for different users, such as family members,
friends, or service providers. The system must also provide alerts to the user's smartphone in
case of unauthorized access attempts or suspicious activity.

3. Security:

The system must provide a high level of security to prevent unauthorized access. The
system must use encryption and other security measures to protect user data and prevent hacking
attempts.

4. Remote control:

The system must provide remote control functionality, allowing the user to control
the lock from anywhere with an internet connection. The system must also provide alerts to the
user's smartphone in case of low battery or power supply issues.

5. Power management:

The system must manage its power supply efficiently, providing alerts to the user's
smartphone in case of low battery or power supply issues. The system must also be designed to
minimize power consumption to prolong battery life.

13
6. User interface:

The smartphone app must provide an easy-to-use interface that allows the user to
control the lock, set up access control, and monitor the status of the lock. The app must also
provide clear and concise instructions on how to set up and use the system.

Overall, a secure smart door lock system based on Arduino and smartphone app
must provide reliable locking and unlocking functionality, customizable access control, secure
authentication, high-level security, remote control, efficient power management, and an easy-to-
use user interface.

14
3.3 SOFTWARE DESIGN

3.3.1 System Design

15
3.3.2 DATA FLOW DIAGRAM

16
4.SYSTEM IMPLEMENTATION
Arduino uno Installation

In this we will get know of the process of installation of Arduino IDE and connecting
Arduino uno to Arduino IDE.

Step 1

First we must have our Arduino board (we can choose our favorite board) and a USB cable.
In case we use Arduino UNO, Arduino Duemilanove, Nano, Arduino Mega 2560, or
Diecimila, we will need a standard USB cable (A plug to B plug), t

In case we use Arduino Nano, we will need an A to Mini-B cable..

Step 2 − Download Arduino IDE Software. We can get different versions of Arduino
IDE from the Download page on the Arduino Official website. We must select wer
software, which is compatible with wer operating system (Windows, IOS, or Linux).
After wer file download is complete, unzip the file.

The Arduino Uno, Mega, Duemilanove and Arduino Nano automatically draw power from
either, the USB connection to the computer or an external power supply. If we are using an

17
Arduino Diecimila, we have to make sure that the board is configured to draw power from
the USB connection. The power source is selected with a jumper, a small piece of plastic
that fits onto two of the three pins between the USB and power jacks. Check that it is on
the two pins closest to the USB port.

Connect the Arduino board to were computer using the USB cable. The green power LED
(labeled PWR) should glow.

Step 4 − Launch Arduino IDE.

After our Arduino IDE software is downloaded, we need to unzip the folder. Inside the
folder, we can find the application icon with an infinity label (application.exe). Double-
click the icon to start the IDE.

Step 5 − Open our first project.

Once the software starts, we have two options

* Create a new project

18
Open an existing project example.

To create a new project, select File → New.

To open an existing project example, select File → Example → Basics → Blink.

Here, we are selecting just one of the examples with the name Blink. It turns the LED on
and off with some time delay. We can select any other example from the list.

Step 6 − Select our Arduino board.

19
To avoid any error while uploading were program to the board, we must select the correct
Arduino board name, which matches with the board connected to were computer.

Go to Tools → Board and select were board.

Here, we have selected Arduino Uno board according to our tutorial, but we must select the
name matching the board that we are using.

Step 7 − Select were serial port.

Select the serial device of the Arduino board. Go to Tools → Serial Port menu. This is likely
to be COM3 or higher (COM1 and COM2 are usually reserved for hardware serial ports). To
find out, we can disconnect were Arduino board and re-open the menu, the entry that
disappears should be of the Arduino board. Reconnect the board and select that serial port.

20
Step 8 − Upload the program to were board.

Before explaining how we can upload our program to the board, we must demonstrate the
function of each symbol appearing in the Arduino IDE toolbar.

A − Used to check if there is any compilation error.

B − Used to upload a program to the Arduino board.

C − Shortcut used to create a new sketch.

D − Used to directly open one of the example sketch.

E − Used to save were sketch.

F − Serial monitor used to receive serial data from the board and send the serial data to the
board.

Now, simply click the "Upload" button in the environment. Wait a few seconds; we will see
the RX and TX LEDs on the board, flashing. If the upload is successful, the message "Done
uploading" will appear in the status bar.

Note − If we have an Arduino Mini, NG, or other board, we need to press the reset button
physically on the board, immediately before clicking the upload button on the Arduino
Software.

21
5.CODING
#include <LiquidCrystal.h>
#include <SoftwareSerial.h>
const int rs = 7, en = 8, d4 = 9, d5 = 10, d6 = 11, d7 = 12 ;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
SoftwareSerial ble(2,3);
const int lock=5;
String data;
void setup() {

Serial.begin(9600);
ble.begin(9600);
pinMode(lock,OUTPUT);
lcd.begin(16, 2);
lcd.setCursor(0, 0);
lcd.print("WIRELESS BASED ");
lcd.setCursor(0, 1);
lcd.print("DOOR AUTOMATION");
delay(3000);

lcd.clear();
}

void loop() {
// put your main code here, to run repeatedly:
// digitalWrite(lock, LOW);
lcd.setCursor(0, 0);
lcd.print("LOCK STATUS");

lcd.setCursor(0, 1);
lcd.print(digitalRead(lock));
delay(500);lcd.clear();
if(ble.available()>0)
{
data=ble.readString(); // reading the data received from the bluetooth module
delay(10);
}

if(data.indexOf("ON")>=0)
{

delay(1000);

digitalWrite(lock, HIGH);

lcd.setCursor(0, 0);
lcd.print("LOCK STATUS");
lcd.setCursor(0, 1);
lcd.print("LOCKED");
}
if(data.indexOf("OFF")>=0)
22
{ delay(1000);
digitalWrite(lock, LOW);
lcd.setCursor(0, 0);
lcd.print("LOCK STATUS");
lcd.setCursor(0, 1);
lcd.print("UNLOCKED");
delay(500);
lcd.clear();
}
lcd.clear();

23
6. SYSTEM TESTING

System testing is a crucial step in the development process of a secure smart door lock
system based on Arduino and smartphone app. It ensures that the system functions as intended,
meets all the requirements, and is reliable and secure. Here are some of the tests that can be
performed on the system:

1. Unit testing:

Unit testing is performed on individual components of the system, such as the


Arduino board, Bluetooth module, servo motor, and power supply. This testing ensures that each
component functions correctly and meets the specifications.

2. Integration testing:

Integration testing is performed on the complete system to ensure that all


components work together as intended. This testing checks the communication between the
smartphone app and the hardware module, verifies the access control and authentication
functionality, and ensures that the system provides alerts and notifications as intended.

3. Performance testing:

Performance testing measures the system's performance under different conditions,


such as heavy usage or low battery. This testing verifies that the system operates reliably and
efficiently, even under high loads or power supply fluctuations.

4. Security testing:

Security testing is performed to identify vulnerabilities and security flaws in the


system. This testing ensures that the system is resistant to hacking attempts and provides a high
level of security to prevent unauthorized access.

5. Usability testing:

Usability testing checks the user interface of the smartphone app and ensures that it is easy to
use and understand. This testing verifies that the app provides clear and concise instructions, and

24
the user can set up access control and monitor the lock's status without difficulty.

6. User acceptance testing:

User acceptance testing involves testing the system with a group of users to ensure
that it meets their needs and requirements. This testing gathers feedback from users and
identifies areas for improvement in the system.

Overall, thorough testing is essential to ensure that a secure smart door lock system based on
Arduino and smartphone app functions correctly, meets all the requirements, and is reliable,
secure, and user-friendly.

25
7.SYSTEM MAINTENANCE-

A secure smart door lock system based on Arduino and smartphone app requires regular
maintenance to ensure its proper functioning, security, and reliability. Here are some of the
maintenance tasks that should be performed:

1. Check the hardware components:

Regularly check the hardware components of the system, such as the Arduino board,
Bluetooth module, servo motor, and power supply, to ensure they are functioning correctly.
Check for loose connections or damage to the components.

2. Replace batteries:

If the system is battery-powered, regularly check the battery status and replace the
batteries when needed. This ensures that the system functions reliably and prevents power-
related issues.

3. Update software:

Regularly update the smartphone app and firmware of the hardware module to
ensure they have the latest security patches and functionality. This helps to prevent security
vulnerabilities and ensures that the system is up to date with the latest features and capabilities.

4. Conduct security audits:

Regularly conduct security audits on the system to identify any vulnerabilities or


weaknesses that could be exploited by attackers. This helps to prevent unauthorized access and
ensures the security of the system.

5. Backup data:

Regularly backup the data of the system, such as access control settings and logs, to
prevent data loss in case of system failure or security breaches.
26
6. Clean the hardware components:

Regularly clean the hardware components of the system, such as the servo motor
and lock mechanism, to ensure they are functioning correctly and prevent damage from dirt and
debris.

7. Conduct user training:

Regularly conduct user training to ensure that users understand how to use the
system correctly and prevent accidental damage or misuse

Overall, regular maintenance is crucial to ensure the proper functioning, security, and reliability
of a secure smart door lock system based on Arduino and smartphone app. By performing
regular maintenance tasks, the system can provide reliable access control and security to the
users.

27
8.CONCLUSION

In conclusion, the secure smart door lock system based on Arduino and smartphone
app is a highly efficient and secure access control system that can provide reliable security to
users. The system allows users to control access to their homes or offices using their
smartphones, and it provides notifications and alerts in real-time.

The feasibility study revealed that the system is highly feasible and practical, as it is based on
readily available and affordable components, and it is easy to use and maintain. The functional
requirements analysis demonstrated that the system meets all the necessary requirements,
including access control, authentication, and security.

The project report also discussed the system architecture, module description, and
implementation details, including the hardware and software components. The testing and
maintenance sections highlighted the importance of testing the system to ensure its proper
functioning and reliability, as well as the need for regular maintenance to ensure the system's
security and longevity.

Overall, the secure smart door lock system based on Arduino and smartphone app is a highly
efficient and secure access control system that can provide reliable security to users. Its
practicality, security, and ease of use make it an ideal solution for modern access control needs,
and it has the potential to revolutionize the way we secure our homes and offices in the future.

28
9.FUTURE ENHANCEMENT-

There are several future enhancements that can be made to the secure smart door lock
system based on Arduino and smartphone app to improve its functionality and security. Some of
these enhancements include:

1. Biometric authentication:

The addition of biometric authentication, such as fingerprint or facial recognition,


can enhance the security of the system by providing an additional layer of authentication.

2. Integration with home automation systems:

The system can be integrated with home automation systems to provide additional
functionality, such as turning on lights or adjusting temperature settings when the user unlocks
the door.

3. Voice control:

Adding voice control capabilities to the system can provide greater convenience
and ease of use for users, allowing them to unlock the door using voice commands.

4. Cloud connectivity:

Connecting the system to the cloud can enable remote access control and monitoring,
allowing users to control access to their homes or offices from anywhere in the world.

5. Machine learning-based security:

The addition of machine learning-based security can enhance the security of the
system by analyzing access patterns and identifying potential security threats.

29
6. Multi-factor authentication:

Adding multi-factor authentication, such as a combination of password and OTP


(one-time password), can provide an additional layer of security and prevent unauthorized
access.

7. Battery backup:

Adding a battery backup system can ensure the system continues to function in the
event of a power outage or other electrical disruptions.

In conclusion, the future enhancements discussed above can greatly enhance the functionality
and security of the secure smart door lock system based on Arduino and smartphone app. These
enhancements can be implemented through software or hardware upgrades, and they have the
potential to make the system even more reliable, secure, and convenient for users.

30
10.BIBILOGRAPHY

Here is a list of references used in the project report for the "Secure Smart Door Lock System
based on Arduino and Smartphone App":

1.Arduino.(2021).Arduino. Retrieved from https://www.arduino.cc/

2.Bluetooth Technology. (2021). Bluetooth Technology Website. Retrieved from

https://www.bluetooth.com/

3.Kaur, R., &Sharma, A.(2020). Smart Door Lock Using Arduino and Bluetooth Module.

International Journal of Scientific & Engineering Research, 11(1),2073-2078.

4. Kumar, N., Singh, N., Kumar, R., & Yadav, R (2017). Internet of Things Based Smart Door

Lock Security System. International Journal of Computer Applications, 160(2), 31-34.

5. Pushbullet.(2021). Pushbullet. Retrieved from https://www.pushbullet.com/

6. Subedi, D. P., Jha, N. K., & Lamichhane, R(2019). Smartphone Controlled Door Locking

System Using Arduino and Bluetooth Module. International Journal of Computer Science and

Mobile Computing, 8(7), 113-118.

31
11. APPENDIX

11.1 Sample User Interface Screens

32
33
34
11.2. SAMPLE SOURCE CODE

35
36

You might also like