This project is a Smart Classroom Attendance and Automation System that uses an ESP32 microcontroller, MFRC522 RFID reader, RFID cards/tags, PIR motion sensor, DHT11 temperature and humidity sensor, relay module, 5V DC fan, display (OLED/16×2 I2C), buzzer, breadboard, jumper wires, resistors, power supply, and Wi-Fi. Additional components such as LDR and IR obstacle sensors can be used for future extensions. The system works by having a student tap their RFID card at the entrance. The RFID reader sends the card ID to the ESP32, while the PIR sensor checks whether a person is physically present at the same time. If motion is detected within the set time window, the attendance is marked as Present; if no matching motion is detected, the entry is marked Suspicious, helping reduce proxy attendance, and the buzzer alerts the user. After verification, the ESP32 uses Wi-Fi to send the attendance information to a Node.js/Express server, where it is stored in a MongoDB database. A React web dashboard then displays the attendance records, including student ID, status, and timestamp, allowing teachers or administrators to monitor attendance in real time. At the same time, the PIR sensor also helps with classroom automation. When people are detected in the classroom, the ESP32 activates the relay module, which turns on the fan and lights. When no motion is detected for the configured period, the fan and lights are automatically switched off. The DHT11 continuously monitors the classroom's temperature and humidity, making the system useful not only for attendance but also for smart classroom comfort and energy management.
by ahmedhussain18ahmedhussain18
by TemplatesTemplates
by ahmedhussain18ahmedhussain18
by TemplatesTemplates
manthabuddi96 created this project
13 days ago
This project is a Smart Classroom Attendance and Automation System that uses an ESP32 microcontroller, MFRC522 RFID reader, RFID cards/tags, PIR motion sensor, DHT11 temperature and humidity sensor, relay module, 5V DC fan, display (OLED/16×2 I2C), buzzer, breadboard, jumper wires, resistors, power supply, and Wi-Fi. Additional components such as LDR and IR obstacle sensors can be used for future extensions. The system works by having a student tap their RFID card at the entrance. The RFID reader sends the card ID to the ESP32, while the PIR sensor checks whether a person is physically present at the same time. If motion is detected within the set time window, the attendance is marked as Present; if no matching motion is detected, the entry is marked Suspicious, helping reduce proxy attendance, and the buzzer alerts the user. After verification, the ESP32 uses Wi-Fi to send the attendance information to a Node.js/Express server, where it is stored in a MongoDB database. A React web dashboard then displays the attendance records, including student ID, status, and timestamp, allowing teachers or administrators to monitor attendance in real time. At the same time, the PIR sensor also helps with classroom automation. When people are detected in the classroom, the ESP32 activates the relay module, which turns on the fan and lights. When no motion is detected for the configured period, the fan and lights are automatically switched off. The DHT11 continuously monitors the classroom's temperature and humidity, making the system useful not only for attendance but also for smart classroom comfort and energy management.