0% found this document useful (0 votes)
2 views

Smart Lock System Project Report

The Smart Lock System is an electronic access control solution that utilizes a microcontroller, keypad, LCD display, and servo motor to authenticate users via password input. It provides real-time feedback on access status and allows for password updates for enhanced security. The system is designed to be user-friendly and includes test cases to ensure functionality across all components.

Uploaded by

ammuraj7778
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)
2 views

Smart Lock System Project Report

The Smart Lock System is an electronic access control solution that utilizes a microcontroller, keypad, LCD display, and servo motor to authenticate users via password input. It provides real-time feedback on access status and allows for password updates for enhanced security. The system is designed to be user-friendly and includes test cases to ensure functionality across all components.

Uploaded by

ammuraj7778
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/ 2

Smart Lock System

Objective:
To design and implement an electronic lock system using a microcontroller that
authenticates users through password input via a keypad and controls access by actuating a
servo motor to lock or unlock the mechanism. The system provides real-time feedback
through an LCD display.

Description:
The Smart Lock System is a secure and user-friendly embedded solution for access control.
It integrates a 4x4 matrix keypad for password input, a 16x2 LCD to display system
messages, and a servo motor to control the locking mechanism. The system is based on an
Arduino Uno board programmed to verify passwords, display appropriate messages, and
control the servo position based on input validation.

Upon powering the system, the LCD displays "Enter Password." When the user inputs the
correct password, the LCD shows "Access Granted" and the servo motor rotates to unlock
the door. If the input is incorrect, the LCD displays "Access Denied," and the door remains
locked. The password can be hardcoded or optionally updated for security enhancement.

Hardware in Wokwi:
1. Arduino Uno

2. 4x4 Matrix Keypad

3. 16x2 LCD Display

4. Servo Motor (SG90 or equivalent)

Software Required:
1. Wokwi Online Simulator

2. Arduino IDE (for optional offline development)

3. Libraries:

- Keypad.h for keypad interface

- LiquidCrystal.h for LCD control

- Servo.h for motor control


Test Cases:
Test Case 1 – Keypad Input Validation:
Verify each button press from the 4x4 keypad is correctly detected and displayed on the
serial monitor.

Test Case 2 – LCD Display Feedback:


Ensure the LCD displays appropriate prompts (e.g., "Enter Password", "Access Granted",
"Access Denied") based on user input and system logic.

Test Case 3 – Servo Motor Control:


Validate that the servo motor rotates to 90 degrees for unlocking and returns to 0 degrees
for locking based on authentication result.

Test Case 4 – System Integration Test:


Perform end-to-end testing where a correct password triggers unlock, and incorrect
passwords retain the lock status, ensuring synchronized operation of all modules.

Setup Steps:
1. Connect the Input Device (Keypad):
Wire the 4x4 matrix keypad to Arduino digital pins. Configure the keypad matrix in the
code to recognize each key press using the Keypad library.

2. Connect the Display Module (LCD):


Interface the 16x2 LCD to digital pins using the 4-bit or 8-bit mode. Use the LiquidCrystal
library to initialize and display messages.

3. Connect the Actuator (Servo):


Attach the servo signal wire to a PWM-capable digital pin (e.g., pin 9). Use the Servo
library to set initial position (locked) and rotate based on access.

4. Develop Code for Keypad Handling:


Write functions to capture user input from the keypad. Store the input temporarily and
allow a fixed number of characters as password.

5. Implement LCD Display Logic:


Display messages such as "Enter Password", "Access Granted", or "Access Denied" based
on user interactions and password verification.

6. Control Servo Motor:


Upon correct password entry, rotate the servo motor to 90 degrees to unlock the door.
After a delay, return it to 0 degrees to relock.

7. Integrate the Full System:


Combine keypad input, LCD output, and servo control into a complete program. Conduct
thorough testing using defined test cases.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy