0% found this document useful (0 votes)
12 views5 pages

Iot Exp 3 Zoro

The document outlines an experiment to monitor air quality using the MQ135 gas sensor and display data on ThingSpeak. It includes objectives, required hardware, a step-by-step procedure for setting up the system, and expected learning outcomes related to IoT and data transmission. The project aims to enhance understanding of air quality monitoring and improve programming skills in embedded systems.

Uploaded by

bossjojo915
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views5 pages

Iot Exp 3 Zoro

The document outlines an experiment to monitor air quality using the MQ135 gas sensor and display data on ThingSpeak. It includes objectives, required hardware, a step-by-step procedure for setting up the system, and expected learning outcomes related to IoT and data transmission. The project aims to enhance understanding of air quality monitoring and improve programming skills in embedded systems.

Uploaded by

bossjojo915
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

DEPARTMENT OF

COMPUTER SCIENCE & ENGINEERING


Experiment 3
Student Name: Piyush Rawat UID: 22BCS10750
Branch: CSE Section/Group: 22BCS10750
Semester: 6th Date of Performance:3/2/2015
Subject Name: IOT LAB Subject Code: 22CSP-367

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.

Step 2: Connect MQ135 to ESP8266/Arduino

Connections:
MQ135 Pin ESP8266 (NodeMCU) Arduino
VCC 3.3V/5V 5V
GND GND GND
AO A0 A0

Step 3: Install Required


Libraries
In the Arduino IDE,
install the following
libraries:
 ESP8266WiFi.h
(For ESP8266)
 WiFi.h (For
ESP32)
 ThingSpeak.h
Go to Sketch → Include
Library → Manage
Libraries, then search and
install them.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

6. Code:
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

7. Output:
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

8. Learning Outcome:

1. Understanding Air Quality Monitoring – Learn how to measure air quality


using the MQ135 gas sensor.
2. IoT Data Transmission – Gain knowledge of sending sensor data to
ThingSpeak using ESP8266/Arduino.
3. Wi-Fi Communication – Learn how to connect ESP8266/Arduino to a Wi-Fi
network for real-time data transmission.
4. ThingSpeak Integration – Develop skills in creating and managing a
ThingSpeak channel for data visualization.
5. Embedded System Programming – Improve coding skills using Arduino IDE
and C++ for IoT applications.

You might also like