"Rfid Door Lock Control System": Visvesvaraya Technological University

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 29

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

JNANA SANGAMA, BELAGAVI – 590014

A Project report on

“RFID DOOR LOCK CONTROL SYSTEM”

Submitted for partial fulfillment of the requirements for the award of degree of

BACHELOR OF ENGINEERING
IN
ELECTRONICS AND COMMUNICATION ENGINEERING

Submitted by:
1.MOHAMMED SHAHID KURUGOD - 3PG19EC012
2.VEVINA STANLEY -3PG19EC023
3.MOHAMMED AHAD -3PG18EC012

Under the Guidance of


PROF. VEENA A
Designation of the Guide

DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

PROUDHADEVARAYA INSTITUTE OF TECHNOLOGY, HOSAPETE-


583201.
(Affiliated to VTU, Belagavi, Karnataka, Recognized by AICTE, New Delhi)
2021-2022
RFID DOOR LOCK CONTROL SYSTEM

PROUDHADEVARAYA INSTITUTE OF TECHNOLOGY, HOSAPETE-


583201.
(Affiliated to VTU, Belagavi, Karnataka, Recognized by AICTE, New
Delhi)
2021-2022

CERTIFICATE
The is to certify that the technical seminar report on the current topic entitled
“RFID DOOR LOCK CONTROL SYSTEM” has been successfully carried
out by MOHAMMED SHAHID KURUGOD (3PG19EC012) , VEVINA
STANLEY (3PG19EC023) and MOHAMMED AHAD (3PG18EC012) in
partial fulfilment for the award of bachelor of engineering in ECE of the VTU
BELAGAV during the academic year 2021-2022.The Mini Project report has
been approved ,as it satisfies the academic requirements in respect of technical
seminar on current topic prescribed for B . E Degree.

Signature of guide Signature of Co-ordinator Signature of HOD

VEENA A DR. G C MANJUNATH DR. ROHITH UM

Signature of Co-ordinator

Prof. Kiran V P

External Exam:
1.Examiner 1:
2.Examiner 2:

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

Institute Vision: VI1: To become premier institute in imparting technical education


by creating competent engineers having dynamic adaptability with high morals and
concern towards environment and society.

Institute Mission:

MI1: Promote active learning strategies to facilitate student centric earning.

MI2: Provide self learning capabilities to enhance employability and entrepreneurial


skills.

MI3: Inculcate human values and ethics to make learners sensitive towards social
issues.

Vision of the Department:

VDI: To impart quality education for creating globally competent, socially responsible
and ethically sound Electronic Engineers.

Mission of the Department:

MDI: To impart core engineering skills in Electronics and Communication


Engineering through effective teaching-learning practices.

MD2: To provide academic environment that promotes creative thinking, team work
and research.

MD3: To enable the graduates to face societal challenges and provide holistic
solutions. Programme

Educational Objectives (PEOs): PEO1: Solve engineering problems by applying the


knowledge of mathematics, science and & communication engineering

PEO2: Analyse, design and create innovation and sustainable solutions to real life
problems to cater the social needs

PEO3: Inculcate the life learning abilities, professional attributes, ethics, effective
communication and managerial skills to work in multidisciplinary environment.

Programme Specific Objectives (PSO): The graduates of the department will attain

PSO1: Ability to apply the knowledge of Electronics and Communication Engineering


to get employed in information and communication-based industries and to become a
successful entrepreneur.

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM
PSO2: Ability to use hardware and software tools to analyse, design and develop
electronic and communication systems.

DECLARATION

MOHAMMED SHAHID KURUGOD ,VEVINA STANLEY and


MOHAMMED AHAD students of B.E in the Department of Electronics and
Communication Engineering PDIT,HOSPET. Hereby declare that the Mini
project titled RFID DOOR LOCK CONTROL SYSTEM has been carried
out under the supervision of Prof. Veena A ,Dept of ECE, PDIT and submitted
in partial fulfilment of the requirement for the award of degree in bachelor of
engineering in ECE of VTU Belagavi during academic year 2021 – 2022.

