0% found this document useful (0 votes)
90 views8 pages

Smart Door Lock System Project Proposal

Uploaded by

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

Smart Door Lock System Project Proposal

Uploaded by

tmdbyatigammana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Smart Door Lock System

MINI PROJECT PROPOSAL


Embedded Systems

Embedded Systems Design Project

EEE 2301

Group Members:

1. Dhananjaya Yatigammana - 22ug1-0041

2. Nipuni Herath - 22ug1-0819

Faculty of Engineering

Sri Lanka technological Campus

JUNE 2024

1
Table of Contents

intro............................................................................................................................................3

Problem Statement.....................................................................................................................4

Objectives..................................................................................................................................4

Methodology .............................................................................................................................5

Work plan...................................................................................................................................7

Estimated Budget of the Project.................................................................................................8

2
1. INTRODUCTION
As we come up with the module on embedded systems, we are going to build a smart door lock
system using embedded systems. An embedded system is a specialized computing system
designed to perform dedicated functions within a larger mechanical or electrical framework,
often operating under real-time constraints and optimized for specific tasks with limited
resources. The core components of an embedded system include a microcontroller, which acts as
the brain of the system, memory to store data and instructions, input/output interfaces to interact
with external devices, and embedded software that is meticulously programmed to perform
particular functions efficiently.

Embedded systems are pervasive in modern technology, with applications ranging from
automotive control systems, which manage everything from engine performance to infotainment
systems, to household appliances like washing machines and microwaves, which utilize
embedded systems to automate and optimize their operations. Medical devices, such as
pacemakers and infusion pumps, rely on embedded systems for precision and reliability, while
consumer electronics, including smartphones, smartwatches, and gaming consoles, use them to
deliver sophisticated functionalities in compact forms.

This project aims to leverage the principles and technologies of embedded systems to create a
secure, efficient, and user-friendly door locking mechanism. By integrating microcontrollers,
sensors, and communication interfaces, our smart door lock will provide enhanced security
features, such as biometric access, remote control, and real-time monitoring, demonstrating the
practical applications and benefits of embedded systems in modern security solutions.
This means that, whether at home or on the go, users can lock or unlock their doors, grant
temporary access to visitors, and receive notifications about any unauthorized attempts to access
their premises.

Here, we have devised the "Smart Door Locking System" -an electronic security system capable
of detecting intruders and notifying security personnel. The system involves the construction of
an electronic digital lock utilizing the "PIC16F877A" microcontroller as the processing unit. The
microcontroller integrates security information using a four-digit password entered through a 4x3
keypad. The operation includes opening and closing the door with password entry. If the

3
password is correct, the microcontroller interfaces with other components to open the door;
otherwise, an alarm is triggered, and the system remains locked. Simultaneously, an LCD panel
displays essential information. Until the correct password is input, it indicates the door is
"locked." If the correct password is entered, it displays "Unlocked"; otherwise, it shows
"Password incorrect" and "Locked." A DC motor performs the action of unlocking the door,
receiving instructions from the microcontroller only when the correct password is provided.

This smart door locking system demonstrates the practical application of embedded systems in
enhancing security. By integrating advanced technology with robust security measures, the
system offers a reliable and adaptable solution suitable for both residential and commercial
applications.

[Link] STATEMENT

We are building a smart door lock using a password to enhance security in our daily lives. In
today's world, ensuring the safety of our belongings and loved ones has become paramount. This
innovative device enables users to unlock doors secured with a password, offering both
convenience and robust security features.

The primary purpose of employing smart door locks is to provide homeowners and businesses
with enhanced convenience, security, and control over access to their premises. Smart locks
significantly bolster security measures. They incorporate advanced features such as encryption,
two-factor authentication, and detailed activity logs that monitor entries and exits in real-time.
Temporary access codes can be generated for specific occasions or visitors, ensuring flexibility
and ease of use while maintaining security protocols.

Integration with broader smart home systems further enhances functionality. Smart locks can
automate tasks such as locking doors upon departure or unlocking upon arrival, seamlessly
integrating with other smart devices like security cameras for comprehensive surveillance and
monitoring. Additionally, the elimination of physical keys reduces the risk of theft or loss,
offering peace of mind to users.

