Brief Introduction
This project monitors environmental conditions including temperature, atmospheric pressure, rain presence, and gas detection using multiple sensors interfaced with an Arduino Uno. The readings are displayed on a 16x2 I2C LCD screen, while a buzzer alerts the user if any abnormal condition occurs such as high temperature, rain detection, or presence of gas. The system also outputs sensor data to the Serial Monitor for real-time monitoring.
Components List
Component |
Description |
Arduino Uno |
Microcontroller board |
DHT11 Sensor |
Measures temperature & humidity |
BMP180 Sensor |
Measures atmospheric pressure |
Rain Sensor Module |
Detects presence of rain |
MQ-2 Gas Sensor |
Detects smoke, LPG, and flammable gases |
16x2 I2C LCD Display |
Displays sensor data |
Buzzer |
Audible alert for abnormal conditions |
Connecting wires |
For circuit connections |
Breadboard / PCB |
For mounting and connecting components |
BLOCK DIAGRAM

WORKING
-
Temperature & Pressure Measurement
The DHT11 sensor reads the ambient temperature, while the BMP180 sensor measures the atmospheric pressure. These values are fetched by the Arduino and displayed on the first line of the LCD.
-
Rain Detection
The rain sensor outputs an analog value that varies with moisture. When the value drops below a threshold, rain is detected. The status is displayed on the second line of the LCD.
-
Gas Detection
The MQ-2 sensor detects the presence of flammable gases or smoke by producing an analog output proportional to gas concentration. If gas is detected beyond a threshold, the status is displayed on the LCD.
-
Alert System
If any of these abnormal conditions occur — temperature higher than a preset limit, rain detected, or gas detected — the Arduino activates a buzzer to alert the user.
-
Data Monitoring
All sensor readings and statuses are also sent to the Serial Monitor, enabling real-time monitoring via a PC.
IMAGES USED ARE ONLY FOR SAMPLE PURPSOES!!!!!