Environment Monitoring System
Environment Monitoring System
MONITORING SYSTEM
2
TOPICS
Introduction
Components
Image of hardware and components
Block Diagram
Functions
Code Explanation
Expected Outcome
Questions
3
INTRODUCTION
• Our project using a ESP8266 board and sensors like DHT11,
MQ135, and a LDR sensor aims to create a compact and
efficient system for monitoring environmental conditions.
The data collected from these sensors will be used for various
purposes such as weather forecasting, environmental monitoring,
or personal weather tracking.
4
COMPONENTS
1. ESP8266 Board: This serves as the central control unit
and handles data collection from the sensors. It also
connects to the internet via Wi-Fi to transmit the data
to a remote server or cloud platform.
2. DHT11 Sensor: Measures temperature and humidity.
3. MQ135 Sensor: Detects various gases and helps assess
Air quality
4. LDR Sensor: Detects changes in light intensity.
5. Power supply, connecting wires, and a breadboard.
DIAGRAMS OF 5
COMPONENTS
DHT11 -> D1
MQ135 GAS sensor -
> D1
6
ESP826
LDR sensor -> NODEMCU Computing board
A0
IMAGE OF
HARDWARE
7
BLOCK DIAGRAM
LD
R
MQ135
DHT11
•On ThingSpeak:
• You'll see updated graphs for:
• Field 1 → Temperature
• Field 2 → Humidity
• Field 3 → Air Quality (1 = Good, 0 = Poor)
• Field 4 → Light intensity
Q1: What is the role of ESP8266 in this project, and how does
it handle data transmission from sensors?
Q2: Why is Wi-Fi connectivity essential for real-time
monitoring, and how does the system ensure reliable data
transfer?
Q3: How does the ESP8266 send data to the cloud, and what
HTTP request methods are used in the code? (e.g., GET vs.
POST for ThingSpeak API)
Q4: What happens if there is a network failure? How does the
system handle data loss or retry failed transmissions? RELATED
Q5: Which sensors are used in the project, and what
environmental parameters do they measure? QUESTIONS
Q6: How does the MQ135 sensor detect air quality, and how
is the sensor data processed in code? (e.g., analogRead()
usage)
Q7: How is temperature and humidity data collected using
the DHT11 sensor, and how does the code process this data?
(Explain the DHT.h libra
Q8: What is the purpose of the LDR sensor in this system,
and how is light intensity measured and utilized? (Discuss
analogRead(A0) and threshold-based decisions in the code)
Q10: How does the system send sensor data to ThingSpeak,
and which API keys are required? (Explain HTTPClient usage in
THANK YOU
By –
Aman Gupta (22T6009)
Arpita Sahu (22T6013)
Gungun Jain (22T6025)
Ayushi Vishwakarma (22T6085)