4
These locks also provide customizable settings, allowing users to tailor access permissions based
on individual needs. Whether adjusting access levels for family members, guests, or service
providers, smart locks offer flexibility and control. Real-time notifications inform users of door
activities, further enhancing security measures by keeping them informed of who enters or exits
their property. In essence, smart door locks represent a significant advancement in home security
technology, offering a blend of convenience, customization, and enhanced security to meet the
demands of modern living.

[Link]
• Implement secure password-based access control.
• Enable remote locking and unlocking functionality.
• Integrate with existing smart home automation systems.
• Ensure robust encryption for data security.
• Provide real-time monitoring and activity logging.
• Offer customizable access permissions for different users.
• Optimize power consumption for efficiency.
• Support firmware updates for continuous improvement and security enhancements.

[Link] SOLUTION / METHODOLOGY


The methodology for this project involves a systematic approach to achieve the objectives of
developing a smart door lock system using the PIC16F877A microcontroller and embedded
system principles. First, the project will focus on implementing secure password-based access
control by programming the microcontroller to authenticate user passwords securely.

Ensuring robust encryption for data security will involve implementing encryption algorithms
within the microcontroller to protect user data during transmission and storage. Real-time
monitoring and activity logging capabilities will be achieved by programming the
microcontroller to log access events and transmit them to a centralized monitoring system.
Customizable access permissions will be facilitated through software interfaces that allow
administrators to assign different access levels and schedules to users.

5
Optimizing power consumption for efficiency will be a priority, achieved by employing low-
power modes in the microcontroller and optimizing hardware design to minimize energy
consumption. Throughout the project, iterative testing and debugging phases will ensure
functionality and reliability, with continuous refinement based on feedback and testing results.
By leveraging the capabilities of the PIC16F877A microcontroller and adhering to best practices
in embedded systems design, the project aims to deliver a smart door lock system that enhances
security, convenience, and integration within smart home environments.

To build this system, we use components such as the PIC16F877A microcontroller, crystal
oscillator, capacitors, keypad, LCD display, LED lights, switches, and registers. The system
features one input device—a 3x4 keypad—and two output devices: LED lights and an LCD
panel. It includes switches for powering on/off and resetting the system. Resetting returns the
system to its initial state, requiring the user to re-enter data to unlock the door. Notably, the
system allows door locking and unlocking with the same password, facilitated by a manual
switch that toggles between these functions.

When the keypad is ready for password entry, an indicator light blinks, prompting the user to
input their password. If correct, the system displays "Door unlock" on the LCD panel and grants
access. Activating the manual switch after unlocking allows the door to be re-locked using the
same password after a brief delay, indicated by another LED. If an incorrect password is entered,
an alert LED signals an error to the owner. Additionally, the owner can change the password at
any time, adding flexibility to the system's security features.

STEPS FOR BUILDING THE SMART DOOR LOCK SYSTEM


1. Create a block diagram illustrating the interconnections between the microcontroller and
other hardware components.
2. Using Proteus, set up a simulation environment and virtually connect the components.
3. Configure MPLAB X IDE for PIC 18F4550 development, set up project settings, and
establish a connection with the microcontroller.
4. Develop the firmware in C programming language, incorporating functions for keypad
interaction, LCD display control, password storage, and verification.

6
5. The XC8 Compiler is used to compile the code and generate the hex file, which is
integrated into the Proteus simulation setup for virtual testing to ensure correct
functionality.
6. Build a prototype on a breadboard to test hardware connections and functionality,
7. Assemble the final circuit on a Dot Board, ensuring proper connections and component
placements. The keypad, LCD display, and electronic lock are connected to the PIC
18F4550 microcontroller based on the finalized schematic design.
8. Finally, a stable power supply is provided to ensure the microcontroller and other
components receive the required voltage.

[Link] PLAN

Task 1st week 2nd week 3rd week 4th week 5th week 6th week

Planning and
Designing

Implementatio
n &Integration

Testing and
Refinement

Documentation
& Finalization

7
[Link] BUDGET

Item Purpose of the item Quantity Price (LKR)

PIC16F877A Systems Central Processing Unit 1 1200.00

Crystal oscillator Generate clock signals 1 5.00

Capacitors To reduce noise 2 2.00

3x4 Keypad Input Details to the system 1 200.00

LCD panel Display information 1 250.00

LED light For blinking 2 5.00

Resistors Save from over current flow 4 5.00

Switches Switch the system on or off 1 10.00

PickIT 3 To program the microcontroller 1 6800.00