1.MOHAMMED SHAHID KURUGOD - 3PG19EC012


2.VEVINA STANLEY -3PG19EC023
3.MOHAMMED AHAD -3PG18EC012

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

ACKNOWLEDGEMENT

We express a deep sense of gratitude to our guide Prof. VEENA A, Department


of Electronics and Communication Engineering, PDIT ,Hosapete ,for her
valuable guidance and suggestions imparted at various stages in carrying out
this mini project work successfully.

I would like to add a few words to express our thanks to Prof. Rohit U.M., HOD
of the Electronics and Communication Engineering , PDIT ,Hosapete for their
valuable advice from time to time.

I am grateful to Dr. S.M. Shashidhar , Principal , PDIT ,Hosapete for having


provided us with an excellent academic environment that has nurtured our
practical skills and for kindly obliging the requests and providing timely
assistance.

I express my sincere thanks to all the faculty and staff members of the
Department of Electronics and Communication Engineering, PDIT , Hosapete ,
for their kind and constant support throughout the Mini Project Work.

I would like to thank the Almighty, who has always guided me to work on the
right path in life. My greatest thanks are to my parents who bestowed the ability
and strength in me to complete this work.

We are also thankful to the authors whose work has been consulted, utilized and
cited in this report. Words are often less to reveal ones true regards. An
understanding of work like this is never the outcome of the efforts of a single
person. I take this opportunity to express my profound sense of gratitude and
respect to all those who helped me in all the ways throughout this project

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

ABSTRACT

In this project, we developed an automated door lock access


system based on RFID (Radio Frequency Identification)
technology. It can make gate operations more effective.

Many container terminals all over the world strive to be mega-hub


port through improving efficiency of terminal operation with high

Not only operating equipments in container terminal, but also


container terminal gates are introducing state-of-the-art
technologies in order to develop an effective gate system. This
study focuses on an automation of identification task at gate.

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

INDEX

CHAPTER NUMBER CHAPTER NAME

CHAPTER 1 INTRODUCTION

CHAPTER 2 CIRCUIT DIAGRAM

CHAPTER 3 WORKING

CHAPTER 4 LIST OF COMPONENTS AND THEIR


DESCRIPION

CHAPTER 5 SOFTWARE IMPEMENTATION

CHAPTER 6 ADVANTAGES
AND
DISADVANTAGES

CHAPTER 7 APPLICATIONS

CHAPTER 8 CONCLUTION

CHAPTER 9 SCOPE OF THE PROJECT

CHAPTER 10 OBJECTIVES

CHAPTER 11 RESULT

CHAPTER 12 REFERENCES

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM
CHAPTER 1
INTRODUCTION

RFID, Radio Frequency Identification is a central and cheap innovation that


empowers remote information transmission. This innovation has not been all the
time utilized as a part of industry because of absence of institutionalization
among the assembling organizations prior.

RFID advances are productive and secure contrast with other system. With
RFID, remote programmed recognizable proof takes a certain frame: the
question, area, or individual is set apart with a remarkable identifier code
contained with a RFID tag, which is somehow connected to or implanted in the
objective. RFID isn't solitary item however a complete framework, an ordinary
RFID framework incorporate three essential components like RFID tag, peruser
and back-end application framework, which requests the help of the PC
organizer.

A RFID peruser produces a low-level radio recurrence attractive field that


empowers the tag. The label reacts to the peruser's inquiry and reports its quality
through radio waves, transmitting its interesting ID information. This
information is decoded by the peruser and go to the nearby application
framework by means of middleware. The middleware goes about as an interface
between the peruser and the RFID application framework. The framework at
that point looks and matches the personality code with data put away in the host
database or backend framework.

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM
CHAPTER 2
CIRCUIT DIAGRAM

