Report On RFID Attendance System
Report On RFID Attendance System
on
Plot No.2, KP-III, Greater Noida - 201306, G.B. Nagar, U.P., India
February, 2025
Contents
Page No.
Contents……….……..………………………………...…………………………..i
Declaration………….………………………………..………………..…………iii
Certificate………..……………………………………………………………….iv
Acknowledgement…………………………….……………………..……….…..v
Abstract………………..………………………………..……………………..…vi
List of Figures……..…………………………..……………………………...…vii
1.1. Introduction……………………………………….........………………1
4.2. Result..……………………………………..………..……………..…20
i
5. Chapter 5:- Advantages & Disadvantages…………………..……………...18
6. Application…………………………………………...……………………….19
8. Reference………………………………………………….......………………21
ii
Student Declaration
iii
Certificate
This is to certify that a report entitled “RFID ATTENDANCES SYSTEM” being
submitted by Nidhi Yadav (Admission No. 2411), Harsh Mani Tripathi (Admission
No. 2405) & Aditya Prakash (Admission No. 2408) in partial fulfilment of the
requirement for the award of degree B.Tech in Electronics & Communication
Engineering at GL Bajaj Institute of Engineering & Technology Gr. Noida affiliated
to AKTU Lucknow U.P. is a record of the candidates own work carried out under
my supervision and guidance. To the best of my knowledge, the matter embodied
in this report has not been submitted to any University/Institute for the partial
fulfilment of any degree.
ECE Dept., GLBITM Gr. Noida, U.P. India GLBITM Gr. Noida, U.P. India
iv
Acknowledgement
It gives us a great sense of pleasure to present the report of the B. Tech Project
undertaken during B. Tech. Second Year. We owe special debt of gratitude to DR
RAHUL DEV, Department of ECE, GLBITM Gr. Noida for his constant support
and guidance throughout the course of our work. His sincerity, thoroughness and
perseverance have been a constant source of inspiration for us. It is only his
cognizant efforts that our endeavors have seen light of the day.
We also do not like to miss the opportunity to acknowledge the contribution of all
faculty members of the ECE-department for their kind assistance and cooperation
during the development of our project. Last but not the least, we acknowledge our
friends for their contribution in the completion of the project.
v
Abstract
The RFID-Based Attendance System is an advanced, efficient, and reliable solution
designed to automate attendance tracking using RFID (Radio Frequency
Identification) technology. This system replaces traditional manual or biometric
attendance methods with a contactless, fast, and secure approach.
The system consists of RFID tags, which are assigned to individuals, and an RFID
reader that scans these tags upon entry or exit. The Node MCU ESP8266
microcontroller processes the scanned data and communicates with a database to
record attendance in real time. A 16×2 LCD display provides instant feedback by
displaying the student’s name or ID upon successful authentication. Additionally, a
5V buzzer provides an auditory confirmation of attendance marking. The entire
setup is interconnected using connecting wires, ensuring smooth data transmission.
vi
List of Figures
Page No.
vii
CHAPTER 1
1.1. Introduction
1.2. Motivation
This system utilizes an RFID Tag for user identification, an RFID Reader
for scanning, and a Node MCU ESP8266 microcontroller for data
processing. A 16×2 LCD Display provides real-time status updates, while a
5V Buzzer confirms successful attendance marking. All components are
seamlessly connected using wires, ensuring smooth operation.
1
attendance records. A 16x2 LCD display provides real-time feedback,
showing the scanned ID and attendance status, while a 5V buzzer confirms
a successful entry. Connecting wires integrate all components for seamless
operation. This system enhances accuracy, eliminates manual errors, and
ensures a secure, reliable attendance-tracking solution.
2
CHAPTER 2
Components, System Design & Working Principle
• RFID Reader
3
• NODE MCU 8266 Microcontroller
5
• Buzzer
• Wires
Fig.2.5 Wires
7
2.3 Working Principle
The RFID-based attendance system integrates several components to automate and
simplify attendance tracking. Here’s a detailed explanation of how each component
works together:
1. RFID Reader:
• Role: The RFID reader is responsible for detecting the RFID tag when it is
placed near it.
• Working:
o The reader emits a radio frequency (RF) signal to activate the nearby
RFID tag (which contains a unique ID stored in its memory).
o The RFID reader receives the tag’s ID and forwards it to the Node
MCU 8266 microcontroller for further processing.
• Role: This is the heart of the system. It processes the RFID tag data and
controls the rest of the components.
• Working:
o Once the RFID reader transmits the tag’s unique ID, the Node MCU
8266 microcontroller receives this data.
8
o If the tag ID matches an existing record, the microcontroller marks
the student as present.
o It then sends an output to the LCD display to show the status (e.g.,
“Attendance Marked”) and triggers the 5V buzzer to provide an
audible confirmation.
• Role: Provides visual feedback to the user, indicating the result of the RFID
scan.
• Working:
o After the Node MCU 8266 processes the RFID tag data, it sends
information to the 16x2 LCD display.
4. 5V Buzzer:
• Role: Provides an audible signal to confirm that the RFID scan was
successful or needs attention.
• Working:
o After the Node MCU 8266 microcontroller processes the RFID tag
data, if the scan is successful, the microcontroller sends a signal to
the 5V buzzer.
9
5. Connecting Wires:
• Working:
o Connecting wires are used to link the RFID reader, Node MCU
8266, LCD display, and 5V buzzer together.
o They ensure that the microcontroller can receive data from the RFID
reader and send signals to the display and buzzer to indicate the
status.
10
CHAPTER 3
Experimental Code
#include <SPI.h>
#include <MFRC522.h>
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClient.h>
#include <WiFiClientSecureBearSSL.h>
// Fingerprint for demo URL, expires on June 2, 2021, needs to be updated well
before this date
const uint8_t fingerprint[20] = {0x4a, 0x2e, 0xb2, 0xa8, 0x29, 0x12, 0x9a, 0xca,
0xac, 0xe1, 0xe0, 0xf4, 0xa0, 0x6c, 0x74, 0x4b, 0x4b, 0x7d, 0x5b, 0xab};
// 4a 2e b2 a8 29 12 9a ca ac e1 e0 f4 a0 6c 74 4b 4b 7d 5b ab
MFRC522::MIFARE_Key key;
11
ESP8266WiFiMulti WiFiMulti;
MFRC522::StatusCode status;
int blockNum = 2;
/* Legthn of buffer should be 2 Bytes more than the size of Block (16 Bytes) */
byte readBlockData[18];
String data2;
void setup()
Serial.begin(9600);
// Serial.setDebugOutput(true);
Serial.println();
Serial.println();
Serial.println();
12
Serial.flush();
delay(1000);
WiFi.mode(WIFI_STA);
WiFiMulti.addAP("BholeBaba", "12345678");
pinMode(BUZZER, OUTPUT);
SPI.begin();
void loop()
mfrc522.PCD_Init();
if ( ! mfrc522.PICC_IsNewCardPresent())
return;
if ( ! mfrc522.PICC_ReadCardSerial())
13
{
return;
Serial.println();
ReadDataFromBlock(blockNum, readBlockData);
/* If you want to print the full memory dump, uncomment the next line */
//mfrc522.PICC_DumpToSerial(&(mfrc522.uid));
Serial.println();
Serial.print(blockNum);
Serial.write(readBlockData[j]);
Serial.println();
digitalWrite(BUZZER, HIGH);
delay(200);
digitalWrite(BUZZER, LOW);
14
delay(200);
digitalWrite(BUZZER, HIGH);
delay(200);
digitalWrite(BUZZER, LOW);
if ((WiFiMulti.run() == WL_CONNECTED))
std::unique_ptr<BearSSL::WiFiClientSecure>client(new
BearSSL::WiFiClientSecure);
client->setFingerprint(fingerprint);
// Or, if you happy to ignore the SSL certificate, then use the following line
instead:
// client->setInsecure();
data2.trim();
Serial.println(data2);
HTTPClient https;
Serial.print(F("[HTTPS] begin...\n"));
if (https.begin(*client, (String)data2))
// HTTP
Serial.print(F("[HTTPS] GET...\n"));
15
// start connection and send HTTP header
if (httpCode > 0)
// HTTP header has been send and Server response header has been handled
Else {
https.end();
delay(1000);
else
16
void ReadDataFromBlock(int blockNum, byte readBlockData[])
/* All keys are set to FFFFFFFFFFFFh at chip delivery from the factory */
Serial.println("Authentication success");
if (status != MFRC522::STATUS_OK)
Serial.println(mfrc522.GetStatusCodeName(status));
return;
else
17
CHAPTER 4
Experimental Testing
1. RFID Reader
• Data Transmission:
The TX (transmit) pin of the RFID reader connects to the RX (receive) pin
of the Node MCU, and the RX (receive) pin of the RFID reader connects
to the TX (transmit) pin of the Node MCU for data communication.
• Power Supply:
The Node MCU 8266 is powered through the 5V pin from a power supply
or a USB cable. The GND pin is connected to the system ground.
• I/O Pins:
The GPIO pins of the Node MCU are used to interface with other
components like the LCD display and buzzer.
18
3. 16x2 LCD Display
o The D0-D7 pins are connected to the appropriate GPIO pins for
data transfer (usually D1 to D7 pins).
4. 5V Buzzer
5. Connecting Wires
19
4.2. Results
20
CHAPTER 5
Advantages Disadvantages
• Automation • Initial Cost
The RFID system automates the attendance The setup of an RFID system involves an initial
process, reducing the need for manual investment in hardware (RFID tags, readers,
intervention, saving time, and minimizing microcontrollers), which may be high for small
human errors. institutions.
• Accuracy • Technical Issues
RFID technology ensures accurate tracking The system may face issues like signal
of attendance without the risk of proxy interference, malfunctioning of readers, or
attendance or incorrect data entry. problems with the microcontroller, leading to
disruptions.
• Time-Saving • Tag Dependency
Scanning an RFID tag takes only a few If a student loses or forgets their RFID tag, it
seconds, making the attendance process could cause problems in the attendance process,
quicker and more efficient, especially in large requiring manual intervention.
groups.
• Real-time Monitoring • Limited Range
Attendance is updated in real time, providing RFID readers have a limited range, which may
immediate feedback for both students and cause issues if students stand too far from the
instructors. reader or if the reader is not placed optimally.
• Security • Privacy Concerns
Each RFID tag is unique, making it difficult Some users may have concerns about the
to forge or duplicate, which ensures secure tracking of individuals through RFID
attendance management. technology, which may lead to privacy issues.
18
5.2. Application
1. Educational Institutions:
2. Workplaces:
4. Libraries:
19
CHAPTER 6
Conclusion
20
Reference
1. Books & Research Papers:
21