This project is a Library Management System developed in C++ with RFID (Arduino integration). It allows efficient management of books and student records using RFID technology.
The system supports:
- Book issuing and returning
- Student record management
- Fine calculation system
- Admin and employee role handling
- Add new books using RFID
- Add student UID (RFID)
- Delete books and student records
- View book allotment details
- View fine records
- Create admin and employee accounts
- Issue books via RFID scanning
- Return books with automatic fine calculation
- Accept and update fine payments
- Object-Oriented Programming (OOP)
- File Handling (Persistent Storage)
- String Parsing (
stringstream) - Serial Communication (Arduino RFID)
- Time Handling (Fine Calculation)
- Windows API (COM Port Communication)
- Arduino Board
- RFID Module (e.g., RC522)
- RFID Cards/Tags
- C++ Compiler (CodeBlocks, Dev C++, Visual Studio)
- Windows OS (Required for
windows.h) - Arduino IDE
book.txt → Stores book records
uid.txt → Stores student data
fine.txt → Stores fine records
*_admin.txt → Admin credentials
*_employee.txt → Employee credentials
<UID>uid.txt → Individual user records
<BOOKID>.txt → Book issue tracking
- Scan student RFID
- Validate UID
- Scan book RFID
- Check availability
- Assign book and update records
- Scan student RFID
- Scan book RFID
- Calculate number of days
- Apply fine if needed
- Update records
- First 3 days → No fine
- After 3 days → Rs. 50 per day
- Connect Arduino with RFID module
- Upload RFID reading code to Arduino
- Connect Arduino to PC
- Run the C++ program
- Enter COM port (e.g.,
COM3)
- Works only on Windows (
windows.h) - Uses file-based storage (no database)
- No password encryption
- Add GUI (Qt / Web / C#)
- Replace file system with SQL database
- Implement password hashing
- Add real-time dashboard
- Cloud integration
Abdullah Aziz