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

nm embedded project smart lock system

The document is a mini project report on a Smart Lock System developed using an Arduino microcontroller, a solenoid valve relay, and a 4x3 keypad. It details the project's objectives, components, working principles, and implementation steps, aiming to provide a secure and convenient access control solution. The system allows users to input a passcode to unlock a door, with features for managing multiple passcodes and providing user feedback.

Uploaded by

Sakthi Vel
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)
1 views

nm embedded project smart lock system

The document is a mini project report on a Smart Lock System developed using an Arduino microcontroller, a solenoid valve relay, and a 4x3 keypad. It details the project's objectives, components, working principles, and implementation steps, aiming to provide a secure and convenient access control solution. The system allows users to input a passcode to unlock a door, with features for managing multiple passcodes and providing user feedback.

Uploaded by

Sakthi Vel
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/ 22

SMART LOCK SYSTEM

A MINI PROJECT REPORT

Submitted by

NAVIN KARTHICK V
SAKTHIVEL I
YOGESHWARAN M

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


MAY 2024
SMART LOCK SYSTEM

A MINI PROJECT REPORT

Submitted by

PONMATHANKUMAR T
REJOY A

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


MAY 2024

i
ANNA UNIVERSITY : CHENNAI 600 025

BONAFIDE CERTIFICATE

Certified that this mini project report “SMART LOCK SYSTEM” is the bonafide work of
“V.NAVINKARTHICK(950521106013),I.SAKTHIVEL(950521106018),
M.YOGESHWARAN (950521106030)” who carried out the mini project work under my
supervision.

SIGNATURE SIGNATURE
Dr. A. BENO Dr. S. DARWIN
HEAD OF SUPERVISOR
THE DEPARTMENT
Associate Professor Associate Professor
Department of Electronics and Department of Electronics and
Communication Engineering Communication Engineering
Dr.Sivanthi Aditanar College of Dr.Sivanthi Aditanar College of
Engineering Engineering
Tiruchendur - 628 215 Tiruchendur - 628 215

This project report is submitted for the Mini Project Work (ET3491) Lab Examination of Anna
University, Chennai, May 2024, conducted at Dr. Sivanthi Aditanar College of Engineering,
Tiruchendur on

INTERNAL EXAMINER EXTERNAL EXAMINER

ii
ACKNOWLEDGEMENT

We have immense pleasure in undertaking this project titled “Smart Lock


System”

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 providing the
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, Dr. S. Darwin,


M.E., Ph.D., 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 project.
we sincerely thank all the Faculty Members, Staff Members, and our friends
for their various ideas, contributions, and generous support

iii
ABSTRACT

This project proposes the development of a smart lock system using an Arduino

microcontroller, a solenoid valve relay, and a 4x3 keypad. The system aims to provide a

secure and convenient way to control access to a door or any other locking mechanism. The

proposed system integrates a keypad for user input and an Arduino microcontroller for

processing the input and controlling the solenoid valve relay, which in turn locks or unlocks

the door. The user interface is based on a 4x3 keypad, allowing users to input a predefined

code to unlock the door. The Arduino microcontroller processes the input from the keypad

and compares it with the predefined code. If the input matches the code, the microcontroller

activates the solenoid valve relay to unlock the door. Otherwise, the door remains locked.

This smart lock system offers an efficient and reliable solution for access control, suitable for

both residential and commercial applications. Additionally, it provides flexibility for users to

easily change the access code as needed, enhancing security..

iv
TABLEOFCONTENTS

CHAPTER NO. TITLE PAGE NO.

ABSTRACT iv

LIST OF FIGURES vi

1. OBJECTIVE 1

2. COMPONENTS REQUIRED 1

3. WORKING PRINCIPLE 2

3.1 BLOCK DIAGRAM 2

3.2 EXPLANATION 3

4. OUTPUT 6

5. RESULT 7

LIST S.NO TITLE PAGE


NO
OF

1 Block Diagram 2

2 Displayed the output 6

3 Output When Enter the Correct Password 7

v
FIGURES

vi
vii
OBJECTIVE:

The objective of this project is to create a smart lock system using an Arduino, a 4x3 keypad,
and a solenoid valve relay. The system should allow users to input a passcode via the keypad,
and if the correct passcode is entered, the solenoid valve relay should unlock the door. The
system should also have the ability to manage multiple passcodes and provide feedback to the
user indicating whether the input was successful or not

COMPONENTS REQUIRED:

1. Personal Computer
2. Arduino UNO
3. LCD Display (16 x 2)
4. Solenoid valve
5. Bread Board
6. 12 V Relay
7. Keypad 4x3
8. Connecting Wires
9. 12V DC Adapter

1
WORKING PRINCIPLE:

3.1BLOCK DIAGRAM:

Figure 1: Block diagram

2
3.2 WORKING EXPLANATION :

Smart Lock System using Ardiuno UNO the 4X3 keypad is used to enter the password on 4x3

matrix and lcd display with i2c is used to display the password and enter the password to

demonstrate on digital logic input relay module is used to trigger the solenoid valve if the

password is correct the solenoid valve is open if incorrect solenoid valve is not open

wires. Arduino has many different types of pins, each labeled on the board and used for

different functions.

Arduino Uno: Arduino is an opensource gadgets stage based on easy-to-use equipment and

computer program. Arduino sheets are able to studied inputs - light on sensor, finger on button

or twitter message - and turn it on an yield enacting a engine,turning on an Driven,

distributing something online

LCD Display: LCDs (Liquid Crystal Displays) are used in embedded system applications for

displaying various parameters and status of the system.16×2 LCD is named so because; it has

16 Columns and 2 Rows.

4*4 Keypad: The 4 x 4 Network Keypad Module may be a non-encoded network keypad

comprising of 16 keys in parallel. The keys of each push and column are associated through

the pins exterior – stick R1-R4 as labeled adjacent to control the lines, when C1-C4, the

columns.

3
Relay Module: A 5V hand-off module may be a single or multi-channel transfer module that

works with a low-level trigger voltage of 5V DC. The input voltage before

System Design:

The system operates in the following sequence:

User Input: When a user approaches the door, they are prompted to enter a passcode using

the 4x3 Keypad.

Authentication: The entered passcode is compared with the predefined passcode stored in the

Arduino's memory.

If the entered passcode matches the stored one, the system proceeds to the next step.

If the entered passcode is incorrect, the system denies access and notifies the user with an

audible beep and LED indication.

Unlocking Mechanism: Upon successful authentication, the Arduino sends a signal to the

Solenoid Valve Relay to unlock the door. The solenoid valve is activated, allowing the user

to open the door.

Status Indication: LED indicators provide visual feedback to indicate the system's status.

Implementation Steps:

Hardware Setup:

Connect the 4x3 Keypad to the Arduino board.

4
Connect the Solenoid Valve Relay to the Arduino board.

Connect LEDs and a buzzer for status indication and audible feedback.

Code Implementation:

Initialize the keypad and define the passcode.

Write code to handle user input and compare the entered passcode with the stored one.Control

the Solenoid Valve Relay based on the authentication result.

Implement code for LED and buzzer feedback.

Testing:

Test the system thoroughly to ensure proper functionality.

Test various scenarios including successful and unsuccessful authentication.

Expected Outcome:

Upon entering the correct passcode, the Smart Lock System will unlock the door by activating

the Solenoid Valve Relay. The system will provide visual and audible feedback to the user

indicating the status of the system. If an incorrect passcode is entered, the system will deny

access and provide appropriate feedback. Overall, the system will provide a secure and

reliable method for controlling access to the secured area

system will provide a secure and reliable method for controlling access to the secured area

5
OUTPUT:

Figure 2: Displayed the Output

6
OUTPUT:

Figure 2: Output When Enter the Correct Password

7
RESULT:

Thus the Smart Lock System Using Arduino is Working and executed Successfully

8
APPENDIX

PROGRAM:
#include <Wire.h>

#include <LiquidCrystal_I2C.h>

#include <Keypad.h>

#define Password_Length 5

char Data[Password_Length];

char Master[Password_Length] = "2004";

const byte ROWS = 4;

const byte COLS = 3;

char hexaKeys[ROWS][COLS] = {

{'1', '2', '3'},

{'4', '5', '6'},

{'7', '8', '9'},

{'*', '0', '#'}

};

byte rowPins[ROWS] = {9, 8, 7, 6}; // Adjusted for 4 rows

byte colPins[COLS] = {5, 4, 3}; // Adjusted for 3 columns

Keypad customKeypad = Keypad(makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS);


9
LiquidCrystal_I2C lcd(0x3F, 16, 2); // Address 0x27, 16 columns, 2 rows

int relayPin = 11; // Relay control pin

bool isPasswordCorrect = false;

byte data_count = 0; // Declaration of data_count

void setup() {

pinMode(relayPin, OUTPUT);

digitalWrite(relayPin, LOW); // Ensure relay is initially closed

lcd.init();

lcd.backlight();

lcd.setCursor(0, 0);

lcd.print("Enter Password:");

void loop() {

char customKey = customKeypad.getKey();

if (customKey) {

if (customKey == '#') { // Check if the entered key is the submit key

10
if (strncmp(Data, Master, Password_Length - 1) == 0) { // Compare entered password with

master password

lcd.clear();

lcd.print("Correct Password");

if (!isPasswordCorrect) {

digitalWrite(relayPin, LOW); // Open solenoid valve

isPasswordCorrect = true;

delay(5000); // Keep the solenoid valve open for 5 seconds

digitalWrite(relayPin, HIGH); // Close solenoid valve

isPasswordCorrect = false; // Reset password flag

delay(1000); // Delay for readability

lcd.clear();

lcd.print("Enter Password:");

clearData();

} else {

lcd.clear();

lcd.print("Incorrect Password");

delay(2000); // Delay for readability

lcd.clear();

lcd.print("Enter Password:");

11
clearData();

} else if (data_count < Password_Length - 1) {

Data[data_count++] = customKey; // Add key to password buffer

lcd.setCursor(data_count - 1, 1);

lcd.print('*'); // Display asterisks for entered characters

void clearData() {

for (int i = 0; i < Password_Length; i++) {

Data[i] = '\0';

data_count = 0;

12
13

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