A complete RFID based attendance system using Arduino that automates employee and student attendance tracking with real-time logging, LCD display, and offline data storage capabilities.
- Automatic Check-in/Check-out Detection - Smart status tracking based on last entry
- Real-time Clock Integration - Precise timestamps with DS1307 RTC module
- Offline Data Storage - 30+ attendance logs stored in EEPROM memory
- LCD Interface - 16x2 I2C display with scrolling names and live people count
- Card Programming Utility - Easy RFID card setup with personal data
- Serial Monitor Control - Full system control via Arduino IDE
- Power Loss Protection - Data retention during power outages
- Cost-Effective - Under $35 total build cost vs $500+ commercial systems
- Arduino Uno (1x) - ATmega328P microcontroller board
- MFRC522 RFID Module (1x) - 13.56MHz RFID reader with SPI interface
- DS1307 RTC Module (1x) - Real-time clock with AT24C32 EEPROM
- 16x2 I2C LCD Display (1x) - HD44780 compatible with I2C backpack
- Push Buttons (2x) - 6x6mm tactile buttons for navigation
- RFID Cards/Tags - Mifare Classic 1K, 13.56MHz
- Breadboard (1x) - Full-size for prototyping
- Jumper Wires - Male-to-male connections
- Power Supply - 5V-12V DC adapter or battery
- Buzzer - Audio feedback for card scans
- LED Indicators - Visual status indicators
- SD Card Module - Additional storage backup
- Ethernet Shield - Network connectivity
Arduino Uno Connections:
โโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ
โ Arduino Pin โ Component โ Function โ
โโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโค
โ Digital Pin 7 โ MFRC522 RST โ RFID Reset โ
โ Digital Pin 8 โ Menu Button โ Navigation โ
โ Digital Pin 9 โ Select Button โ Confirmation โ
โ Digital Pin 10 โ MFRC522 SS โ SPI Slave Sel. โ
โ Digital Pin 11 โ MFRC522 MOSI โ SPI Data Out โ
โ Digital Pin 12 โ MFRC522 MISO โ SPI Data In โ
โ Digital Pin 13 โ MFRC522 SCK โ SPI Clock โ
โ Analog Pin A4 โ SDA โ I2C Data โ
โ Analog Pin A5 โ SCL โ I2C Clock โ
โโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโ
๐ Complete Circuit Diagram: View Detailed Schematic
# Install required libraries via Arduino Library Manager:
# - MFRC522 by GithubCommunity
# - RTClib by Adafruit
# - LiquidCrystal I2C by Frank de Brabander
- Connect components according to circuit diagram
- Ensure proper power distribution (5V/3.3V compatibility)
- Verify I2C addresses (LCD: 0x27, RTC: 0x68, EEPROM: 0x50)
git clone https://github.com/Circuit-Digest/RFID-Based-Attendance-System-Using-Arduino.git
cd RFID-Based-Attendance-System-Using-Arduino
- First: Upload
ReadandWrite_PersonalData.ino
to program RFID cards - Second: Upload
RFIDAttendanceSystem_Main.ino
for main operation
- Upload the card programming sketch
- Open Serial Monitor (9600 baud)
- Type
w
for write mode - Place RFID card near reader
- Enter name (max 32 characters)
- Enter ID (max 8 characters)
- Verify with read mode (
r
)
- Upload main attendance code
- Set correct time via Serial Monitor (
t
command) - Present programmed RFID cards to reader
- System automatically tracks IN/OUT status
- View logs via buttons or Serial Monitor commands
v
- View all attendance logsc
- Clear all logss
- System statust
- Set time
โโโ Code/
โ โโโ RFIDAttendanceSystem_Main/
โ โ โโโ RFIDAttendanceSystem_Main.ino # Main attendance system
โ โโโ ReadandWrite_PersonalData/
โ โโโ ReadandWrite_PersonalData.ino # Card programming utility
โโโ Circuit Diagram/
โ โโโ RFID_Attendance_Circuit.png # Wiring schematic
โโโ Documentation/
โ โโโ Component_Connections.md # Detailed connections
โโโ README.md # This file
handleRFIDScan()
- Processes card detection and logginghandleButtons()
- Manages menu navigationdisplayHomeScreen()
- Updates LCD with time/statuslogAttendance()
- Stores records in EEPROMreadPersonalData()
- Retrieves card information
RFID Cards Not Detected
- Check SPI connections (pins 10-13)
- Verify 3.3V power to MFRC522
- Try different RFID cards (Mifare Classic 1K)
LCD Display Issues
- Scan I2C address (may be 0x3F instead of 0x27)
- Check I2C connections (A4/A5)
- Adjust contrast potentiometer
Time Resets on Power Loss
- Replace CR2032 battery in RTC module
- Check RTC module connections
Data Loss Issues
- Verify EEPROM connections
- Check AT24C32 module functionality
- Student Attendance - Automated classroom tracking
- Library Access - Book borrowing management
- Hostel Entry - Secure dormitory access
- Employee Time Tracking - Work hour monitoring
- Meeting Room Access - Conference room management
- Visitor Management - Guest entry logging
- Shift Management - Worker schedule tracking
- Safety Compliance - Restricted area monitoring
- Contractor Access - Temporary worker management
- WiFi Connectivity - ESP8266 integration for IoT capabilities
- Mobile App - Android/iOS app for remote monitoring
- Biometric Security - Fingerprint sensor integration
- Camera Module - Photo capture for verification
- Database Integration - MySQL/MongoDB connectivity
- Multi-Location - Network multiple units
- Access Control - Door lock integration
- Web Dashboard - Real-time monitoring interface
Parameter | Value |
---|---|
Operating Voltage | 5V DC |
Current Consumption | 150-200mA (active) |
RFID Frequency | 13.56MHz |
Reading Range | 1-3cm |
Storage Capacity | 30 logs (expandable) |
Clock Accuracy | ยฑ2 minutes/month |
Operating Temperature | 0ยฐC to 50ยฐC |
Response Time | <500ms |
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature
) - Commit changes (
git commit -m 'Add AmazingFeature'
) - Push to branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- Follow Arduino coding standards
- Test all modifications thoroughly
- Update documentation for new features
- Include comments for complex code sections
- ๐ Complete Tutorial: CircuitDigest - RFID Attendance System Guide
- ๐ More Arduino Projects: Circuit Digest Arduino Collection
- ๐ RFID Tutorials: RFID Projects and Guides
If this project helped you, please โญ star this repository and share it with others!
Built with โค๏ธ by Circuit Digest | Making Electronics Simple
arduino rfid attendance system
rfid based attendance tracker
diy attendance system
arduino rfid project
employee attendance system
student attendance tracker
rfid scanner arduino
attendance management system
arduino projects
rfid applications