DOOR LOCK BY USING MOBILE PHONE
A MINI PROJECT REPORT
Submitted by
S. Chella Grace (11232005)
S. Archana (11232004)
M. Veni (11232029)
In partial fulfillment for the award of the degree of
BACHELOR OF ENGINEERING
IN
ELECTRONICS AND COMMUNICATION ENGINEERING
Dr. SIVANTHI ADITANAR COLLEGE OF
ENGINEERING
ANNA UNIVERSITY: CHENNAI 600 025
NOVEMBER 2024
1
BONAFIDE CERTIFICATE
Certified that this mini project report “Door Lock Using Mobile Phone” is the bonafide
work of “S. Chella Grace (11232005) , S. Archana (11232004) , M. Veni (11232029)”
who carried out the mini project work under my supervision.
SIGNATURE SIGNATURE
Dr. A. BENO Mrs. K .Ulagammal
HEAD OF SUPERVISOR
THE DEPARTMENT
Department of Electronics and Department of Electronics and
Communication Engineering Communication Engineering
[Link] Aditanar College of [Link] Aditanar College of
Engineering, Tiruchendur. Engineering, Tiruchendur.
This project report is submitted for the Mini Project Work conducted at Dr. Sivanthi
Aditanar College of Engineering, Tiruchendur.
2
ACKNOWLEDGEMENT
We have immense pleasure in undertaking this project titled “Door Lock
Using Mobile Phone”
We express our sincere gratitude to the Almighty God for his unwavering
blessings throughout this project. We would like to thank our Parents for their
invaluable moral support and encouragement.
We thank our esteemed Founder, Padmashri Dr. B. Sivanthi Adityan, and our
honorable Chairman Shri. S. Balasubramaniyan Adityan for providingthe essential
infrastructure and facilities for the completion of this project.
We extend our heartfelt thanks to our Principal, Dr. G. Wiselin Jiji, M.E.,
Ph.D., for her continuous encouragement during this project.
We wish to express our profound gratitude to our mentor, Mrs. K .Ulagammal,
M.E., Assistant Professor, for his guidance, motivational encouragement, constructive
suggestions, and support throughout this project.
We thank Dr. A. Beno, M.E., Ph.D., Head of the Electronics and Communication
Engineering Department, for his unwavering dedication, indispensable support, and
insightful suggestions throughout the [Link] sincerely thank all the Faculty
Members, Staff Members, and our friends for their various ideas, contributions, and
generous support.
3
ABSTRACT
A door lock is an electronic device that allows you to lock and unlock your doors without
needing a traditional physical key. Instead, smart locks use digital methods such as a
smartphone app, voice command, fingerprint, or even a key fob. Forgetting your keys is no
longer an issue with smart [Link] keys is a thing of the past. With smart locks, you can
provide temporary or permanent access to family members, friends, or service providers. You
can share a digital key or access code through the app and revoke access when no longer
[Link] locks are generally more expensive than traditional locks. However, the added
convenience and security may be worth the investment for many [Link] the future,
we can expect even more sophisticated and secure mobile phone-based door locking systems.
Doors could unlock with facial recognition, fingerprint scanning, or voice recognition via
your mobile phone. It might be able to control door locks with voice commands using popular
voice [Link] added security, doors could require multiple authentication methods, like
a fingerprint scan and a passcode.
4
TABLE OF CONTENT
SERIAL NO. TITLE PAGE NO.
1. ABSTRACT 4
2. [Link] 6
3. 2. COMPONENTS REQUIRED 6
2.1 Explanation Of Components 6
4. 3. WORKING PRINCIPLE 8
5. 4. BLOCK DIAGRAM 9
6. 5. ADVANTAGES 10
7. 6. OUTPUT 10
8. 7. RESULT 10
5
[Link] :
The Objective of this project is to design and create a door lock system using an Arduino
UNO , Relay Module, Bluetooth Module, and 12v Solenoid lock . This system should allow
the users to lock and unlock the door. The system should also have the ability to manage and
provide feedback to user indicating whether the input was successful or not.
[Link] REQUIRED:
[Link] computer
[Link] UNO
3. Relay module
[Link] module
5.12v solenoid lock
[Link] wires
2.1EXPLANATION OF COMPONENTS :
[Link] UNO :
Arduino is an open-source electronics platform based on easy-to-use
hardware and software. Arduino boards are able to read inputs - light on a sensor, a
finger on a button and turn it into an output - activating a motor, turning on an LED,
publishing something online. You can tell your board what to do by sending a set of
instructions to the microcontroller on the board. The word “uno” means “one” in
Italian and was chosen to mark a major redesign of the Arduino hardware and software.
6
[Link] module :
A relay module is a device that allows a low-power signal to control a
high-power circuit. Essentially, it acts as an intermediary, using a small electrical signal
to switch on or off a much larger electrical load. Relay modules are widely used in
automation systems, industrial machinery, automotive electronics, and home
automation. They provide a convenient and efficient way to control devices like
motors, lights, and appliances from low-power control signals generated by
microcontrollers or other digital systems.
[Link] module :
A Bluetooth module is a small piece of hardware that combines Bluetooth
technology and allows devices to communicate wirelessly. It consists of all the circuits
and protocols required to create a Bluetooth connection, which enables short-range
data transmission and communication between devices. Bluetooth modules are
available in a variety of form factors and are suitable for both independent usage in
research and prototyping as well as seamless integration into electrical products.
4. Solenoid lock (12V) :
A solenoid Lock is an electrically operated Locking mechanism that uses a
solenoid to control the Locking and unlocking of a door, drawer, or other access point.
A solenoid is a type of electromagnet that converts electrical energy into mechanical
motion.
7
[Link] PRINCIPLE :
Arduino board is an open-source platform used to make electronics projects.
It consists of both a microcontroller and a part of the software or Integrated
Development Environment (IDE) that runs on your PC, used to write & upload
computer code to the physical board.
Arduino relay that is used with a microcontroller like the Arduino to control
either high-voltage or low-voltage devices. Actually, a relay is a switch that is operated
electrically through an electromagnet. This electromagnet is simply triggered through a
low voltage like 5V from a microcontroller & it pulls a relay contact to connect or
disconnect a high voltage-based circuit. Here to power up the transistor as well as the
load, you cannot utilize 5V directly from the USB because usually, the USB port
delivers 100mA only. So this is not sufficient to activate the relay & the LOAD. So
external power supply from 7V to 12V must use to provide power to the controller
board, the transistor, and the relay.
The Android app is built to send serial data to the Bluetooth Module HC-05 by
pressing ON button. The Bluetooth Module HC-05 works on serial communication. It
receives the data from the app and sends it through the TX pin of the Bluetooth module
to the RX pin of Arduino. The uploaded code inside Arduino checks the data received.
If the received data is 1, the LED turns ON, and if the received data is 0 the LED turns
OFF.
The solenoid lock is controlled by Arduino, it generates the signals so the
lock turns on and off after the delay of a second.
The lock is not directly connected with the Arduino; instead of it we use a relay
module.
8
[Link] DIAGRAM :
Figure:1
9
[Link] :
1. Security: Door locks provide a physical barrier against unauthorized entry,
protecting people and property.
2. Privacy: Locks ensure that individuals have control over who enters their private
space.
3. Safety: Locks can prevent accidents, such as children accessing hazardous areas or
equipment.
4. Peace of Mind: Knowing that doors are securely locked can give people a sense of
security and peace of mind.
5. Protection of Valuables: Locks safeguard valuable possessions and sensitive
information from theft or damage.
6. Compliance with Regulations: In some cases, door locks may be required by law or
regulation, such as in commercial or public buildings.
[Link]:
Figure 2
[Link]:
Thus the door lock system by using mobile phone is implemented and
executed successfully.
Appendix
10
Program:
#define BLYNK_PRINT Serial
#include <SoftwareSerial.h>
#include <BlynkSimpleSerialBLE.h>
Char auth[] = “YourAuthToken”;
Const int relayPin = 8;
SoftwareSerial Bluetooth(10, 11);
Void setup() {
[Link](9600);
[Link](9600);
[Link](Bluetooth, auth);
pinMode(relayPin, OUTPUT);
digitalWrite(relayPin, LOW);
[Link](“Setup complete. Waiting for commands…”);
}
BLYNK_WRITE(V1) {
Int buttonState = [Link]();
If (buttonState == 1) {
[Link](“Unlocking the door…”);
digitalWrite(relayPin, HIGH);
delay(5000);
digitalWrite(relayPin, LOW);
[Link](“Door locked again.”);
}
}
Void loop() {
[Link]();
}
11