8467.00
Total amount (LKR)

Common questions

Powered by AI

The microcontroller acts as the 'brain' of the smart door lock system, orchestrating all necessary security and control functions. By enabling password-based access, it ensures that only authorized users can unlock the door, enhancing security . Moreover, the integration of real-time monitoring and activity logging means that any entry attempt is recorded and notified to users, allowing for immediate responses to unauthorized access attempts . The microcontroller also supports remote locking/unlocking and customizable access through communication interfaces, greatly increasing user convenience by allowing them to manage access from anywhere and tailor it to individual needs .

The core components of the system include a PIC16F877A microcontroller, a 3x4 keypad, an LCD panel, LED lights, and a DC motor. The microcontroller is programmed to authenticate user inputs via the keypad, display system status on the LCD panel, and control the DC motor to lock or unlock the door . The LEDs provide visual feedback for the system's status, such as confirming a correct password entry or indicating an error. These components are connected based on a schematic design, with the microcontroller managing the interactions and data flow among them .

Customizable access permissions allow the system to grant varying levels of access to different users, tailored to individual requirements . This flexibility ensures that specific users, such as family members or service providers, can have unique access schedules or restrictions, enhancing security by minimizing unnecessary access points . The system's ability to adapt permissions dynamically, such as granting temporary access codes for visitors, ensures it can effectively manage multiple user scenarios while maintaining stringent security protocols .

The project involves several testing phases to ensure functionality and reliability. Initially, components and connections are tested in a simulation environment using Proteus, followed by virtual testing of the compiled firmware . A prototype is built on a breadboard to verify hardware connections and functionality under real conditions. Iterative testing continues with refinements based on results, culminating in the assembly of final circuits on a Dot Board and a stable power supply setup, ensuring proper operation . These thorough testing phases address both theoretical and practical aspects of the system's performance .

The project's methodology includes iterative testing and debugging to ensure the reliability and efficiency of the smart door lock system. This involves constructing a prototype to test hardware connections and functions, followed by refining the design based on feedback and test results . The use of low-power modes in the microcontroller and optimized hardware design aim to enhance efficiency by minimizing energy consumption while maintaining system performance . Continuous refinement ensures that any potential issues are addressed promptly, improving overall system reliability .

The system employs encryption algorithms within the microcontroller to protect user data during transmission and storage, ensuring that sensitive information, like passwords, remains secure against potential breaches . Additionally, the smart lock incorporates two-factor authentication, which adds a layer of security by requiring a second form of verification beyond the password. This could involve biometric verification or a temporary code, significantly reducing the risk of unauthorized access and guarding against common security threats such as password theft or social engineering attacks .

Integrating a smart door lock with broader smart home systems offers several benefits. Firstly, it enhances security by allowing seamless integration with smart cameras and alarm systems, providing comprehensive surveillance and automated security responses . Secondly, it offers convenience by automating routine tasks, such as locking doors when the system detects the user has left or unlocking them upon arrival. Additionally, integration facilitates centralized control through a single interface, improving user experience and ease of management of the entire smart home ecosystem .

Optimizing power consumption is critical for ensuring the efficiency and sustainability of the smart door lock system, especially in continuous operation environments like home security. It is achieved through the use of low-power modes in the microcontroller, reducing energy use during idle periods . Additionally, optimizing the hardware design for minimal energy consumption helps extend the life of power sources, making the system more reliable and cost-effective over the long term .

The proposed smart door lock system offers multiple advantages over traditional lock-and-key systems. It eliminates the risks associated with lost or stolen keys, as it uses password-based authentication and can provide real-time monitoring and notifications of access attempts . Additionally, the system allows for remote management and integration with smart home devices, which traditional systems cannot offer. This enables users to control access points from anywhere, providing greater security, flexibility, and convenience . Furthermore, the system supports customizable access permissions and temporary codes for guests, making it a more versatile solution for modern security needs .

The PIC16F877A microcontroller serves as the central processing unit, coordinating all system functions such as password verification, control of the DC motor for locking/unlocking, and interfacing with input/output devices like the keypad and LCD panel . It was chosen for its ability to efficiently handle the specific tasks required by the system, including data encryption and real-time monitoring. Its suitability for embedded systems applications, where dedicated functionality, optimized performance, and low power consumption are critical, make it an ideal choice for the smart door lock project .

You might also like