2.CIRCUIT DIAGRAM

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

CHAPTER 3
WORKING

When power is ON this door locks, the servo motor activates and pushes the
door lock forward. Also displayed as “Welcome, put your card” on the LCD.
Then when the RFID tag is moved closer to the RFID reader, it is scanned. In
that case, it is displayed as “scanning” on the LCD. Then, if the RFID tag is
correct, the servo motor is activated and the door lock is pulled back. The LCD
shows “Door is Open”.  When the RFID tag is moved closer to the RFID reader
again, if it gets the correct tag, the servo motor will push the lock forward.
Displays “Door is locked” on LCD. If a wrong RFID tag is used according to
the program, it will be displayed as “Wrong card” on the LCD.

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

CHAPTER 5
LIST OF COMPONENTS AND ITS DESCRIPTION

5.1 Arduino UNO board


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, or a Twitter message - 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. To do so you use the  Arduino programming language  (based
on Wiring), and the Arduino Software (IDE), based on processing.

Features:
 Microcontroller: ATmega328.
 Operating Voltage: 5V.
 Input Voltage (recommended): 7-12V.
 Input Voltage (limits): 6-20V.
 Digital I/O Pins: 14 (of which 6 provide PWM output)
 Analog Input Pins: 6.
 DC Current per I/O Pin: 40 mA.
 DC Current for 3.3V Pin: 50 mA.

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM
5.2 RFID module

An RFID or Radio Frequency Identification system consists of two main


components, a tag attached to the object to be identified, and a reader that reads
the tag.

A reader consists of a Radio Frequency Module and an antenna that generates a


high frequency electromagnetic field. Whereas the tag is usually a passive
device (it does not have a battery). It consists of a microchip that stores and
processes information, and an antenna for receiving and transmitting a signal.

Features:
 It is able to Read and Write data without direct contact.

 By "combining an item with its information", a highly pliable and


reliable system configuration becomes possible.

 With the adoption of space transmission technology and protocols,


highly reliable communication is made possible.

 Reading and writing is possible without line of sight, using electric and
electromagnetic wave transmission.

 Can simultaneously access information of multiple RF tags.

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

5.3 LCD display


A 16x2 LCD means it can display 16 characters per line and there are 2 such
lines. In this LCD each character is displayed in 5x7 pixel matrix. The 16 x 2
intelligent alphanumeric dot matrix display is capable of displaying 224
different characters and symbols. This LCD has two registers, namely,
Command and Data.

Features :
 The operating voltage of this LCD is 4.7V - 5.3V.

 It includes two rows where each row can produce 16-characters.

 The utilization of current is 1mA with no backlight.

 Every character can be built with a 5×8 pixel box.


 The alphanumeric LCDs alphabets & numbers.

LCD DISPLAY

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

5.4 I2C module


I2C Module has an inbuilt PCF8574 I2C chip that converts I2C serial data to
parallel data for the LCD display.        
These modules are currently supplied with a default I2C address of either 0x27
or 0x3F. To determine which version you have checked the black I2C adaptor
board on the underside of the module. If there are 3 sets of pads labelled A0,
A1, & A2 then the default address will be 0x3F. If there are no pads the default
address will be 0x27.
The module has a contrast adjustment point on the underside of the display.
This may require adjustment for the screen to display text correctly. 

Features :
 Operating Voltage: 5V
 Backlight and Contrast is adjusted by potentiometer
 Serial I2C control of LCD display using PCF8574
comes with 2 IIC interface, which can be connected by Dupont Line or
IIC dedicated cable.
 Compatible for 16x2 LCD
 This is another great IIC/I2C/TWI/SPI Serial Interface

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM
 With this I2C interface module, you will be able to realize data display
via only 2 wires.

I2C MODULE

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

5.5 Servo motor


