Skip to the content
2 layersRfid attendance, the printed circuit board in 3D

RFID-based attendance management system for educational institutions

Copper layers
2
Thickness
1.6 mm
Parts
7
Nets
102
Pads
143
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 9.0 (file 20241229)
Created
21 Jan 2026
Updated
30 Jan 2026

Overview

Rfid attendance is an open-source printed circuit board by Kowshik08004, from the Kowshik08004/ETE-320-project repository on GitHub, published under the MIT licence. It is a 2-layer board with 7 parts on 102 nets.

It is built around the ESP32-WROOM-32. Its parts include 3 ICs, 1 resistor and 1 connector. It belongs with the radio and wireless and home automation and IoT boards and the ESP32 boards of this library.

Main components

1

README

README.md

🎓 RFID-Based Attendance Management System

PHP MySQL Arduino License

A comprehensive web-based attendance management system using RFID technology for automated student attendance tracking. Built for educational institutions to streamline attendance recording, monitoring, and reporting.

✨ Features

🔐 Admin Features

  • User Management: Add, edit, and delete student records
  • Course Management: Create and manage courses, sections, and batches
  • Device Management: Configure and monitor RFID readers
  • Room & Batch Assignment: Link rooms with devices and student batches
  • Session Management: Create manual or automatic class sessions
  • Attendance Reports:
    • View real-time attendance
    • Generate attendance summaries
    • Export to Excel, CSV, and PDF formats
  • Weekly Routines: Auto-generate class schedules
  • User Activity Logs: Track system usage and changes

📊 Attendance Features

  • Automatic attendance recording via RFID
  • Real-time attendance monitoring
  • Session-based attendance tracking
  • Attendance percentage calculation
  • Course-wise attendance reports
  • Auto-close expired sessions

🔧 Technical Features

  • Responsive web interface
  • Secure authentication system
  • Database-driven architecture
  • AJAX-powered real-time updates
  • Export functionality (Excel, CSV, PDF)
  • Automated session cleanup

🏗️ System Architecture

System Architecture Diagram

📋 Prerequisites

Before you begin, ensure you have the following installed:

  • Web Server: Apache (XAMPP, WAMP, or LAMP)
  • PHP: Version 7.4 or higher
  • MySQL: Version 5.7 or higher
  • Arduino IDE: For programming the RFID reader (if using hardware)
  • RFID Reader: RC522 or compatible
  • Modern Web Browser: Chrome, Firefox, Edge, or Safari

🚀 Installation

Step 1: Clone the Repository

bash
git clone https://github.com/Kowshik08004/ETE-320-project.git
cd ETE-320-project

