
Smart Classroom Energy Saver (IoT)
Project Description:
The Smart Classroom Energy Saver is an IoT-based automation system designed to optimize electricity consumption in educational institutions by intelligently controlling lights, fans, and air conditioning based on real-time occupancy, ambient light, and temperature. The system reduces energy waste by ensuring that devices operate only when needed, helping schools and colleges cut costs and become more sustainable.
Core Idea:
This system uses a combination of sensors, microcontrollers, and a web dashboard to detect if a classroom is occupied and to monitor environmental parameters. Based on the data, it automatically turns ON/OFF lights, fans, or ACs and provides administrators with energy usage statistics through a central web portal.
Key Features:
1. Automatic Device Control
-
PIR/Ultrasonic Sensors detect motion and occupancy.
-
Light sensors determine natural light levels.
-
Temperature sensors (DHT11/22) monitor the room’s temperature.
-
Devices (lights, fans, ACs) are turned on/off automatically.
2. Web-Based Monitoring Dashboard
-
Built using HTML, CSS, Bootstrap, JavaScript for frontend.
-
Backend using PHP / Java / Node.js.
-
Admins can view:
-
Real-time classroom occupancy
-
Current temperature and lighting levels
-
Historical energy consumption trends
-
3. Manual Override
-
Teachers or admin staff can override automation using:
-
A web control panel
-
Or physical buttons on devices
-
4. Energy Analytics
-
Visual reports show:
-
Device runtime
-
Estimated energy savings
-
Suggestions for further optimization
-
Tech Stack:
IoT Hardware:
-
Microcontroller: ESP32 / Arduino UNO + WiFi module
-
Sensors:
-
PIR/Ultrasonic Sensor – motion detection
-
LDR – light detection
-
DHT11/DHT22 – temperature/humidity
-
-
Actuators:
-
Relays for controlling lights, fans, AC
-
Frontend:
-
HTML, CSS, Bootstrap – Web interface
-
JavaScript / Chart.js – Real-time graphs and interactivity
Backend:
-
PHP / Java / Node.js – Server-side logic
-
API endpoints for storing and retrieving sensor data
-
MQTT (optional) for real-time communication with devices
Database:
-
MySQL / MongoDB – Store:
-
Device logs
-
Energy usage
-
Sensor readings
-
User settings
-