An IoT-based mini project that monitors the classroom environment in real time using multiple sensors connected to an Arduino Uno. The system measures temperature, humidity, air quality, light intensity, and sound level, then displays the readings on a 16x2 LCD screen. If any parameter exceeds the threshold, an alert is shown and the buzzer is activated.
- Real-time monitoring of classroom conditions
- Temperature and humidity sensing using DHT11
- Air quality detection using MQ135
- Light intensity measurement using LDR
- Noise level monitoring using sound sensor
- LCD display for live readings and alerts
- Buzzer alert when any value crosses the safe limit
- Low-cost and easy-to-build implementation
| Component | Quantity |
|---|---|
| Arduino UNO | 1 |
| DHT11 Sensor | 1 |
| MQ135 Gas Sensor | 1 |
| LDR Sensor | 1 |
| Sound Sensor | 1 |
| 16x2 LCD Display | 1 |
| Buzzer | 1 |
| Breadboard | 1 |
| Jumper Wires | Multiple |
- VCC → 5V
- GND → GND
- DATA → Pin 2
- VCC → 5V
- GND → GND
- AO → A0
- One side → 5V
- Other side → A1
- VCC → 5V
- GND → GND
- OUT → A2
- Positive → Pin 6
- Negative → GND
| LCD Pin | Arduino Pin |
|---|---|
| RS | 7 |
| EN | 8 |
| D4 | 9 |
| D5 | 10 |
| D6 | 11 |
| D7 | 12 |
Check the above file which is a C++ code.
-
Open the Arduino IDE.
-
Install the required libraries:
- DHT Sensor Library
- LiquidCrystal
-
Connect all sensors as shown above.
-
Upload the code to the Arduino Uno.
-
Open the Serial Monitor to observe the readings.
-
The LCD will display classroom conditions and show alerts whenever limits are exceeded.
- Add Wi-Fi support using ESP8266 or ESP32
- Upload data to the cloud
- Create a mobile app for monitoring
- Store readings in a database
- Add automatic fan and light control
- Displays classroom environment parameters in real time
- Gives instant warning when noise, air quality, or temperature exceeds the safe range
- Improves the classroom environment using smart monitoring
K R Manoj

