Btech Major Project Report
Btech Major Project Report
Btech Major Project Report
CERTIFICATE
This is to certify that Major Project report entitled
ABSTRACT
In a country like India, air pollution is increasing day by day at the alarming rate. The
main reason for increasing of pollution level are crop’s remaining burning, emission from the
motor vehicle, open defecation of smoke in atmosphere from the industries and burning of
garbage openly. Internet of Things (IOT) based pollution system is used to detect the current
level of hazardous gases in the atmosphere. In our daily lives the quality of air determines the
most because every human being needs fresh air to live.
The IOT based pollution system will help us to fetch the data from any location where
device is installed. All the data is visible in the smart phone app. In this project we have used
the Blynk app. By using the concept of IOT we can use multiple pollution devices at different
locations and fetch the data to the smart phone app.
Pollution Monitoring System in which we will monitor the Air Quality over a web
server using internet and will trigger a alarm when the air quality goes down beyond a
certain level, means when there are sufficient amount of harmful gases are present in the air
like CO2, smoke, alcohol, benzene and NH3. It will show the air quality in PPM on the LCD and
as well as on webpage so that we can monitor it very easily. We have used MQ135 sensor
which is the best choice for monitoring Air Quality as it can detects most harmful gases and can
measure their amount accurately. In this IOT project, you can monitor the pollution level from
anywhere using your computer or mobile. We can install this system anywhere and can also
trigger some device when pollution goes beyond some level, like we can send alert SMS/mail to
the user.
INDEX
1. INTRODUCTION 7
1.2. Objectives 9
1.4. Motivation 11
1.5. Significance 12
2. LITERATURE REVIEW 16
3. METHODOLOGY 19
4. RESULTS 40
5. CONCLUSION 41
6. REFERENCE 42
List of Tables
6. Storage Time 32
8. Vehicular pollution 39
List Of Figures
Sr. Figure Description Page No.
No.
1. Common Air Pollutants 10
4. Connection of sensor 24
5. MQ 135 sensor 25
8. MQ 135 Sensor 33
CHAPTER - 1
INTRODUCTION
In the world of automation, things are getting automated, but the adverse effect is
pollution. It is important to reduce the pollution level present in ambient air. Air pollution is the
introduction of chemicals, particulates, biological materials, or other harmful materials into the
earth’s atmosphere, possibly causing disease, death to humans, damage to other living
organisms in natural or built environment.
Internet Of Things reveals that people are a source of data and in its second version,
things or objects are creating data. It influences the computing and communication technology
in the future. The vision of IOT makes the objects smarter for a better and easy world. The
environmental data sampled and transmitted in time to the data center by air quality
monitoring. Internet acts as a backbone to IOT to connect with heterogeneous elements. IOT
has many applications in various domains like Smart Cities, Smart Homes, IOT in transportation,
IOT in Industries, Public Safety etc. This system will show the gases present in the atmospheric
air and their purity there off.
The system can be implemented in any kind of places like industries and houses, where
the gases are mostly to be found across the threshold limit, the system gives an alert message.
An alteration of air quality, which is characterized by the contents of chemical, biological or
physical pollutants in the air, is called air pollution. The quality of air is indicated by air quality
index. Air pollution is mainly impacting the process of plant evolution by preventing
photosynthesis, which leads to serious consequences in the purification of the air we are
breathing in. 'Criteria air pollutants' is one of the terms used to describe air pollutants, which
are the indicators of air quality. The regulations are based on criteria, which are related to
health and environmental effects.
One of the major issues in India is air pollution. Before 2010, India’s pollutant emissions
were found to have decreased by over 10 percent. India has one of the better records in the
world, of an economy that is growing efficiently on CO2 emissions basis. In other words, over
the last 20 years, India has reduced CO2 emissions with each unit of Gross Domestic Product
(GDP) increase. Per Copenhagen Accord, India aims to further reduce emissions intensity of its
growing GDP by 20 to 25 percent before 2020, with technology transfer and international
cooperation. Nevertheless, it is expected, that like China, India’s absolute carbon dioxide
emissions will rise in years ahead, even as International Energy Agency’s Annex I countries
expect their absolute CO2 emissions to drop.
Traffic congestion is severe in India’s cities and towns. Traffic congestion is caused for
several reasons, some of which are: increase in number of vehicles per kilometer of available
road, a lack of intra-city divided-lane highways and intra-city expressways networks, lack of
inter-city expressways, traffic accidents and chaos from poor enforcement of traffic laws. Traffic
congestion reduces average traffic speed. At low speeds, scientific studies reveal, vehicles burn
fuel inefficiently and pollute more per trip. For example, a study in the United States found that
for the same trip, cars consumed more fuel and polluted more if the traffic was congested, than
when traffic flowed freely.
The MQ-135 is used to measure air quality. The MQ series of gas sensors use a small
heater inside with an electrochemical sensor. They are sensitive to a range of gasses
and are used indoors at room temperature. The output is an analog signal and can be read with
an analog input of the Arduino. Also, the sensitivity can be adjusted by the potentiometer.
The MQ-135 alcohol sensor consists of a tin dioxide (SnO2), a perspective layer inside
aluminium oxide micro tubes and a heating element inside a tubular casing. The
end face of the sensor is enclosed by a stainless-steel net and the back side holds the
connection terminals. Ethyl alcohol present in the breath is oxidized into acetic acid passing
through the heater element.
IOT is newly developed technology in which the connectivity between physical objects
along with controllers, actuators and sensors synchronized over Internet. IOT able to provide
means to monitor the quality of parameters like Air, Noise, Temperature , Humidity and light. It
helps concern authorities to take action against pollution crossing beyond defined limits.
1.2 OBJECTIVES:
The main objective of the project is to provide a platform that monitors the parameters
and help to create better and pollution free future life.
Carbon Nitrogen
monoxide Dioxide
Common Sulphur
Ground level
air Dioxide
ozone
pollutants
Particulate Volatile
matter organic
compounds
1.4. Motivation:
➢ Large cities with high concentration of industry, intensive transport networks and high
population density are major sources of pollution.
➢ Predicting pollution quality from multiple sources by using modelling is very
complicated.
1.5. Significance:
IOT based Air Pollution Monitoring System is used to monitor the Air Quality over a web
server using Internet. It will trigger an alarm when the air quality goes down beyond a certain
level, means when there are sufficient amount of harmful gases present in the air like CO2,
Smoke, alcohol, benzene, NH3 and NOx.
IOT is a sensor-based technology, which upon installing the advanced sensor devices at
appropriate places benefits the residents in numerous ways. These benefits include:
in the air and trigger notifications on smart phones at once. This enables the authorities to
analyze the situation and act accordingly. Instant notifications allow the managers to monitor
the air quality and effectively handle the situation. The notifications are sent through SMSs
alerts or push messages on their smart devices so that they don’t miss out on anything and
keep the surroundings fresh enough for people to survive.
➢ Human Health:
Whether closed or open premises, human health gets affected by the increase in air
pollutants or particulate matter. Thus, installing an air quality monitoring system helps
monitor the presence of pollutants, resulting in better environmental conditions for humans
to reside. This also impacts their health and reduces the chances of occurring any health
issues by maintaining a moderate ambiance or as required. Hence, IOT-powered solutions
provide better services to the industrialists, which in turn, provides better services to their
customers. It creates a positive impact on human health by eliminating unwanted air
pollutants and particulate matter by allowing the authorities to take decisions according to
the situation.
An IOT-powered air quality monitoring system consists of sensor devices and gateway
connectivity that offers a data-driven approach to monitor air quality. The solution is fully
equipped with necessary devices and advanced techniques to ensure fresher surroundings free
from air pollutants and other toxic components spread in the air. It can be easily installed in
appropriate places from where it triggers the authorities to take necessary actions whenever
required. It is a must-have for the industrial premises to enhance the safety of the employees
and keep them healthy under different working conditions.
CHAPTER – 2
LITERATURE REVIEW
IOT Based Air Pollution Monitoring System monitors the Air quality over a web server
using Internet and will trigger an alarm when the air quality goes down beyond a certain
threshold level, means when there are sufficient amount of harmful gases present in the
air like CO2, smoke, alcohol, benzene, NH3, LPG and NOx. It will show the air quality in
PPM on the LCD and as well as on webpage so that it can monitor it very easily.
CHAPTER – 3
METHODOLOGY
In general the implementation of the proposed system was guided by Rapid
Application Development model (RAD) [7]. RAD is a type of incremental model as depicted in
Fig. 1. The RAD methodology involves four (4) main phases which are requirements planning,
user design, construction and testing and cutover. The details of each phases are described as
follows.
A) Requirements Planning:
The objective of this phase is a process to determine the needs of the study such
as establishment of the problem statement, scope, objectives, data and functional
requirements, and types of hardware and software used in the implementation.
1) Data Requirement:
The input of the system is the air quality sensor MQ-135, temperature and
humidity sensor DHT-22. The MQ-135 sensor is used to sense the air quality which
comprises of chemical substances such as ammonia (NH3), nitrogen oxide (NOX),
alcohol, benzene and other harmful gases. The concentration scope of the detection for
benzene vapour and ammonia (NH3) are 10ppm to 1000ppm and 10ppm to 300ppm
respectively, whereas the DHT-22 is used to sense the temperature and humidity in the
air in degree Celsius and percentage. The output of the system is a notification email
alert and online data display and storage.
2) Software Requirement:
The main programming language used was Python. It was for code development
of the system. It was integrated with several modules to realize the system’s
functionalities. Other related software requirements were Hypertext Markup Language
(HTML) and Hypertext Preprocessor (PHP) for web development that incorporated with
open source Thing Speak [8] cloud storage. Thing Speak requires an Application
Programming Interface (API) in order to provide web services for connecting things or
DEPARTMENT OF TECHNOLOGY , SHIVAJI UNIVERSITY ,KOLHAPUR Page 19
APPLICATION OF INTERNET OF THINGS IN ENIVRONMENT MONIITORING – AIR QUALITY ASSESSMENT
objects such as storing and retrieving data from the sensors using Hypertext Transfer
Protocol (HTTP) at port 80 over the Internet. As for the alert notification part, the
system communicated with Google e-mail server for e-mail service of personal account.
Planning, user design, construction and testing.
3) Hardware Requirement:
The core development of this IOT device comprised of a credit-card sized
microprocessor computer i.e. Raspberry Pi 2 [9] that plugs into the monitor and a
keyboard. It is the processing device used in this system. Another key component is the
sensor. A sensor is a device that can detect and sense some specific input from the
physical environment such as light, heat, motion, moisture, and pressure. The output of
the sensor is usually converted the signal to human-readable display at the sensor
location or transmitted electronically using network environment for viewing or further
processing. In this case, low cost MQ-135 air quality gas sensor and DHT-22
temperature and humidity sensor were used in the implementation with additional
hardware such as Wi-Fi module for wireless communication, LEDs for indicator,
MCP3008 component for analogue to digital converter, breadboard, and jumper wires.
A. User Design:
In user design phase, model and prototype that represent all system processes,
inputs, and outputs are developed. User design is a continuous interactive process that
allows users to understand and modify a working model of the system that meets their
needs. In this study, the air quality monitoring system model and prototype were
developed based on system operations, inputs and outputs. The design for the proposed
system is illustrated in Fig. 2. It demonstrates the integration of the sensors, LEDs, Internet
and cloud storage with the processing platform i.e. Raspberry Pi 2 microprocessor.
B. Construction:
The objective of the construction phase is to carry out the detailed plan of the
proposed scheme. The design of the proposed system is initially described in the user
design phase and completed in construction phase. In this research, the construction was
divided into three (3) parts. The first part was to configure all hardware and program the
Raspberry Pi 2 board based on the design to ensure the system works properly. Next, the
cloud storage was configured so that the data acquisition can be stored in the cloud. The
last part was the notification part; where a client and an e-mail server were configured in
this system and alert notification message was sent to the user. The process cycles between
the user design phase and construction until final prototype is created illustrates the flow of
the proposed system, whereas demonstrates the example of hardware connectivity, in this
case is MQ-135 gas sensor to the Raspberry Pi board.
1) Arduino Uno:
2) Breadboard:
A breadboard is a construction base, which is used for the prototyping of electronics. It
is easy to create temporary prototypes and experimenting with circuit design.
Features:
Breadboard dimensions are 6.5*4.4*0.3 inch. It has a withstanding voltage of 1,000V AC
/ 1 minute.
Arduino UNO 1
MQ 135 Sensor 1
Bread Board 1
10K Potentiometer 1
1K Ohm Resistor 1
You can also use the analog pin to achieve the same thing. Read the analog values (0-5V) using
a microcontroller, this value will be directly proportional to the concentration of the gas to
which the sensor detects. You can experiment with this values and check how the sensor reacts
to different concentration of gas and develop your program accordingly.
The quality of the air is recognized by the MQ135 gas sensor. It can sense NH3, Nox,
alcohol, benzene, smoke, CO2 and is effectively used in air pollution monitoring system. Once
the MQ135 sensor is connected with the Arduino, it will sense all the gases and pollution level
in ppm (parts per million). The sensor MQ135 will give us the output in the form of voltage V/m
which is converted into ppm. That conversion will be made only if the library for MQ135 gas
sensor is installed. In the absence of gas, the area will show us the value 90, whereas the air
quality safe level is 1000 ppm, once it exceeds the level of 1000 ppm, the gas will cause
headache, sleepiness, stuffy air, etc.
If the gas level exceeds 2000 ppm, it will cause increased heart rate and many other
diseases. When the gas level is less than 1000 ppm, the OLED which is connected with the
system will display as “Fresh Air” and the LED lights which is connected will be in “off” position.
In the meantime, an alert message will be sent to the mobile phone as “Fresh Air” with the help
of a GSM module installed in the system. When the gas level exceeds 1000 ppm, the LED starts
glowing and the OLED display as “Poor Air”. When the level exceeds beyond 2000 ppm, the LED
keeps glowing and an alert message with the content “Poor Air” and the quality of the polluted
air in ppm will be sent to the mobile. OLED and LED are the output devices. OLED shows the
data of the gas level in ppm and LED glows when the ppm exceeds the threshold limit. This is
the working principle of this type of air quality monitoring.
0 to 100 Good
Profile:
Sensitive material of MQ135 gas sensor is SnO2, which with lower conductivity in
clean air. When target pollution gas exists, the sensor’s conductivity gets higher along with
the gas concentration rising. Users can convert the change of conductivity to correspond
output signal of gas concentration through a simple circuit. MQ135 gas sensor has high
sensitivity to ammonia gas, sulfide, benzene series steam, also can monitor smoke and
other toxic gases well. It can detect kinds of toxic gases and is a kind of low-cost sensor for
kinds of applications.
Features:
It has good sensitivity to toxic gas in wide range, and has advantages such as long
lifespan, low cost and simple drive circuit &etc.
Main Application:
It is widely used in domestic gas alarm, industrial gas alarm and portable gas
detector.
Model MQ 135
Cautions :
Following conditions must be prohibited:
➢ Exposed to organic silicon steam Sensing material will lose sensitivity and never recover if
the sensor absorbs organic silicon steam. Sensors must avoid exposing to silicon bond,
fixature, silicon latex, putty or plastic contain silicon environment.
➢ High Corrosive gas If the sensors are exposed to high concentration corrosive gas (such as
H2 S, SOX , Cl2, HCl, etc.), it will not only result in corrosion of sensors structure, also it
cause sincere sensitivity attenuation.
➢ Alkali, Alkali metals salt, halogen pollution. The sensors performance will be changed badly
if sensors be sprayed polluted by alkali metals salt especially brine, or be exposed to
halogen such as fluorine.
➢ Touch water Sensitivity of the sensors will be reduced when spattered or dipped in water.
➢ Freezing Do avoid icing on sensor’s surface, otherwise sensing material will be broken and
lost sensitivity.
➢ Applied higher voltage Applied voltage on sensor should not be higher than stipulated
value, even if the sensor is not physically damaged or broken, it causes down-line or heater
damaged, and bring on sensors’ sensitivity characteristic changed badly.
➢ Voltage on wrong pins For 6 pins sensor, Pin 2&5 is heating electrodes, Pin (1,3)/(4,6) are
testing electrodes (Pin 1 connects with Pin 3, while Pin 4 connects with Pin 6).If apply
voltage on Pin 1&3 or 4&6, it will make lead broken; and no signal putout if apply on pins
2&4.
There are 4 pins in the MQ-135 gas sensor. The sensor can output both digital and analog
signals. The operating voltage of the MQ-135 gas sensor is 5 volts. The pins are:
Let's discuss the project plan and how to connect the MQ-135 Gas Sensor with
Arduino. The story is simple. We are going to connect the MQ-135 gas sensor with Arduino to
detect Gas. If the sensor picks unusual gas in the environment, we will start a buzzer as an
alarm. We can also send SMS using the GSM module. But, in this project, we will only play a
buzzer. We will also include one red and one green LED.
We are going to receive analog value from the sensor. We used the Arduino A5 pin. So
we connected the A5 pin with the 4th pin in the sensor. The sensor GND and VCC goes to
Arduino GND and 5volt. We have connected the buzzer with Arduino digital D10 pin. The Green
and Red LED connected with D11 and D12 pin of Arduino.
Now it's time to test the project. To test the circuit, we have to upload Arduino code
using Arduino IDE. I will attach an Arduino scratch. Upload the program open serial monitor.
You will get the results in the serial monitor.
Here is the Arduino code for interfacing of MQ-135 gas sensor with Arduino.
/*
// visit www.programmingboss.com for more projects
// Visit and subscribe our YouTube channel: https://www.youtube.com/c/hacks360
*/
int sensorValue;
int buzzerPin = 10;
int greenLED = 11;
int redLED = 12;
int sensorPin = 5;
void setup() {
Serial.begin(9600); // sets the serial port to 9600
pinMode(buzzerPin, OUTPUT);
pinMode(greenLED, OUTPUT);
pinMode(redLED, OUTPUT);
pinMode(sensorPin, INPUT);
}
void loop() {
sensorValue = analogRead(sensorPin); // read analog input pin A5
Serial.print("AirQuality Value: ");
• Detecting a wide range of physical parameters including temperature ,humidity and carbon
dioxide.
• Easy to Install
• Updates On mobile phone directly
• Accurate Pollution monitoring
• Remote location monitoring.
• As this devices are interconnected via internet there are possibilities that they can get
hacked or monitored by malicious users or can be tracked by other systems as well. So
the security of the recorded data can be an issue using this type of devices.
CHAPTER NO. - 4
Results
Air quality monitoring is a device that is operated with the help of MQ135 gas sensor
and a software called Arduino. Arduino UNO is kind of a CPU and it has a microcontroller in
which the Arduino program which is feed is getting stored. Voltage applied to the Arduino
board is 5v and the voltage is supplied to Arduino with the USB connecter present in it. To the
Arduino MQ135 sensor is connected to verify the purity of the air. The sensor has a copper
inside it and so it sense restlessly since it does not have a on and off keys. The sensor gives the
value continuously but as the program that is given to Arduino displays the reading in the LCD
and mobile only after storing five values to itself and display us the average of the five readings.
The values displayed is visible in LCD since we have connected the LCD to the Arduino UNO with
the help of breadboard. Just getting the values in ppm in LCD is the first step that we have
done. It shows the quality of air around us and the measurement of the quality in ppm. Using
this we have checked the quality of air in the college campus of different blocks. We used to
take the device to the certain place and we get the reading. But this type of monitoring system
helps us get the information without our presence which results in sending text messages to
our mobile phone when needed to know the status of air in a particular place. For this we have
used GSM module. In that we have sim plate, the sim is placed there and when the we need to
know the range of air, we have to send a text message to the sim inserted to the sim plate and
we get the result message when the requested message is collected by the antenna. This GSM
module gets the data from the microcontroller that is present in the Arduino and sends it to our
mobile as a text message. Result obtained in the end of the experiment is the amount of
polluted air in our environment which is displayed in ppm. We get a text message from the
GSM module which is connected to the device. The text message not only gives us the amount
or the quality of the air it also says the status of air whether it is fresh or poor in quality. We can
also get to know the reading or the quality of air through the LCD.
CHAPTER NO - 5
Conclusion
This report is about a Wired Sensor Network (WSN) based air quality monitoring system
using IOT and gas sensors MQ135. It is a very simple system as compared to other existing air
quality monitoring systems. Usually Changes in pollutant level are responded in a very slow
process by sensor, causing pollutant strikes. The systems is low in cost with low consumption of
power, compact, and result in a high level of accuracy. It will be used to monitor the
environment with remote-friendly sensors. Basically indoor air quality is two to five times
higher than that of outdoor air quality. Usage of more chemical households and fresheners for
air results in degrading the quality of indoor air. Many solution have been proposed to find out
the pollutant with the use of mobile which has sensors of low cost. This project can also be
used for pollution monitoring purposes in all the places. In future, this kind of prototypes can
extend to real-time implementations in urban cities and Furthermore air pollutants can be
found.
CHAPTER NO - 6
Reference
1] Xu Luo and Jun Yang A survey on pollution monitoring using sensor networks in environment
protection journal of sensor China 2019
2] Nuria Castell, Franck R Dauge, Phillipp Schneider, Matthias Vogt , Uir Lerner, Barak Fishbain,
David Broday and Alena Bartonova. Can commercial low cost sensor platforms contributes to
air quality monioting and exposure estimates. Environmental international, volume 99 pp 293-
302 2017 FIC-SISTEEM-2020 IOP Conf. Series: Materials Science and Engineering 955 (2020)
012006 IOP Publishing doi:10.1088/1757-899X/955/1/012006 8
3] Sherin Abraham and Xinrong Li A cost efficient wireless sensor network system for indoor air
quality monitoring applications. 9th International conference on Future Networks and
Communication 34 pp 165-171 2014
4] Arthi Chinnathambi , Joshini, K Pavithra and V Parthiban Air Quality Monitoring System based
on ISO/IEC/IEEE 21451 Standards. International Journal of Research in Engineering, Science and
Management. Volume-2 pp 822-885 2019
5] Hongmin Li, Jianzhou Wang, Ranran Li and Haiyan Lu Novel analysis-forcast system based on
multi-objective optimization for air quality index Journal of cleaner production 208 1365-
1383,2019
6] Andrea L. Clements, William G. Griswold, Abhijit RS, Jill E. Johnston, Megan M. Herting, Jacob
Thorson, Ashley Collier-Oxandale and Michael Hannigan. Low cost air quality monitoring tools:
from research to practice 17(11) 2478 2017
7] Hall ES, Kaushik SM, Vanderpool RW , Duvall RM , Beaver MR, Long RW and Solomon PA.
Integrating Sensor Monitoring Technology into the Current Air Pollution Regulatory Support
Paradigm: Practical Considerations. Am. J. Environ. Eng. 2014, 4, 147–154.
8]Simone Brienza, Andrea Galli, Giuseppe banastasi, Paolo Bruschi, A low cost sensing system
for cooperative air quality monitoring in urban areas volume-15(6) 12242-12259 2015
9] Williams. R, Kilaru V J,Snyder E G, Kaufman A,Dye T, Rutter A, Russell A and Hafner A Air
Sensor Guidebook EPA/600/R-14/159 U.S. Environmental Protection Agency Washington, DC,
USA 2014
10] Jiang Y, Li K, Tian L, Piedrahita R,Yun X, Mansata O, Lv Q, Dick R.P, Hannigan M and Shang L
MAQS A personalized mobile sensing system for indoor air quality monitoring In Proceedings of
the 13th ACM International Conference on Ubiquitous Computing, Beijing, China, 17–21
September 2011