Mini Project Report
Mini Project Report
PROJECT REPORT ON
Submitted By
Anjali Kumari (1900650310002)
We are pleased to acknowledge Mr. Farhan Aziz Assistant Professor of ECE department, for
their invaluable guidance during the course of the project work. We extend our sincere thanks to
Mr. Vishal Lal Goswami, head of ECE department, who continuously helped us throughout the
project
And without his guidance, this project would have been an uphill task. We are also grateful to
other members of the ECE department, who co-operated with us regarding some issues. Last but
not the least, Mr. Satyendra Pal, lab assistant co-operated with us nicely for the smooth
development of this project.
Anjali Kumari
(1900650310002)
CERTIFICATE
This is certified that Anjali Kumari have carried out the project work presented in this report
entitled “PASSWORD BASED SECURITY SYSTEM” for the award of BACHELOR OF
TECHNOLOGY (ELECTRONICS & COMMUNICATION ENGINEERING) from Dr. A.P.J.
Abdul Kalam Technical University, Lucknow under my supervision. The report embodies result
of original work and studies carried out by students themselves.
Date:-
ACKNOWLEGMENT……………………………………………………………………………i.
CERTIFICATE…………………………………………………………………………………...ii.
CHAPTER 1………………………………………………………………………………………1
INTRODUCTION………………………………………………………………………………..1
CHAPTER 2………………………………………………………………………………...…….2
COMPONENTS USED…………………………………………………………………………...2
CHAPTER 3……………………………………………………………………………………....3
DESCRIPTION OF COMPONENTS……………………………………………………………3
3.2. KEYPAD……………………………………………………………………………….....3
3.4. POTENTIOMETER………………………………………………………………………4
CHAPTER 4………………………………………………………………………………………8
CIRCUIT DIAGRAM………………………………………………………………………….....8
CHAPTER 5………………………………………………………………………………………9
5.2. CONNECTIONS…………………………………………………………………...……..9
5.4. APPLICATIONS………………………………………………………………………...15
CHAPTER 6……………………………………………………………………………………..16
6.1. ADVANTAGES…………………………………………………………………………16
6.2. DISADVANTAGES…….………………………………………………………………16
CHAPTER 7……………………………………………………………………………………..17
REFERENCES…………………………………………………………………………………..17
TABLE OF FIGURES
Password Based Door Lock System using Arduino is a project where a secure password will act
as a door unlocking system. Traditional lock systems using mechanical lock and key mechanism
are being replaced by new advanced techniques of locking system. These techniques are an
integration of mechanical and electronic devices and are highly intelligent. One of the prominent
features of these innovative lock systems is their simplicity and high efficiency.
The project system demonstrates a Password based Door Lock System Arduino, wherein once
the correct code or password is entered, the door is opened and the concerned person is allowed
access to the secured area. Again, if another person arrives, it will ask to enter the password. If
the password is wrong, then door would remain closed, denying access to the person.
Such an automatic lock system consists of electronic control assembly, which controls the output
load through a password. This output load can be a motor or a lamp or any other
mechanical/electrical load.
Circuit of this project contains Arduino, keypad module, Servo Motor, and LCD. Arduino
controls the complete processes like taking a password form the keypad module, comparing
passwords, rotating servo motor, and sending status to the LCD display. The keypad is used for
taking the password. Servo motor is used for opening the gate while rotating and LCD is used for
displaying status or messages on it.
CHAPTER 2
COMPONENTS USED
4 Potentiometer 1K
7 Breadboard -
2. ARDUINO KEYPAD(4x4)
It has 16 pins and the first one from left to right is the Ground pin. The second pin is the
VCC which we connect the 5 volts pin on the Arduino Board.
Next is the Vo pin on which we can attach a potentiometer for controlling the contrast of
the display.
Next, The RS pin or register select pin is used for selecting whether we will send
commands or data to the LCD. Next comes the R / W pin which selects the mode
whether we will read or write to the LCD.
Next is the E pin which enables the writing to the registers, or the next 8 data pins from
D0 to D7. So through this pins we are sending the 8 bits data when we are writing to the
registers.
And the last two pins A and K, or anode and cathode are for the LED back light.
4. POTENTIOMETER
A Servo Motor is a small device that has an output shaft. This shaft can be positioned
to specific angular positions by sending the servo a coded signal. As long as the coded
signal exists on the input line, the servo will maintain the angular position of the shaft. If
the coded signal changes, the angular position of the shaft changes.
6. CONNNECTING WIRES
7. BREAD BOARD
8. POWER SUPPLY
We can power up the Arduino using power supplied from the computer via a USB cable
and/or by using external power sources.
1. Using USB cable
The USB port of the Arduino Uno can be connected to a desktop/laptop.
The Complete circuit diagram for our Arduino based Digital Keypad Door Lock project is shown
below:
WORKING:
The main component in the circuit is Arduino. In this project, a 4×4 Matrix Keypad is used to
enter the password. The password which is entered is compared with the predefined password.
If the entered password is correct, then the system opens the door by rotating door motor and
displays the status of door on LCD. If the password is wrong, then the door is remains closed and
displays “PWD is wrong” on LCD.
CONNECTIONS:
Starting from the brain of the project the Arduino UNO board, is connected to a LCD and a
servo motor. The servo motor is used to push (lock) or pull (unlock) the latch on the door. A
16 x 2 LCD is required to display the message by Arduino, 16 x 2 means it has 16 number of
columns and 2 number of rows.
Here, a 5v SG90 servo motor is used for making for customized door locker. It is a basic level
servo motor and works fine with Arduino
The servo motor is connected with Arduino Digital pin D9 and with a 5volt power supply.
This servo motor has a total of 3 input lines (GND, +5V & SIGNAL LINE).
In this project, a 4 x 4 matrix keypad is used. We need a keypad for password input and
manually lock our customized door locker. It consists of 16 keys (soft switch) 4 keys in Rows
(R1, R2, R3, R4) and 4 keys in Columns (C1, C2, C3, C4) when a key pressed, it establishes a
connection in between the corresponding rows and columns.
KEYPAD ARDUINO
To connect the servo motor with the Arduino, use digital pin D9 of Arduino to output the PWM
pin of the servo motor.
The code for Password Based Door Lock Security System Using Arduino & Keypad can be done
using Arduino IDE.
#include <Keypad.h>
#include <LiquidCrystal.h>
#include <Servo.h>
Servo myservo;
#define Password_Lenght 7 // Give enough room for six chars + NULL char
char Data[Password_Lenght]; // 6 is the number of chars it can hold + the null char = 7
bool Pass_is_good;
char customKey;
char keys[ROWS][COLS] = {
{'1','2','3','A'},
{'4','5','6','B'},
{'7','8','9','C'},
{'*','0','#','D'},
};
void setup()
myservo.attach(11);
ServoClose();
lcd.begin(16, 2);
lcd.setCursor(0, 1);
lcd.print("--Look project--");
delay(3000);
lcd.clear();
void loop()
if (door == 0)
{
customKey = customKeypad.getKey();
if (customKey == '#')
lcd.clear();
ServoClose();
delay(3000);
door = 1;
else Open();
void clearData()
while (data_count != 0)
return;
}
void ServoOpen()
for (pos = 180; pos >= 0; pos -= 5) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
void ServoClose()
for (pos = 0; pos <= 180; pos += 5) { // goes from 180 degrees to 0 degrees
void Open()
lcd.setCursor(0, 0);
customKey = customKeypad.getKey();
data_count++; // increment data array by 1 to store new char, also keep track of the number of
chars entered
lcd.clear();
ServoOpen();
door = 0;
else
lcd.clear();
delay(1000);
door = 1;
clearData();
APPLICATIONS:
This simple circuit can be used at residential places to ensure better safety.
It can be used at organizations to ensure authorized access to highly secured places.
With a slight modification this Project can be used to control the switching of loads
through password.
CHAPTER 6
ADVANTAGES & DISADVANTAGES
ADVANTAGES:
CHAPTER 7
REFERENCES
www.how2electronics.com
www.electronicshub.org
www.create.arduino.cc
www.circuitdigest.com
www.technobyte.org
www.store.arduino.cc
www.learn.adafruit.com
www.en.wikipedia.org