Rfid Based Library System
Rfid Based Library System
Submitted by
21UEC601-WIRELESS COMMUNICATION
In
MARCH 2025
INTRODUCTION:
COMPONENTS REQUIRED
Hardware Components:
Arduino Uno
Buzzer (Optional)
LEDs (Optional)
Connecting Wires
Breadboard
Software Requirements:
Arduino IDE (For coding and uploading programs)
CIRCUIT SETUP:
CODE IMPLEMENTATION :
#include <SPI.h>
#include <MFRC522.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Pin configurations
#define SS_PIN 10 // SDA pin of RFID to Arduino
#define RST_PIN 9 // Reset pin of RFID to Arduino
#define BUZZER_PIN 6 // Buzzer connected to digital pin 6
// Predefined authorized card UID (Replace this with actual tag UID)
byte authorizedUID[] = {0x12, 0x34, 0x56, 0x78};
void setup() {
Serial.begin(9600);
SPI.begin();
rfid.PCD_Init();
pinMode(BUZZER_PIN, OUTPUT);
lcd.begin();
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("RFID Library");
lcd.setCursor(0, 1);
lcd.print("Scan Your Card");
}
void loop() {
// Check if an RFID card is present
if (!rfid.PICC_IsNewCardPresent() || !rfid.PICC_ReadCardSerial()) {
return;
}
Working :
Step 1: System Initialization
When powered on, the Arduino Uno initializes the RFID module and (if
used) the LCD display.
The LCD (if connected) shows "RFID Library - Scan Your Card" as a
prompt.
The system waits for an RFID tag or card to be scanned.
The RFID reader (RC522) detects an RFID card or book tag when it is
placed near the reader.
The unique ID (UID) of the RFID tag is read and sent to the Arduino for
processing.
• The system checks whether the book is already issued or available for
issuance.
• If the book is being returned, the system updates the records accordingly.
• The transaction is logged in the system memory (if applicable).
• The system resets after a few seconds, ready for the next scan.
After processing the RFID tag, the system generates an instant response
based on the scanned data. The result can be classified into two main categories:
successful transactions and failed transactions.
PROJECT IMPLEMENTATION
Applications:
The RFID-Based Library Management System offers numerous
advantages in automating book tracking, reducing human errors, and
improving library efficiency. Below are some of its key applications:
Can be modified to track student entry and exit using RFID ID cards.
Useful in restricted access areas like digital libraries and study rooms.
ADVANTAGES :
Faster Transactions:
Speeds up book issuing and returning by eliminating manual entries.
Improved Security:
Multi-Book Scanning:
Can be linked to digital library databases and IoT platforms for remote
monitoring.
Allows for automated notifications for book returns and due dates.
Conclusion:
The RFID-based Library Management System developed in this project
has demonstrated the potential to revolutionize the way libraries operate. By
leveraging RFID technology, the system provides an efficient, accurate, and
automated way to manage library resources.
Reference:
1. Automatic Identification and Data Capture (AIDC). Retrieved from
http://www.aidc.org/