Air Pollution Document
Air Pollution Document
CHAPTER-1
INTRODUCTION
1.1 Introduction:
Increasing of air and sound pollution is the main growing issue these days. It is
necessary to monitor and keep it under control in order to save our health and environment.
IOT getting popular day by day because it has flexibility and low cost.Increasing of
urbanization and vehicles use on road atmospheric conditions have considerably affected
harmful effects of pollution include mild allergic reactions such as irritation of throat, eyes,
ears and nose as well as some serious problems like heart diseases, pneumonia, lung and
asthma. Here we propose an air quality as well as sound pollution monitoring system that
allows us to monitor and check live air quality as well as sound pollution in an area through
IoT. This system uses air quality and sound sensors to sense presence of harmful
gases/compounds in the air and sound levels in the surrounding areas and constantly
transmit this data. Also, system keeps measuring sound level and reports it.
1.2 LiteratureSurvey:
In[1] In this project we are going to make an IOT Based Air 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.Previously we have built the LPG detector using MQ6 sensor
and Smoke detector using MQ2 sensor but this time 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 switch on
the Exhaust fan or can send alert SMS/mail to theuser.
In[2]The level of pollution has increased with times by lot of factors like the increase
in population, increased vehicle use, industrialization and urbanization which results in
harmful effects on human wellbeing by directly affecting health of population exposed to it.
In order to monitor In this project we are going to make an IOT Based Air 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 qualitygoesdown 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 switch
on the Exhaust fan or can send alert SMS/mail to theuser.
In[3]The level of pollution has increased with times by lot of factors like the increase
in population, increased vehicle use, industrialization and urbanization which results in
harmful effects on human wellbeing by directly affecting health of population exposed to it.
In IOT Based Air Pollution Monitoring System the Air Quality is measured 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.MQ135 sensor which is the
best choice for monitoring Air Quality as it can detects most harmfulgases and can measure
their amount accurately.The pollution level can be monitored anywhere using computer or
mobile. Install this system anywhere and can also trigger some device when pollution goes
beyond some level, like it can switch on the Exhaust fan or can send alert.
In[4] The level of pollution has increased with times by lot of factors like the increase
in population, increased vehicle use, industrialization and urbanization which results in
harmful effects on human wellbeing by directly affecting health of population exposed to it.
In order to monitor In this project we are going to make an IOT Based Air 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 theair 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. In this IOT project, you can
monitor the pollution level from anywhere using your computer ormobile.
In[5] Air and sound pollution is growing issue these days. It is necessary to monitor
air quality for a better future and healthy living for all. In this paper, we propose an air
quality as well as sound pollution monitoring system that allows us to monitor and check
live air quality as well as sound pollution in particular area through IoT. It uses air sensors
to sense the harmful gases like NH 3, Benzene, smoke and CO2. Also system keeps
measuring sound level and reports it to the online server over IoT. The main aim of the
paper is to monitor air pollution in different areas and we can keep a watch on noise
pollution.
In[6] The pollution of air and sound is increasing abruptly. To bring it under control
its monitoring is majorly recommended. To overcome this issue, we are introducing a
system through which the level of sound and the existence of the harmful gases in the
surroundings can be detected. The growing pollution at such an alarming rate has started
creating trouble for the living beings, may it be high decibels or toxic gases present in the
environment leaves a harmful effect on human’s health and thus needs a special attention.
This monitored data can be obtained from remote location without actually visiting it due to
the access of internet. The framework of this monitoring system is based on combination or
collaboration of affective distributed sensing units and information system for data
composition. The role of IoT is the new concept used in air and sound pollution
measurement, which allows data access from remotelocations.
Chapter4: Results and Discussion: In this Chapter, we have discussed about the
experimental model and working procedure of the system.
Chapter 5: Conclusion: In this Chapter, Conclusion and future scope of the project are
discussed.
CHAPTER-2
COMPONENTS DESCRIPTION
2.1 Introduction
In this Chapter we have discussed about the components used for implementing
this project. The development board we have used for this project is NODEMCU
ESP8266. It is a cost-effective WiFi module that supports both TCP/IP
and microcontrollers. It runs at 3V with maximum voltage range around 3.6V. More
often than not, it also comes under name ESP8266 Wireless Transceiver. In order to
monitor the quality of air in the atomosphere we have used MQ 135 sensor and to
monitor the sound levels we have used Sound sensor. All these parameters are
monitored using a virtual platform which will be discussed in upcoming chapters.
i. NODEMCU
iii. LED’S
iv. Jumperwires
NODEMCU
Fig:2.1 NODEMCU ESP-12 Development
Kit
2.2 Specifications
Voltage :3.3v.
Wi-Fidirect(P2P),soft-AP.
RAM : 32K+80K.
802.11 support;b/g/n.
MQ131 Ozone
MQ137 Ammonia
MQ2 GasSensor
Give your next Arduino project a nose for gasses with the MQ2 Gas Sensor
Module. This is a robust Gas sensor suitable for sensing LPG, Smoke, Alcohol,
Propane, Hydrogen, Methane and Carbon Monoxide concentrations in the air. If you
are planning on creating an indoor air quality monitoring system; breath checker or
early fire detection system, MQ2 Gas Sensor Module is a great choice.
MQ2 Gas sensor works on 5V DC and draws around 800mW. It can detect
LPG, Smoke, Alcohol, Propane, Hydrogen, Methane and Carbon Monoxide
concentrations anywhere from 200 to 10000ppm.
MQ3 GasSensor
The Grove - Gas Sensor(MQ3) module is useful for gas leakage detection (in
home and industry). It is suitable for detecting Alcohol, Benzene, CH4, Hexane, LPG,
CO. Due to its high sensitivity and fast response time, measurements can be taken as
soon as possible. The sensitivity of the sensor can be adjusted by using the
potentiometer
Features
MQ7 GasSensor
Sensitive material of MQ-7 gas sensor is SnO2, which with lower conductivity
in clean air. It makedetection by method of cycle high and low temperature, and detect
CO when low temperature (heated by 1.5V). The sensor’s conductivity is more higher
along with the gas concentration rising. When high temperature (heated by 5.0V), it
cleans the other gases adsorbed under low temperature. Please use simple electro
circuit, Convert change of conductivity to correspond output signal of gas
concentration. MQ-7 gas sensor has high sensitityto Carbon Monoxide. The sensor
could be used to detect different gases contains CO, it is with low cost and suitable for
differentapplication.
Character
* Industrial COdetector
MQ-135 GasSensor
Where to use MQ-135 GasSensor
The MQ-135 Gas sensors are used in air quality control equipment’s and are
suitable for detecting or measuring of NH3, NOx, Alcohol, Benzene, Smoke, CO2.
The MQ-135 sensor module comes with a Digital Pin which makes this sensor to
operate even without a microcontroller and that comes in handy when you are only
trying to detect one particular gas. If you need to measure the gases in PPM the
analog pin needto be used. The analog pin is TTL driven and works on 5V and so can
be used with most commonmicrocontrollers.
If you are looking for a sensor to detect or measure common air quality gases
such as CO2, Smoke, NH3, NOx, Alcohol, Benzene then this sensor might be the
right choice foryou.
You can either use the digital pin or the analog pin to do this. Simply power
the module with 5V and you should notice the power LED on the module to glow and
when no gas it detected the output LED will remain turned off meaning the digital
output pin will be 0V. Remember that these sensors have to be kept on for pre-heating
time (mentioned in features above) before you can actually work with it. Now,
introduce the sensor to the gas you want to detect and you should see the output LED
to go high along with the digital pin, if not use the potentiometer until the output gets
high. Now every time your sensor gets introduced to this gas at this particular
concentration the digital pin will go high (5V) else will remain low(0V).
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.
MQ-135 gas sensor applies SnO2 which has a higher resistance in the clear air
as a gas-sensing material. When there is an increase in polluting gases, the resistance
of the gas sensor decreases along with that. To measure PPM using MQ-135 sensor
we need to look into the (Rs/Ro) v/s PPM graph taken from the MQ135datasheet.
Fig:2.2 MQ135 Data Sheet
The above figure shows shows the typical sensitivity characteristics of the
MQ-135 for several gases. in their: Temp: 20, Humidity: 65%, O2 concentration 21%,
RL=20kΩ,
The value of Ro is the value of resistance in fresh air (or the air with we are
comparing) and the value of Rs is the value of resistance in Gas concentration. First
you should calibrate the sensor by finding the values of Ro in fresh air and then use
that value to find Rs using the below formula:
Once we calculate Rs and Ro we can find the ratio and then using the graph
shown above we can calculate the equivalent value of PPM for that particular gas.
MQ-135 SensorFeatures
Wide detectingscope
MQ137 gassensor
The MQ-137 Gas sensor can detect or measure gasses like Ammonia (NH3)
and Carbon Mono-oxide (CO). The module version of this sensor comes with a
Digital Pin which makes this sensor to operate even without a microcontroller and
that comes in handy when you are only trying to detect one particular gas. When it
comes to measuring the gas in ppm the analog pin has to be used, the analog pin is
also TTL driven and works on 5V and hence can be used with most common
microcontrollers.
Soif you are looking for a sensor to detect or measure Ammonia or CO with or
without a microcontroller then this sensor might be the right choice foryou.
MQ-137 SensorFeatures
Early LEDs were often used as indicator lamps, replacing small incandescent
bulbs, and in seven-segment displays. Recent developments have produced white-
light LEDs suitable for room lighting. LEDs have led to new displays and sensors,
while their high switching rates are useful in advanced communications technology.
LEDs have many advantages over incandescent light sources, including lower
energy consumption, longer lifetime, improved physical robustness, smaller size, and
faster switching. Light-emitting diodes are used in applications as diverse as aviation
lighting, automotive headlamps, advertising, general lighting, traffic signals, camera
flashes, lighted wallpaper and medical devices.
Unlike a laser, the color of light emitted from an LED is neither coherent nor
monochromatic, but the spectrum is narrow with respect to human vision, and
functionally monochromatic.
TYPES OFLEDS
Miniature
These are mostly single-die LEDs used as indicators, and they come in various
Common package shapes include round, with a domed or flat top, rectangular
with a flat top (as used in bar-graph displays), and triangular or square with a flat top.
The encapsulation may also be clear or tinted to improve contrast and viewing angle.
Infrared devices may have a black tint to block visible light while passing infrared
radiation.
Advantages
Efficiency: LEDs emit more lumens per watt than incandescent light bulbs.[115]The
efficiency of LED lighting fixtures is not affected by shape and size, unlike
fluorescent light bulbs ortubes.
Color: LEDs can emit light of an intended color without using any color filters as
traditional lighting methods need. This is more efficient and can lower initialcosts.
Size: LEDs can be very small (smaller than 2 mm2[116]) and are easily attached to
printed circuitboards.
Warmup time: LEDs light up very quickly. A typical red indicator LED achieves full
brightness in under a microsecond. LEDs used in communications devices can have
even faster responsetimes.
Cycling: LEDs are ideal for uses subject to frequent on-off cycling, unlike
incandescent and fluorescent lamps that fail faster when cycled often, or high-intensity
discharge lamps (HID lamps) that require a long time beforerestarting.
Cool light: In contrast to most light sources, LEDs radiate very little heat in the form
of IR that can cause damage to sensitive objects or fabrics. Wasted energy is dispersed
as heat through the base of theLED.
Slow failure: LEDs mainly fail by dimming over time, rather than the abrupt failure
of incandescentbulbs.
Lifetime: LEDs can have a relatively long useful life. One report estimates 35,000 to
50,000 hours of useful life, though time to complete failure may be shorter or
longer. Fluorescent tubes typically are rated at about 10,000 to 25,000 hours,
depending partly on the conditions of use, and incandescent light bulbs at 1,000 to
2,000 hours. Several DOE demonstrations have shown that reduced maintenance costs
from this extended lifetime, rather than energy savings, is the primary factor in
determining the payback period for an LEDproduct.
Shock resistance: LEDs, being solid-state components, are difficult to damage with
external shock, unlike fluorescent and incandescent bulbs, which arefragile.[122]
Focus: The solid package of the LED can be designed to focus its light. Incandescent
and fluorescent sources often require an external reflector to collect light and direct it
in a usable manner. For larger LED packages total internal reflection (TIR) lenses are
often used to the same effect. However, when large quantities of light are needed
many light sources are usually deployed, which are difficult to focus
or collimate towards the sametarget.
Disadvantages
Voltage sensitivity: LEDs must be supplied with a voltage above their threshold
voltage and a current below their rating. Current and lifetime change greatly with a
small change in applied voltage. They thus require a current-regulated supply (usually
just a series resistor for indicatorLEDs).
Color rendition: Most cool-white LEDs have spectra that differ significantly from
a black body radiator like the sun or an incandescent light. The spike at 460 nm and
dip at 500 nm can make the color of objects appear differently under cool-white LED
illumination than sunlight or incandescent sources, due to metamerism, red surfaces
being rendered particularly poorly by typical phosphor-based cool-white LEDs. The
same is true with greensurfaces.
Area light source: Single LEDs do not approximate a point source of light giving a
spherical light distribution, but rather a lambertian distribution. So, LEDs are difficult
to apply to uses needing a spherical light field; however, different fields of light can be
manipulated by the application of different optics or "lenses". LEDs cannot provide
divergence below a fewdegrees.
Light pollution: Because white LEDs emit more short wavelength light than sources
such as high-pressure sodium vapourlamps, the increasedblue and green sensitivity
of scotopic vision means that white LEDs used in outdoor lighting cause substantially
more sky glow.
Efficiency droop: The efficiency of LEDs decreases as the electric current increases.
Heating also increases with higher currents, which compromises LED lifetime. These
effects put practical limits on the current through an LED in high powerapplications.
Impact on insects: LEDs are much more attractive to insects than sodium-vapor
lights, so much so that there has been speculative concern about the possibility of
disruption to foodwebs.
Use in winter conditions: Since they do not give off much heat in comparison to
incandescent lights, LED lights used for traffic control can have snow obscuring them,
leading toaccidents.
Thermal runaway: Parallel strings of LEDs will not share current evenly due to the
manufacturing tolerance in their forward voltage. Running two or more strings from a
single current source will likely result in LED failure as the devices warm up. A
circuit is required to ensure even distribution of current between parallelstrands.
Applications
Visual signals where light goes more or less directly from the source to the human
eye, to convey a message ormeaning
Illumination where light is reflected from objects to give visual response of these
objects
Individual jump wires are fitted by inserting their "end connectors" into the slots
provided in a breadboard, the header connector of a circuit board, or a piece of test
equipment.
Types
There are different types of jumper wires. Some have the same type
of electrical connector at both ends, while others have different connectors. Some
common connectorsare:
Solid tips – are used to connect on/with a breadboard or female header connector.
The arrangement of the elements and ease of insertion on a breadboard allows
increasing the mounting density of both components and jump wires without fear
of short-circuits. The jump wires vary in size and colour to distinguish the
different workingsignals.
Crocodile clips
Banana connectors
Registeredjack
RCA connectors.
RF connectors.
BreadBoard
A breadboard is a construction base for prototyping of electronics. Originally it was
[1]
literally a bread board, a polished piece of wood used for slicing bread. In the 1970s
the solderless breadboard (a.k.a. plugboard, a terminal array board) became available and
nowadays the term "breadboard" is commonly used to refer tothese.
Because the solderless breadboard does not require soldering, it is reusable. This
makes it easy to use for creating temporary prototypes and experimenting with circuit
design. For this reason, solderless breadboards are also popular with students
and in technological education. Older breadboard types did not have this property. A strip
board (Veroboard) and similar prototyping printed circuit boards, which are used to build
semi-permanent soldered prototypes or one-offs, cannot easily be reused. A variety of
electronic systems may be prototyped by using breadboards, from small
analog and digital circuits to complete central processingunits
Sources of AirPollution
The sources of man-made air pollution (or emission sources) are of basically
two types:
In addition, there are also natural sources of pollution (e.g., eroded areas,
volcanoes, certain plants which release great amounts of pollen, sources of bacteria,
spores and viruses). Natural sources are not discussed in this article.
Types of AirPollutants
Air pollutants are usually classified into suspended particulate matter (dusts,
fumes, mists, smokes), gaseous pollutants (gases and vapours) and odours. Some
examples of usual pollutants are presented below:
Suspended particulate matter (SPM, PM-10) includes diesel exhaust, coal fly-
ash, mineral dusts (e.g., coal, asbestos, limestone, cement), metal dusts and fumes
(e.g., zinc, copper, iron, lead) and acid mists (e.g., sulphuric acid), fluorides, paint
pigments, pesticide mists, carbon black and oil smoke. Suspended particulate
pollutants, besides their effects of provoking respiratory diseases, cancers, corrosion,
destruction of plant life and so on, can also constitute a nuisance (e.g., accumulation
of dirt), interfere with sunlight (e.g., formation of smog and haze due to light
scattering) and act as catalytic surfaces for reaction of adsorbedchemicals.
While some odours are known to be caused by specific chemical agents such
as hydrogen sulphide (H2S), carbon disulphide (CS2) and mercaptans (R-SH or R1-S-
R2) others are difficult to definechemically.
· emissionsinventory
· causalanalysis
· controlmeasures
· cost of controlmeasures
· strategies forfollow-up.
· nitrogenoxides
· suspended particulatematter
· carbonmonoxide
· ozone
Starting from the emissions inventory, with its thousands of compounds which
cannot all be monitored in the ambient air for economy reasons, use of dispersion
modelling can help to estimate the concentrations of more “exotic” compounds. Using
appropriate meteorology parameters in a suitable dispersion model, annual averages
and percentiles can be estimated and compared to air quality standards or guidelines,
if theyexist.
Wet collectors (scrubbers) can be used to collect, at the same time, gaseous
pollutants and particulate matter. Also, certain types of combustion devices can burn
combustible gases and vapours as well as certain combustible aerosols. Depending on
the type of effluent, one or a combination of more than one collector can be used.
The control of odours that are chemically identifiable relies on the control of
the chemical agent(s) from which they emanate (e.g., by absorption, by incineration).
However, when an odouris not defined chemically or the producing agent is found at
extremely low levels, other techniques may be used, such as masking (by a stronger,
more agreeable and harmless agent) or counteraction (by an additive which
counteracts or partially neutralizes the offensiveodour).
· reducing traveldemand.
While such approaches promote fuel conservation, they are not yet accepted
by the general population, and governments have not seriously tried to implement
them.
All these technological and political solutions to the motor vehicle problem
except substitution of electrical cars are increasingly offset by growth in the vehicle
population. The vehicle problem can be solved only if the growth problem is
addressed in an appropriateway.
The estimation of the costs of public health and environmental effects is the
most difficult part of a clean air implementation plan, as it is very difficult to estimate
the value of lifetime reduction of disabling illnesses, hospital admission rates and
hours of work lost. However, this estimation and a comparison with the cost of
control measures is absolutely necessary in order to balance the costs of control
measures versus the costs of no such measure undertaken, in terms of public health
and environmentaleffects.
Strategies forFollow-up
A strategy for follow-up of air quality management consists of plans and
policies on how to implement future clean air implementation plans.
Role of Environmental ImpactAssessment
Environmental impact assessment (EIA) is the process of providing a detailed
statement by the responsible agency on the environmental impact of a proposed action
significantly affecting the quality of the human environment (Lee 1993). EIA is an
instrument of prevention aiming at consideration of the human environment at an
early stage of the development of a programme orproject.
existing models
OLDMETHOD
The commercial meters available in the market are Fluke CO-220 carbon
monoxide meter for CO, Amprobe CO2 meter for CO2, ForbixSemicon LPG gas
leakage sensor alarm for LPG leakage detection. The researchers in this field have
proposed various air quality monitoring systems based on WSN, GSM and GIS. Now
each technology has limited uses according to the intended function, as Zigbee is
meant for users with Zigbee trans-receiver, Bluetooth. GIS based system is designed,
implemented and tested to monitor the pinpoints of air pollution of any area. It
consists of a microcontroller, gas sensors, mobile unit, a temporary memory buffer
and a web server with internet connectivity which collects data from different
locations along with coordinate’s information at certain time of a day. The readings
for particular location are averaged in a closed time and space. The GlobalPositioning
System (GPS) module is attached to a system to provide accurate representation of
pollution sources in an area. The recorded data is periodically transferred to a
computer through a General Packet Radio Service (GPRS) connection and then the
data will be displayed on the dedicated website with user acceptance. As a resultlarge
number of people can be benefited with thelarge
ARDUINOMETHOD
We start with connecting the ESP8266 with the Arduino. ESP8266 runs on
3.3V and if you will give it 5V from the Arduino then it won’t work properly and it
may get damage. Connect the VCC and the CH_PD to the 3.3V pin of Arduino. The
RX pin of ESP8266 works on 3.3V and it will not communicate with the Arduino
when we will connect it directly to the Arduino. So, we will have to make a voltage
divider for it which will convert the 5V into 3.3V. This can be done by connecting
three resistors in series like we did in the circuit. Connect the TX pin of the ESP8266
to the pin 10 of the Arduino and the RX pin of the esp8266 to the pin 9 of Arduino
through the resistors.ESP8266 Wi-Fi module gives your projects access to Wi-Fi or
internet. It is a very cheap device and makes your projects very powerful. It can
communicate with any microcontroller and it is the most leading devices in the IOT
platform. Learn more about here. Then we will connect the MQ135 sensor with the
Arduino. Connect the VCC and the ground pin of the sensor to the 5V and ground of
the Arduino and the Analog pin of sensor to the A0 of the Arduino. Connect a buzzer
to the pin 8 of the Arduino which will start to beep when the condition becomes true.
The MQ135 sensor can sense NH3, NOx, alcohol, Benzene, smoke, CO2 and some
other gases, so it is perfect gas sensor for our Air Quality MonitoringProject.
When we will connect it to Arduino then it will sense the gases, and we will
get the Pollution level in PPM (parts per million). MQ135 gas sensor gives the output
in form of voltage levels and we need to convert it into PPM. So for converting the
output in PPM, here we have used a library for MQ135 sensor, it is explained in detail
in “Code Explanation” section below. Sensor was giving us value of 90 when there
was no gas near it and the safe level of air quality is 350 PPM and it should not
exceed 1000 PPM. When it exceeds the limit of 1000 PPM, then it starts cause
Headaches, sleepiness and stagnant, stale, stuffy air and if exceeds beyond 2000 PPM
then it can cause increased heart rate and many other diseases. When the value will be
lessthan1000PPM,thentheLCDandwebpagewilldisplay“FreshAir”.Whenever
the value will increase 1000 PPM, then the buzzer will start beeping and the LCD and
webpage will display “Poor Air, Open Windows”. If it will increase 2000 then the
buzzer will keep beeping and the LCD and webpage will display “Danger! Move to
fresh Air”.
PROPOSEDSYSTEM
NODEMCU
The nodemcu is a open source IOT platform. It includes firmware which runs
on the ESP8266 Wi-Fi SoC from Espress if systems, and hardware which is based on
the ESP-12 module. The term “NODEMCU” by default refers to the firmware
ratherthen the development kits. The firmware uses the Lua scripting language. It is
based on the eLua project and build on the espressif Non-OS SDK for ESP-8266. It
uses many open sources projects, such as lua-cjson, and spiffs.
In this project we are going to make an IOT based air pollution monitoring
system in which we will monitor the air quality over a web server using internet
.when the air quality goes down beyond a certain level, means when there are
sufficient amount of harmful gases are present in the atmosphere like CO2,CO,NH3
and CH4. It will show the air quality in ppm levels on the serial monitor or smart
phones so that we can monitor it very easily. In this air quality system we are using
annodemcu. It is an forward step an arduino , the nodemcu is a combination of the
arduino and Wi-Fi module(ESP 8266) .
In this system we are using nodemcu, MQ135 Gas sensor, LEDs, jumper wires
and breadboard. Nodemcuis the microcontroller,MQ1345 gas sensor is the air qualitity
sensor, LEDs are the indicating the quality of air, jumper wires are using connecting
the devices.the MQ135 gas sensor sence the air quality. In this sensor having sno2
layer which has a higher resistance in the clear air as a gas sensing material. When
there is an increase in pollution gases, the resistance of the gas sensor decreases along
with that. To measure ppm using MQ135 sensor we need to look into the (RS/R0).
The values of R0 is the values of the resistance in fresh air and the value of RS is the
value of the resistance at gas concentration. First you should calibrate the sensor by
finding the values of R0 in fresh air and then use that value to find RS using the
formulas. Once we calculate RS and R0 we can find the ratio we can calculate the
equivalent value of PPM for that particular gas.
In this system we are using the leds that are indicates quality of air in the
environment. How it is we are giving the levels of the gases. The MQ135 sensor has
sense the air when the air is polluted beyond the level of normal condition it indicates
the level of the pollution. when the air is not polluted the that is normal condition the
green leds will be blinks. That means the surrounding air quality is not polluted. when
the surrounding environment is polluted the red leds will be blinks. It means the
environment will be polluted with chemical gases that are CO, CO2, NH3 and CH4.
Now in this project we are using locally available gas sensor for observing the
polluted gases like Carbon monoxide (CO), Carbon dioxide (CO2) and parameters
like temperature, humidity. By using this method people can view the level of
pollution through wireless system. It reduced cost, reliable and comfortable for any
place where we are monitoring thegases.
Toxic Gases
Toxic gases are carbon dioxide and carbon monoxide. These gases are very
harmful and dangerous to the people
Carbon Monoxide(Co)
Enters the bloodstream and reduces oxygen delivery to the body's organs and
tissues. The health Health and Environmental Effects
Carbon monoxide threat from exposure to CO is most serious for those who
suffer from cardiovascular disease. Healthy individuals are also affected but only at
higher levels of exposure. Exposure to elevated CO levels is associated with visual
impairment, reduced work capacity, reduced manual dexterity, poor learning ability
and difficulty in performing complex tasks.
Carbon di Oxide(co2)
Occupations that are most at risk from CO 2 exposure include miners, brewers,
carbonated beverage workers and grain elevator workers. CO2is present in the
atmosphere at 0.035%. In terms of worker safety, Occupational Safety and Health
Administration (OSHA) has set a permissible exposure limit (PEL) for CO 2 of 5,000
parts per million (ppm) over an 8-hour work day, which is equivalent to 0.5% by
volume of air.Similarly the American Conference of Governmental Industrial
Hygienists (ACGIH) TLV (threshold limit value) is 5,000 ppm for an 8hour workday
with a ceiling exposure limit of 30,000 ppm for a 10-minute period based on acute
inhalation data.
Ammonia
Ammonia or azaneisacompoondo nitrogen anhydrogen theformula NH3. It
is a colourlessgas via characteristic pungent smell. Ammonia contributes
significantlytae thenutreetionalneeds o terrestrial organisms bi serving as a
precursor taefuidanfertilizers. Ammonia, either directly or indirectly, is an aa a biggin-
block for the synthesis omonypharmaceuticalsan
is used in money commercial
cleaningproducts. Althoin wide use, ammonia is both caustic and hazardous. The
global industrial production of ammonia for 2012 wisanticipatittaebe 198 million
tonnes,[7]a 35% increase over the estimate 2006 global output o 146.5 milliontonnes.
Methane
Methane is a chemical compound with the chemical formula CH4 (one atom
of carbon and four atoms of hydrogen). It is a group14 hydride and the simplest
alkane, and is the main constituent of natural gas. The relative abundance of methane
onEa
rthmakes it an attractive fuel, although capturing and storing it poses challenges due t
o its gaseous state under normal conditions for temperature and pressure.
Natural methane is found both below ground and under the sea floor. When it
reaches the surface and the atmosphere, it is known as atmospheric methane.[6]The
Earth's atmospheric methane concentration has increased by about 150% since 1750,
and it accounts for 20% of the total radiative forcing from all of the long-lived and
globally mixed greenhouse gases.
Uses OfMethane
WorkingProcedure:
The components used in this paper are mainly NODEMCU (Wi-Fi module is
inbuild in the nodemcu), MQ135 gas sensor, LEDs, jumper wires and bread board.
The NODEMCU is an open source IOT plate form. It includes firmware which runs
on ESP8266 Wi-Fi SOC (system on chip) from Espressif system, and hardware which
is based on ESP-12 module. The term “NODEMCU” by default refers to the firmware
rather than the developmentkit.
The analog pin of MQ135 gas sensor is connected to analog port (A0) of
nodemcu , the vcc point of the MQ135 gas sensor is connected to the 3v of the
nodemcu board and GND of the MQ135 gas sensor is connected to the GND of the
nodemcu. Here the connection of the sensor to the nodemcuis over. We are using leds
as notification to indicate whether the air is polluted or not. When there are no
polluted gases present in the atmosphere green leds will glows on, when the air is
polluted with toxic gases we can see the blinking of red led.
In this air pollution monitoring system are using 8 ledsbecause of the each
gases having 2leds(green and red). When the level of the toxic gas is in safe level the
green led will be bilks, when the toxic gas level will be in high that is pollution will
behigh that time the red will be bilks. This air monitoring system senses 4 toxic gases
that are namely carbon monoxide, carbon di oxide, ammonia andbenzene.
Experimental Model:
#include <Blynk.h>
#include<ESP8266WiFi.h>#includ
e<BlynkSimpleEsp8266.h>#includ
e "MQ135.h"
#define PIN_MQ135 A0
#define LED1 D1
#define LED2 D2
#define LED3 D3
#define LED4 D4
#define LED5 D5
#define LED6 D6
#define LED7 D7
#define LED8 D8
charauth[] = "44889434d21240f3b5b3165dbcae4a5c";
void setup()
Serial.begin(115200);
Blynk.begin(auth,ssid,pass);
pinMode(LED1,OUTPUT);
pinMode(LED2,OUTPUT);
pinMode(LED3,OUTPUT);
pinMode(LED4,OUTPUT);
pinMode(LED5,OUTPUT);
pinMode(LED6,OUTPUT);
pinMode(LED7,OUTPUT);
pinMode(LED8,OUTPUT);
void loop()
Blynk.run();
float r0 = 76.63;
floatrs = mq135_sensor.getResistance();
Serial.print(r0);
Serial.print(correctedRZero);
Serial.print(ppm);
Serial.print(correctedPPM);
Serial.println("ppm");
Serial.print("ratio=");
Serial.println(ratio);
CO2 = 114.3544 * x;
BLYNK_READ(V0);
float C2 = CO2;
Blynk.virtualWrite(V0,C2);
CO = 662.9382 * y;
BLYNK_READ(V1);
float Cm = CO;
Blynk.virtualWrite(V1,Cm);
}
float z = pow(rs / r0, -2.48818);
NH3 = z * 102.694;
BLYNK_READ(V2);
float AM = NH3;
Blynk.virtualWrite(V2,AM);
CH4 = 1021 * w;
BLYNK_READ(V3);
float MN = CH4;
Blynk.virtualWrite(V3,MN);
Serial.print("CO2=");
Serial.println(CO2);
Serial.print("CO=");
Serial.println(CO);
Serial.print("NH3=");
Serial.println(NH3);
Serial.print("CH4=");
Serial.println(CH4);
if (CO2 >=420)
{
float co2 = CO2 - 420;
Serial.print("co2= ");
Serial.println(co2);
delay(500);
digitalWrite (LED1,LOW);
delay(500);
digitalWrite (LED2,LOW);
else
digitalWrite (LED2,HIGH);
delay(500);
digitalWrite (LED2,LOW);
delay(500);
digitalWrite (LED1,LOW);
float co = CO - 3930;
Serial.print("co= ");
Serial.println(co);
digitalWrite (LED3,HIGH);
delay(500);
digitalWrite (LED3,LOW);
delay(500);
digitalWrite (LED4,LOW);
else
digitalWrite (LED4,HIGH);
delay(500);
digitalWrite (LED4,LOW);
delay(500);
digitalWrite (LED3,LOW);
{
float nh3 = NH3 - 320;
Serial.print("nh3= ");
Serial.println(nh3);
digitalWrite (LED5,HIGH);
delay(500);
digitalWrite (LED5,LOW);
delay(500);
digitalWrite (LED6,LOW);
else
digitalWrite (LED6,HIGH);
delay(500);
digitalWrite (LED6,LOW);
delay(500);
digitalWrite (LED5,LOW);
Serial.print("ch4= ");
Serial.println(ch4);
digitalWrite (LED7,HIGH);
delay(500);
digitalWrite (LED7,LOW);
delay(500);
digitalWrite (LED8,LOW);
}
else
digitalWrite (LED8,HIGH);
delay(500);
digitalWrite (LED8,LOW);
delay(500);
digitalWrite (LED7,LOW);
delay(1000);
PrototypeModel:
Fig:4.3 Prototype Model
Result:
CHAPTER-5
Conclusion and FutureScope
Conclusion
The system to monitor the environment by using the nodemcu. IOT technology
is proposed to improve quality of air. With the use of IOT technology enhances the
process of monitoring various aspects of environment such as air quality monitoring
issue proposed in this paper. Here the using the mq135 gas sensor gives the sense of
different type of toxic gases and nodemcuis the heart of the system which control the
entire process. In this nodemcu having ainbuilt Wi-Fi module and led is the indicating
output. The air monitoring system overcomes the problem of the highly polluted areas
which is a major issue. It supports the new technology and effectively supports the
healthy life concept. This system has features for the people to monitor the amount of
pollution on their mobile phones using the applications
FutureScope
Mq135 gas sensor has some disadvantages it can be overcome in future by
increasing itAccuracy
It can only sense the particular toxic gases only in future many toxic gases will
measure by placing manysensors
We can modify the sensor in the way to detect the many more gases accurately
and perfectly infuture
REFERENCES:
[1] https://www.tinkercad.com/
[2] https://circuits.io/
[3] https://www.arduino.cc/
[5] Riteeka Nayak, Malaya Ranjan Panigrahy , Vivek Kumar Rai and T AppaRao:IOT
based air pollution monitoring system Vol-3, Issue-4,2017
[6] NavreetinderKaur , Rita Mahajan and Deepak Bagai: Air Quality Monitoring System
based on Arduino Microcontroller Vol. 5, Issue 6, June2016
[7] PalaghatYaswanth Sai: An IoT Based Automated Noise and Air Pollution Monitoring
System Vol. 6, Issue 3, March2017
[9] Exploring Arduino : Tools and Techniques for Engineering Wizardry by Jeremy Blum
1stedition
[10] Ms. Sarika Deshmukh, Mr.Saurabhsurendran and Prof.M.P. Sardey:Air and Sound
Pollution Monitoring System using IoT Volume: 5 Issue:6