A servo motor is a rotary actuator that allows for precise control of angular
position. It consists of a motor coupled to a sensor for position feedback. It also
requires a servo drive to complete the system. The drive uses the feedback
sensor to precisely control the rotary position of the motor.

Features :
The servo motor is specialized for high-response, high-precision positioning.
As a motor capable of accurate rotation angle and speed control, it can be used
for a variety of equipment. A rotation detector (encoder) is mounted on the
motor and feeds the rotation position/speed of the motor shaft back to the driver.

SERVO MOTOR

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

5.6 DOOR LOCK

5.7 IRON STICK

5.8 JUMPER WIRES

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM
CHAPTER 6
SOFTWARE IMPLEMENTATION(TO SCAN UR ID)
#include <LiquidCrystal_I2C.h>

#include <SPI.h>
#include <MFRC522.h>

#define RST_PIN 9
#define SS_PIN 10
byte readCard[4];
byte a = 0;

LiquidCrystal_I2C lcd(0x27, 16, 2);


MFRC522 mfrc522(SS_PIN, RST_PIN);

void setup() {
Serial.begin(9600);
lcd.init();
lcd.backlight();
while (!Serial);
SPI.begin();
mfrc522.PCD_Init();
delay(4);
mfrc522.PCD_DumpVersionToSerial();
lcd.setCursor(2, 0);
lcd.print("Put your card");
}

void loop() {
if ( ! mfrc522.PICC_IsNewCardPresent()) {
return 0;
}
if ( ! mfrc522.PICC_ReadCardSerial()) {
return 0;
}

lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Scanned UID");
a = 0;
Serial.println(F("Scanned PICC's UID:"));
for ( uint8_t i = 0; i < 4; i++) { //
readCard[i] = mfrc522.uid.uidByte[i];
Serial.print(readCard[i], HEX);
Serial.print(" ");
lcd.setCursor(a, 1);
lcd.print(readCard[i], HEX);
lcd.print(" ");
delay(500);
a += 3;
}
Serial.println("");
mfrc522.PICC_HaltA();
return 1;

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

The main program for this project:

#include <Servo.h>
#include <LiquidCrystal_I2C.h>
#include <SPI.h>
#include <MFRC522.h>

#define SS_PIN 10
#define RST_PIN 9
String UID = "";
byte lock = 0;

Servo servo;
LiquidCrystal_I2C lcd(0x27, 16, 2);
MFRC522 rfid(SS_PIN, RST_PIN);

void setup() {
Serial.begin(9600);
servo.write(70);
lcd.init();
lcd.backlight();
servo.attach(3);
SPI.begin();
rfid.PCD_Init();
}

void loop() {
lcd.setCursor(4, 0);
lcd.print("Welcome!");
lcd.setCursor(1, 1);
lcd.print("Put your card");

if ( ! rfid.PICC_IsNewCardPresent())
return;
if ( ! rfid.PICC_ReadCardSerial())
return;

lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Scanning");
Serial.print("NUID tag is :");

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM
String ID = "";
for (byte i = 0; i < rfid.uid.size; i++) {
lcd.print(".");
ID.concat(String(rfid.uid.uidByte[i] < 0x10 ? " 0" : " "));
ID.concat(String(rfid.uid.uidByte[i], HEX));
delay(300);
}
ID.toUpperCase();

if (ID.substring(1) == UID && lock == 0 ) {


servo.write(70);
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Door is locked");
delay(1500);
lcd.clear();
lock = 1;
} else if (ID.substring(1) == UID && lock == 1 ) {
servo.write(160);
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Door is open");
delay(1500);
lcd.clear();
lock = 0;
} else {
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Wrong card!");
delay(1500);
lcd.clear();
}
}

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM
CHAPTER 7
ADVANTAGES AND DISADVANTAGES

Advantages :
 Contactless entry experience
 Easy to configure
 More secure
 Video surveillance at the door
 Increased awareness
 Low maintenance cost

Disadvantages:
 Hacker Alert
 Power shortage usage
 More involved and more expensive to setup

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

CHAPTER 8
APPLICATIONS

 Security
 Asset tracking
 Inventory detection
 People tracking
 Access control applications

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

CHAPTER 9
CONCLUSION

The door locking system functions in real time as when the user put the tag in
contact with the reader, the door open and the check-in information is stored in
central server along with basic information of the user.

In this study, we used passive RFID to construct a digital security system that
includes a door lock mechanism. When the user places the tag in contact with
the scanner, the door locking system activates in real time.

One of the most pressing issues of business owners in the modern period is the
safety and security of customers, staff, and the overall firm. All business owners
deal with lost keys, thievery, and forgotten pins on a daily basis. RFID locker
locks are a fantastic answer to these issues.

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

CHAPTER 10
SCOPE OF THE PROJECT

 It depends upon how original one was able to enhance the use of this
paper.
 But by us this paper is practical for future uses such as Smart car can be
interfaced with wireless technologies to make it completely portable in
the near future.
 Payment of bills using mobile can be implemented. A low cost RFID
scanner can be manufactured and used which can scan multiple tags
(products) simultaneously for faster processing and lesser resources.
 Automatic scanning & availability of products can be introduced. Pay
preparation feature will be the latest trend in upcoming years due to the
boost in the ecommerce industry. E.g.:

a) In malls for generating bills without standing in queue.