Step 2: Setup Database

  1. Start your MySQL server (via XAMPP/WAMP)
  2. Open phpMyAdmin (http://localhost/phpmyadmin)
  3. Create a new database named rfidattendance
  4. Import the database schema:
    • Click on the rfidattendance database
    • Go to the Import tab
    • Select rfidattendance.sql file
    • Click Go

Step 3: Configure Database Connection

  1. Open connectDB.php in a text editor
  2. Update the database credentials:
php
$servername = "localhost";
$username = "root";        // Your MySQL username
$password = "";            // Your MySQL password
$dbname = "rfidattendance";

Step 4: Deploy Application

  1. Copy the project folder to your web server's root directory:

    • XAMPP: C:\xampp\htdocs\
    • WAMP: C:\wamp64\www\
    • LAMP: /var/www/html/
  2. Ensure proper file permissions (Linux/Mac):

bash
sudo chmod -R 755 /var/www/html/ETE-320-project

Step 5: Access the Application

  1. Open your web browser
  2. Navigate to: http://localhost/ETE-320-project
  3. Login with default credentials:
    • Email: admin@gmail.com
    • Password: 123 (or check the SQL dump for the hashed password)

🔌 Hardware Setup

Components Needed

  • ESP32-wroom-32
  • MFRC522 RFID Reader Module
  • RFID Cards
  • DS3231 RTC
  • 16x2 LCD display
  • Buzzer
  • 100k Trimmerpot

Wiring Diagram

Wiring Table

Upload Arduino Code

  1. Open Arduino IDE
  2. Install required library: SPI, Wire, MFRC522, RTClib, LiquidCrystal, WiFi, HTTPClient (Tools → Manage Libraries → Search "MFRC522")
  3. Open RFID/RFID.ino
  4. Select your board and port
  5. Upload the sketch

📖 Usage Guide

For Administrators

  1. Add Students

    • Navigate to "Manage Users"
    • Scan an unregistered card. It will appear in the list.
    • select it (Click on the card). RFID card will be automatically filled. Enter student details & click Register Student.
  2. Create Course Sessions

    • Go to "Course Sessions"
    • Create session (manual)
    • Fill all the necessary info.
    • Click create session
  3. View Attendance

    • Navigate to "Attendance View"
    • Select course and date range
    • View or export reports
  4. Setup Weekly Routines

    • Go to "Weekly Routines"
    • Configure class schedules
    • Enable auto-generation

For Students

  • Simply tap your RFID card on the reader when entering class
  • Attendance is automatically recorded
  • No manual login required

📁 Project Structure

text
ETE-320-project/
│
├── RFID/                          # Arduino code for RFID reader
│   ├── RFID.ino
│   └── rfid_attendance/           # KiCad PCB design files
│
├── js/                            # JavaScript files
│   ├── jquery-2.2.3.min.js
│   ├── bootstrap.js
│   └── *.js                       # Custom scripts
│
├── icons/                         # UI icons
│
├── css/                           # Stylesheets
│
├── *.php                          # PHP application files
│   ├── index.php                  # Main dashboard
│   ├── login.php                  # Authentication
│   ├── connectDB.php              # Database connection
│   ├── ManageUsers.php            # User management
│   ├── ManageCourses.php          # Course management
│   ├── attendance_view.php        # Attendance reports
│   └── ...                        # Other modules
│

🔒 Security Features

  • ✅ Session-based authentication
  • ✅ Admin guard middleware
  • ✅ Password hashing (bcrypt)
  • ✅ SQL injection prevention
  • ✅ XSS protection
  • ✅ CSRF token validation (recommended to implement)

🐛 Troubleshooting

Common Issues

Database Connection Failed

  • Check MySQL service is running
  • Verify credentials in connectDB.php
  • Ensure database rfidattendance exists

RFID Not Reading

  • Check Arduino connections
  • Verify COM port in Arduino IDE
  • Test RFID cards are not damaged
  • Ensure MFRC522 library is installed

Attendance Not Recording

  • Verify student RFID is registered in database
  • Check active session exists for the course
  • Ensure device is linked to correct room

Export Not Working

  • Check PHP extensions: php_zip, php_excel
  • Verify write permissions on export directory
  • Check PHP memory limit in php.ini

🤝 Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 Development Roadmap

  • Add SMS/Email notifications for absent students
  • Implement facial recognition as alternative to RFID
  • Create mobile app for students
  • Add biometric authentication
  • Real-time analytics dashboard
  • Multi-language support
  • RESTful API for third-party integrations

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

👥 Authors

🙏 Acknowledgments

  • CUET ETE-320 Course Project
  • MFRC522 Library developers
  • Bootstrap framework
  • All contributors and testers

📧 Contact

For questions or support, please contact:


⭐ Star this repo if you find it helpful!

Parts

7
QtyValueFootprintReferences
1100kPotentiometer_THT:Potentiometer_Runtron_RM-065_VerticalRV1
1220RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
1ESP32-DEVKIT-V1ESP32-DEVKIT-V1:MODULE_ESP32_DEVKIT_V1U1
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32U1
1LCDDisplay:WC1602ADS1
1RC522Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ1
1RTCPackage_SO:SOIC-16W_7.5x10.3mm_P1.27mmU2

Similar boards

  • 2 layers24.1 × 36.2 mmEsp32miniBT, the printed circuit board in 3D

    Esp32miniBT

    asterics/esp32_mouse_keyboard

    ESP32 implementation for HID over GATT Keyboard and Mouse (Bluetooth Low Energy). Including serial API for external modules (similar to Adafruit EZKey HID)

    28 parts911GPL-3.0
  • 4 layers99.6 × 76.2 mmE TKT, the printed circuit board in 3D

    E TKT

    andreisperid/E-TKT

    open source embossed label maker

    110 parts481MIT
  • 4 layers46.8 × 34.8 mmSmartWatch V4, the printed circuit board in 3D

    SmartWatch V4

    Bellafaire/ESP32-Smart-Watch

    An open source smartwatch based on the ESP32 compatible with the Arduino IDE.

    74 parts258MIT
  • 2 layers90 × 76.5 mmLCDZapperPro, the printed circuit board in 3D

    LCDZapperPro

    charcole/LCDZapper

    Device for making light gun games playable on LCD TVs

    126 parts163
  • 2 layers57.2 × 35.1 mmMainBoard Rev2, the printed circuit board in 3D

    MainBoard Rev2

    lzrtag/LZRTag

    AVR-Based easily modifyable DIY Lasertag!

    70 parts111GPL-3.0
  • 2 layers85 × 56 mmHB RF ETH, the printed circuit board in 3D

    HB RF ETH

    alexreinert/PCB

    Some of my PCBs

    96 parts104
  • 2 layersSmp7c, the printed circuit board in 3D

    Smp7c

    likeablob/slow-movie-player-7c

    Yet another "Slow Movie Player" implementation with 7-color E-Paper module and ESP32.

    18 parts51MIT
  • 2 layers30.8 × 24.4 mmWii Bluetooth Replacement, the printed circuit board in 3D

    Wii Bluetooth Replacement

    JSnowden33/Wii-Bluetooth-Replacement

    This project is a full replacement for the Nintendo Wii's Bluetooth module. Emulation of the Bluetooth module is performed on the PIC32 based on rnconrad's emulator, while controller connectivity on the ESP32 is based…

    50 parts48GPL-3.0

Questions

What parts does the Rfid attendance use?

7 parts, built around the ESP32-WROOM-32. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Rfid attendance KiCad files?

From the Kowshik08004/ETE-320-project repository on GitHub, at the commit this page was made from: the board is RFID/rfid_attendance/rfid_attendance.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Rfid attendance design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).