The Automated Library Management System is an IoT-based project designed to automate traditional library operations like book issuing and returning.
This system eliminates manual work by using:
- Barcode scanning
- Raspberry Pi automation
- MySQL database
- IR sensors for user interaction
- LCD display for real-time feedback
The project improves efficiency, reduces human error, and provides a modern smart-library experience.
- Automate book issue and return process
- Reduce manual errors and workload
- Provide real-time feedback to users
- Maintain accurate database records
- Implement fine calculation and due date system
- π· Barcode-based book identification
- πͺͺ User ID card scanning
- π Automatic due date (7 days)
- π° Fine calculation for late return
- π LCD display for instructions and status
- π IR sensor-based user detection
- π§ Email notification system
- ποΈ MySQL database integration
The system consists of:
- Raspberry Pi β Main controller
- Camera (USB) β Barcode scanning
- IR Sensors β Detect issue/return action
- LCD (16x2) β Display messages
- MySQL Database β Store records
- Raspberry Pi 4 Model B
- USB Camera
- IR Sensors (2)
- 16x2 LCD Display (I2C)
- Breadboard & Jumper Wires
- Power Adapter
- Python 3
- MySQL / MariaDB
- OpenCV
- Pyzbar
- RPi.GPIO
- RPLCD
- smbus2
opencv-python
pyzbar
mysql-connector-python
RPi.GPIO
pillow
RPLCD
smbus2Automated-Library-Management-System/
β
βββ main.py
βββ ProjectCode.py
βββ NewLibrarySQL.ino
βββ database.sql
βββ requirements.txt
βββ README.md
βββ images/
- User places hand near IR sensor
- System activates camera
- Book barcode is scanned
- User ID card is scanned
- Book is issued for 7 days
- Database is updated
- Confirmation shown on LCD
- User selects return using IR sensor
- Book barcode is scanned
- User ID is verified
- System checks due date
- Fine is calculated if overdue
- Database is updated
- Status shown on LCD
- Book ID
- Book Name
- Availability
- Issued To
- Issue Date
- Return Date
- User ID
- Name
- Issued Books Count
- Fine
- CREATE DATABASE
- CREATE TABLE
- INSERT / UPDATE / DELETE
The 16x2 LCD shows:
- "Scan Book"
- "Scan ID"
- "Book Issued"
- "Return Successful"
- "Fine Applied"
git clone https://github.com/YOUR_USERNAME/Automated-Library-Management-System.git
cd Automated-Library-Management-Systempip install -r requirements.txt- Install MySQL/MariaDB
- Create database
- Import
database.sql
python main.py(Add your project images here)
- Hardware setup
- LCD output
- Barcode scanning
- Mobile App Integration
- Cloud Database
- Face Recognition
- Web Dashboard (Admin Panel)
- RFID instead of barcode
- Valid book issue
- Invalid barcode
- Late return fine
- Multiple book issue
- Wrong user scan
- Camera not working β Check OpenCV installation
- LCD not displaying β Check I2C address
- Database error β Verify credentials
- IR sensor issue β Check GPIO pins
Atharv Pujari
Driven by a passion for Computer Science, with hands-on experience in developing IoT-based systems and automation solutions. Interested in building scalable and intelligent systems using Python, computer vision, and embedded technologies.
π¬ Connect:
- GitHub: https://github.com/Athxrvv18
- LinkedIn: https://www.linkedin.com/in/atharvpujari/
This project is inspired by real-world automation systems and embedded IoT solutions.
This project demonstrates:
- Embedded Systems
- Computer Vision
- Database Management
- Real-world automation
It is a complete smart system suitable for academic and practical applications.