Professional Documents
Culture Documents
By
Raj Kumar Jarugulla (154223)
Charan Junnu (154224)
Vithal Kaligotla (154225)
Manasa Kanaparthi (154226)
Submitted to:
Dr.K. Prakash
Assistant Professor
This is to certify that the undersigned students of IV/IV B. Tech Section – B, Electronics
and Communication Engineering Branch, have completed their mini project titled - “Door
INSTRUMENTATION LAB.
(Dr. K. Prakash)
Assistant Professor in ECE
2
Table of Contents
1. Title Page 1
2. Certificate 2
3. Contents 3
4. Abstract 4
5. Theory 5
6. Circuit diagram 6
7. Components Required 6
8. Interfacings 7
9. Code 9
10.Working 12
12. Applications 13
3
Abstract
It is similar to that of bar codes or magnetic strips i.e. they all provide unique
identification system. The data retrieving operation is also similar to the other two technologies.
RFID devices must be scanned or swiped against their readers for retrieving the data.
The advantage of RFID technology over bar codes or magnetic strips is that RFID
doesn’t need any physical contact as in case of magnetic strips (ATM or credit cards) or needn’t
be placed in a particular position as in case of bar codes.
In this project, an Arduino UNO board is interfaced with an RFID Reader Module in
order to process the data or information retrieved from the RFID Card or Tag.
4
Theory:
RFID:
RFID tag:
An RFID tag consists of an integrated circuit and an antenna. The tag is also composed
of a protective material that holds the pieces together and shields them from various
environmental conditions. The protective material depends on the application. For example,
employee ID badges containing RFID tags are typically made from durable plastic, and the tag
is embedded between the layers of plastic. RFID tags come in a variety of shapes and sizes and
are either passive or active. Passive tags are the most widely used, as they are smaller and less
expensive to implement. Passive tags must be powered up by the RFID reader before they can
transmit data. Unlike passive tags, active RFID tags have an onboard power supply e.g., a
battery, thereby enabling them to transmit data at all times.
5
Circuit Diagram:
Components Required:
• RFID reader
• RFID tag
• Arduino
• Piezo buzzer
• Servo motor
• Breadboard
• Jumper wires
6
Interfacings:
7
C. Servo Motor Interface:
8
D.LED Interface:
Code:
#include<Servo.h>
#define LED1 2
#define LED2 3
Servo myservo;
int pos = 0;
9
MFRC522 mfrc522(pinSDA, pinRST); // Set up mfrc522 on the Arduino
void setup() {
pinMode(LED1 ,OUTPUT );
pinMode(LED2 ,OUTPUT );
myservo.attach(5);
void loop() {
Serial.print(" ");
if (mfrc522.uid.uidByte[3]== card1[3])
{ digitalWrite(LED1,HIGH);
delay(100);
10
digitalWrite(LED1,LOW);
delay(100);Serial.print("STOP");}
myservo.write(0); delay(1000);
digitalWrite(LED2,HIGH);
delay(100);
digitalWrite(LED2,LOW);
myservo.write(90); }
11
Working:
This project is simply analogous to lock and key, the only difference here is no physical
contact or swipe is required. Working of this project is as follows
• The reader scans the tag when tag is brought in close proximity to it.
• When a correct card (master key) is scanned, door(motor) is opened for a brief period,
precisely four blinks of green LED, giving the user ample time to pass through, after
that door closes automatically.
• When wrong card is scanned, the door doesn’t open, alert red-light sign is given and
alarm goes off indicating illegal entry.
In this project, we have implemented Arduino based Door Locking system using RFID.
When a right RFID tag is scanned servo motor rotates 90 degrees i.e. door is opened and green
LED blinks and closes automatically. When a wrong RFID tag is scanned door remains in lock
state, buzzer goes off and red LED blinks. The entry data is logged in a .csv file to keep track
of the entries over time.
12
Applications of RFID:
a. Asset Tracking:
b. People Tracking:
• It will be mainly very useful in mental care hospitals where doctors can track every
activity of the patient. Hospitals also use these RFID tags for locating and tracking all the
activities of the newly born babies.
c. Document tracking:
d. Government Library:
Many government libraries use barcode and electromagnetic strips to track various
assets. RFID powered barcode reader can read multiple items simultaneously. This reduces
queues and increases the number of customers.
e. Healthcare:
RFID wristbands records patient’s medication history and reduces medication errors.
f. Other Applications
• Attendance system
13