Design of an IoT-Based Smart Classroom Monitoring System

This project’s smart classroom monitoring system is based on IoT technology and implements the following main functions:

(1)Classroom Temperature and Humidity Detection Using the SHT30 sensor to collect temperature and humidity data in real-time, helping to monitor and adjust the classroom environment to ensure a comfortable learning and teaching condition.

(2)Light Intensity Detection and Automatic Light Control Utilizing light intensity sensors to monitor the lighting conditions in the classroom, the system can automatically control the classroom lights based on detected light levels, optimizing lighting effects and reducing energy consumption.

(3)Smoke Concentration Detection and Alarm Notification Using the MQ2 gas sensor to detect smoke concentration in real-time, when abnormal smoke is detected, the system triggers an active buzzer for alarm notification to ensure the safety of personnel in the classroom.

(4)Flame Detection and Alarm Notification The system is equipped with flame detection sensors that can quickly alert when a flame is detected, promptly notifying relevant personnel to take safety measures to prevent fire incidents.

(5)Real-time Video Monitoring The system supports video monitoring through cameras that stream via the RTMP protocol, capable of capturing and transmitting real-time audio and video data, ensuring comprehensive monitoring and safety in the classroom.

(6)Facial Recognition and Automatic Attendance The system introduces facial recognition technology. Each student and teacher registers their facial information in advance. During class, personnel entering the classroom will automatically undergo facial recognition and complete attendance records, achieving intelligent attendance management.

(7)Timed Screenshots and Learning Status Records The system supports taking timed screenshots of the classroom during class and uploading them to the server for storage. Administrators can review the screenshots to understand students’ learning status and classroom conditions, with facial recognition comparisons utilizing Baidu’s facial SDK, processed and fed back to the device for coordinated control.

(8)Data Upload and Cloud Storage Display Using the ESP8266 module and MQTT protocol, collected data will be uploaded in real-time to Huawei Cloud IoT servers, utilizing the EMQX server for data display and storage, allowing the teaching management department to grasp detailed classroom environment conditions promptly.

(9)Windows Visualization Monitoring Screen The system provides a visualization screen for Windows computers, developed based on Qt, to display classroom environmental information and video monitoring in real-time, allowing administrators to intuitively understand the overall operation of the classroom.

(10)Local LCD Display of Environmental Information A 7-inch LCD display is installed locally in the classroom, capable of displaying real-time environmental information such as temperature, humidity, lighting, and smoke, allowing teachers and students to intuitively understand the classroom environment.

1.3 Summary of System Functions

Function Module
Function Description
Temperature and Humidity Detection
Using the SHT30 sensor, it detects and displays the classroom’s temperature and humidity in real-time, ensuring environmental comfort.
Light Intensity Detection
Monitors lighting conditions through light intensity sensors, automatically controlling classroom lights for intelligent lighting management.
Smoke Detection and Alarm
Utilizes the MQ2 gas sensor to detect smoke concentration in the classroom, triggering an active buzzer alarm in case of abnormalities to ensure safety.
Flame Detection and Alarm
Real-time detection of flames using flame detection sensors, alerting in case of anomalies to prevent fire hazards.
Real-time Video Monitoring
Employs cameras supporting RTMP protocol for real-time audio and video monitoring in the classroom, ensuring comprehensive recording and monitoring of classroom activities.
Facial Recognition and Attendance
Implementing facial recognition functionality, automatically identifying and recording the entry information of students and teachers to complete attendance. Facial recognition comparisons utilize Baidu’s facial SDK, processed and fed back to the device for coordinated control.
Timed Screenshot Saving
Taking timed screenshots of classroom conditions during class and uploading them to the server for storage, facilitating administrators’ understanding of classroom situations and students’ learning status.
Data Upload to Cloud
Using the ESP8266 module to upload collected data to Huawei Cloud’s EMQX server via MQTT protocol, providing real-time data display and storage.
Windows Visualization Monitoring Screen
A Windows large screen display system developed based on Qt, showing real-time classroom environmental information and monitoring images, providing an intuitive monitoring interface for teaching management personnel.
Local LCD Display
Using a 7-inch LCD display to show real-time information about temperature, humidity, lighting, smoke, etc., allowing personnel in the classroom to understand the environmental status promptly.

1.4 Selection of Development Tools

Design of an IoT-Based Smart Classroom Monitoring System

Leave a Comment