b) Gaming zone

c) Environmental problems to control and make nature friendly.

d) Uses in ATM machines

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

CHAPTERSS 11
OBJECTIVES

In this paper, the proposed security system contains gate locking system using
passive type of RFID. The system stores all the necessary information about the
user. A new user is first registered with the system and the corresponding
information is burn in RFID tag.

This RFID tag will be accessible through the system. When a registered user
comes to the entry point, and put the tag into reader, the system checks whether
it is registered user or imposter. If the user is registered one then the tab
information is matched with the user information stored in system. The gate is
open to entry of the user after successful authentication and close automatically
after a specified time interval.

The principle target of this framework is to plan and execute an advanced


security framework which can convey in secured zone where just credible
individual can be entered. We actualized a security framework containing
entryway locking framework utilizing uninvolved sort of RFID which can
actuate, confirm, and approve the client and open the entryway progressively
for secure access. The upside of utilizing detached RFID is that it capacities
without a battery and inactive labels are lighter and are more affordable than the
dynamic labels. A concentrated framework deals with the controlling, exchange
and activity errand. The entryway securing framework works ongoing as the
entryway open immediately when client put their tag in contact of peruser.

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

CHAPTER 12
RESULT

The system is developed in such a way that it provides a quick response to the
user and enhances the use of simple technologies in an efficient manner.

Now coming to the working, the system consists of a unique security key access
card which is saved in the system database and it will allow the user to go
through the gate only if the unique key card is detected.

we can see all the components connected in their respective ports and the
display also works remarkably.

We can see all the components and also we can identify them.

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

CHAPTER - 13
REFERENCE

 Arduino UNO board:


https://amzn.eu/d/17t1gWl
 RFID module:
https://amzn.eu/d/0Gdaa7S
 LCD display:
 https://amzn.eu/d/faA6lnc
 I2C module:
https://amzn.eu/d/gMsCGer
 JUMPER WIRES :
https://dl.flipkart.com/dl/epro-labs-120-pieces-jumper-wire-set-40-m-m-
m-f-f-f-wires/p/itmen7hph9v2muqk?
pid=ETYEN7HZSGKZ4GHR&cmpid=product.share.pp&_refId=PP.a12
07c0d-f495-4d63-bc38-
0b4496f85e43.ETYEN7HZSGKZ4GHR&_appId=WA

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

Dept. OF ECE ,PDIT ,HOSPET


RFID DOOR LOCK CONTROL SYSTEM

Dept. OF ECE ,PDIT ,HOSPET

You might also like