Iot Exp 3 Zoro
Iot Exp 3 Zoro
1. Aim:
Monitor air quality using a gas sensor (MQ135) and display the data on ThingSpeak.
2. Objective:
Monitor air quality using the MQ135 gas sensor and send the data to ThingSpeak
for visualization and analysis.
3. Hardware Used:
• Hardware Required:
• MQ135 gas sensor
• ESP8266/NodeMCU (or any microcontroller with Wi-Fi capability)
• Breadboard and jumper wires
• Power supply (5V for the sensor and microcontroller)
• ThingSpeak account (free API key)
4. Introduction: The AQI is an index that tells you how clean or polluted your air is, and what
associated health effects might be a concern. The level of pollution has increased with times by a lot
of factors like the increase in population, increased vehicle use, industrialization and urbanization
which results in harmful effects on humans by directly affecting the health of the population exposed
to it. So, we need to monitor the Air Quality Index. In this project, we are going to make an IoT
Based Air Quality Index Monitoring System in which we will monitor the Air Quality Index over a
Thingspeak server using the internet. We will use MQ135 Air Quality Sensor that can detect the
level of various air pollutant. To make this project more advanced you can add PM5003 PM2.5
Particulate Matter Sensor to this project. The detail of this project can found here: IoT Based PM2.5
& PM10 Air Quality Monitoring with ESP8266.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
5. Procedure:
Step 1: Create a ThingSpeak Channel
1. Sign up at ThingSpeak.
2. Create a New Channel and name it "Air Quality Monitoring".
3. Add a Field (e.g., "Air Quality (PPM)").
4. Click Save Channel and note the Write API Key from the API Keys tab.
Connections:
MQ135 Pin ESP8266 (NodeMCU) Arduino
VCC 3.3V/5V 5V
GND GND GND
AO A0 A0
6. Code:
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
7. Output:
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
8. Learning Outcome: