Skip to content

An IoT-based RFID attendance system built with ESP32, RC522 RFID module, LCD display, and Google Sheets integration. Features two modes: user registration and attendance logging. Data is recorded with timestamps in NST (Nepal Standard Time).

License

Notifications You must be signed in to change notification settings

isameersah/RFID-Attendance-System-using-esp32

Repository files navigation

πŸ“‘ RFID-Based IoT Attendance System Using ESP32 & Google Sheets

⚑️ Real-time Cloud Logging | 🧠 Smart Automation | πŸ” Secure & Scalable

🧠 Overview

This project is a complete IoT Attendance System using:

  • πŸ“Ά ESP32 microcontroller
  • πŸ“‡ RFID RC522 reader
  • πŸ“„ Google Sheets for cloud-based logging
  • πŸ–₯️ LCD Display (16x4 I2C)
  • πŸ”Œ Wi-Fi integration for real-time updates

Built with no external libraries β€” only raw SPI, WiFi, and HTTPClient


🏷️ Tech Stack

Platform RFID Google Sheets LCD License


πŸ“Έ Demo Preview

RFID Scan Google Sheet Log Serial Monitor
scan sheet serial

βš™οΈ Features Checklist

  • πŸ” RFID-based attendance scanning
  • 🌐 ESP32 Wi-Fi connection
  • πŸ“„ Google Sheets as cloud storage
  • πŸ“Ÿ LCD UID display
  • πŸ›‘οΈ Duplicate prevention and validations
  • πŸ”” Live updates via Serial Monitor
  • πŸ“² Mobile App (Planned)
  • πŸ” Biometric integration (Planned)
  • πŸ“Š Admin dashboard with charts (Future)

πŸ“‘ RFID-Based IoT Attendance System Using ESP32 & Google Sheets

Welcome to our powerful, real-time attendance management system that uses RFID, ESP32, and Google Sheets for smart logging. Built to eliminate manual processes and reduce human error, this project automates attendance tracking using affordable components and a Wi-Fi connection.


πŸ› οΈ Hardware Components

Component Description
ESP32 Dev Module Microcontroller with Wi-Fi capability
RC522 RFID Reader For reading RFID cards/tags
RFID Cards/Tags Unique UIDs used for attendance
LCD 16x4 (I2C) Displays UID and Name
Breadboard + Wires For connections
USB Type-C Cable Data-capable, to connect ESP32 to PC
Internet Connection Required for syncing with Google Sheets

Most of the components were sourced from our college IoT lab with approval from Mr. Shishir Subedi. Additional components were purchased by team members.


βš™οΈ System Workflow

  1. βœ… Scan RFID Card
  2. πŸ“Ÿ UID displayed on LCD
  3. ⏱️ UID + Timestamp sent to Google Sheets
  4. πŸ“Š Attendance stored securely in the cloud

πŸ”Œ Wiring Summary

πŸ“Ά RC522 to ESP32

RC522 Pin ESP32 Pin Purpose
3.3V 3.3V Power Supply
GND GND Ground
RST D4 Reset
SDA D5 SPI Slave Select
SCK D18 SPI Clock
MOSI D23 SPI Data Out
MISO D19 SPI Data In

πŸ–₯️ LCD to ESP32

LCD I2C Pin ESP32 Pin
VCC VIN
GND GND
SDA D21
SCL D22

πŸ’» Software Setup

Prerequisites

  • 🧰 Arduino IDE
  • πŸ“„ Google Account with access to Google Sheets & Apps Script
  • πŸ“¦ ESP32 board package in Arduino IDE

Steps

  1. πŸ”Œ Connect ESP32 using USB Type-C.
  2. 🧠 Upload code via Arduino IDE.
  3. πŸ“„ Create a Google Sheet with headers: UID, Timestamp.
  4. 🧰 Deploy Apps Script Web App (set access to Anyone).
  5. βœ… Scan card β†’ Logs attendance β†’ Confirms via Serial Monitor.

πŸ” Testing & Output

  • On card scan, UID appears on LCD.
  • Sheet logs timestamp + UID in real-time.
  • Monitor shows: Data sent to Google Sheet βœ…

Troubleshooting: Check wiring, power (3.3V), Wi-Fi credentials, Apps Script permissions.


πŸš€ Future Work

πŸ’‘ Suggested improvements:

  • πŸ”Š Buzzer/LED feedback on scan
  • 🧠 AI for smart attendance tracking
  • πŸ“± Mobile app for real-time alerts
  • πŸ” Biometric fusion (Face/Fingerprint + RFID)
  • 🧾 Automatic attendance reports to email
  • 🏫 Smart Campus integration (library, labs, etc.)

πŸ“ˆ Results & Findings

  • ⏱️ Reduced attendance time
  • ❌ Eliminated proxy marking
  • πŸ’Ύ Reliable cloud-based data storage
  • πŸ’° Budget-friendly and scalable
  • πŸ” Reusable for schools, colleges, offices

🧾 Conclusion

The RFID Attendance System revolutionizes traditional attendance marking. It’s fast, efficient, scalable, and secure. From hardware wiring to Google Sheets integration β€” this system delivers a modern attendance solution ready for 2025 and beyond.


πŸ§‘β€πŸ’» Contributors

  • 🧠 Supervised by: Shishir Subedi
πŸ™‹β€β™‚οΈ Name πŸ’Ό Role
Sameer Sah πŸš€ Project Lead & Developer
Anshumala Bhandari πŸ”§ Developer & Researcher
Bibhuti Sigdel πŸ“ Developer & Documentation
Sanshree Shrestha πŸ” Research & Data Handling
Shraddha Budhathoki 🎨 UI/UX Designer & Report Writer
Sagun Budhathoki πŸ§ͺ Assistant Developer & Tester

πŸ“Ž License

This project is open-source under the MIT License.


πŸ”— Connect with Me

πŸ“’ Attribution

This project uses code and instructions originally created by UtehStr.

The documentation and additional features are developed independently by the contributors of this repo.

About

An IoT-based RFID attendance system built with ESP32, RC522 RFID module, LCD display, and Google Sheets integration. Features two modes: user registration and attendance logging. Data is recorded with timestamps in NST (Nepal Standard Time).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages