Professional Documents
Culture Documents
IoT Based Air Quality and Weather Monitoring System With Android Application
IoT Based Air Quality and Weather Monitoring System With Android Application
Abstract—In present times, it is apparent that weather and and wind speed has a major influence on crop growth [1]. It
climatic circumstances have grown variable and unpredictable, has brought climate change, such as global warming, global
not just in our country but also in other parts of the world, dim, rainfall, drought, acid rain, foggy weather, etc. Living
potentially wreaking havoc on agricultural productivity.
There are many environmental factors like air, precipitation, things on earth and underwater suffers from many problems,
temperature, humidity, and many other parameters and such as a change in life due to a lack of adequate living
conditions that keep on changing alarmingly and unpredictably. facilities. The fresh weather is most important for every living
It is critical of the hour to have a real-time, local weather thing. In this research, the ultimate objective of this device
station that can keep farmers informed about current weather was to determine whether monitoring for every other living
conditions. As a consequence, they are able to make the best
judgments at the correct moment and safeguard their crops. thing, including humans on earth, is a serious problem. How
Progress has been made in the Internet of Things (IoT) sector sound, climate, and weather have changed for air pollution,
to track the condition of weather and control air quality, which temperature, humidity and can preserve sound for our lives
has allowed the number of harmful substances in air particles. very important. This system makes it easy to know the weather
The goal is to build a device that can monitor the condition of quality answers. In 2015, various initiatives were launched [2].
the weather in real-time. A dedicated server is available for an
android application to monitor the weather on the internet. The It essentially defined the emission rate of polluting poisonous
system can deploy anywhere. Some external devices can enable gasses. Harmful gasses, Industrial air pollution protection [3],
when pollution crosses the safe zone, like informing all the and a health monitoring system implemented to recognize
people there via an android application. The proposed system the effect. The sensors and approach were both are more
will increase the hope of farmers to carry out the agricultural expensive at present time. Population and climate control leads
tasks on a real-time basis, which will help them to use the
agricultural elements in an efficient procedure and at the period to be major problems. Another option is to develop a low-
when needed by the crops. cost weather forecasting and monitoring system that would
alert farmers to local and real-time climatic and meteorological
Keywords: Internet of Things (IoT), Weather Monitoring, conditions, allowing most agricultural tasks to be completed
Gas Sensor, Humidity Sensor, Android Application, ThingSpeak on time and with minimal early losses. One of the early
Visualizations.
weather station solutions made use of serial communication.
The research showed the improvement of a weather system
I. I NTRODUCTION
that will be built based on serial [4]. Then there were the
Climate changes are so bad for people to live. Everyone is research projects using the internet connectivity option em-
suffering from the curse of climate change from top to bottom. ploying GSM and Ethernet modules [5]. Rain, sun radiation,
Farmers are discovering that agriculture is no longer a feasible UV radiation, humidity, temperature, were all measured. In
or sustainable alternative. Despite their efforts, current agricul- the automation business, ZigBee communication technology
tural techniques are not producing the anticipated outcomes in is well-known, and its low data rate capabilities make it a
favor of farmers. Farmers are under immense pressure to fulfill good choice for systems, especially in weather stations. Two
the ever-increasing demand for agricultural commodities, yet such implementations appeared back-to-back with the ZigBee
resources such as machinery and water, as well as various protocol [6], which can measure weather data such as baro-
tools such as short-term irrigation, are in limited supply metric pressure, dew point temperature, air temperature, wind
(high cost). Agriculture has also been damaged by current speed, wind direction, and relative humidity, and the ZigBee
climate circumstances such as moisture levels and humidity, protocol [7], which can measure barometric pressure, dew
OUT
Sensor
ON
Reset BTN
VDD
VS S
VE E
RW
D0
D1
D2
D3
D4
D5
D6
D7
RS
E
AREF
C AR BON MONOXIDE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
MQ-7 GAS S E NS OR 13
PB5/SCK 12
PB4/MISO
RESET 11
~ PB3/MOSI/OC2A
10
~ PB2/OC1B
9
MQ-7
~ PB1/OC1A
GND OUT Vcc
8
PB0/ICP1/CLKO
ATMEGA328P-PU
1121
7
ANALOG IN
PD7/AIN1
6
TestPin
A0 ~ PD7/AIN1
5 14 4
PC0/ADC0 S CL P0
A1 ~ PD5/T1/OC0B
4 15 5
PC1/ADC1 S DA P1
A2 PD4/T0/XCK 3 6
PC2/ADC2 P2
A3 ~ PD3/INT1/OC2B
2 13 7
PC3/ADC3 PD2/INT0 INT P3
A4 1 9
PC4/ADC4/SDA PD1/TXD P4
A5 0 1 10
PC5/ADC5/SCL PD0/RXD A0 P5
2 11
A1 P6
3 12
A2 P7
1 I2C E ncoder
VDD
80.0 > 2
DATA
27.0 4
GND
°C %R H
DHT22
Fig. 2. Circuit diagram for proposed model of the system Fig. 4. Proposed Model in Real Life
Start
Temperature, Humidity,
Gas Senson
Sending Temperature
Temperature Sensor
Sensor Data
Fig. 5. LCD Display View (Air Quality)
Sending Humidity
Humidity Sensor
Sensor Data
Sending Gas
Gas Sensor
Sensor Data
Stop
Weather Station
Carbon Monoxide
3.5
3.25
Air Quality
12.5
detection.
10
A. ThingSpeak Visualizations 13:35 13:40 13:45 13:50 13:55
Date
The most important tabs on the ThingSpeak dashboard are ThingSpeak.com
the channel id and API credentials (read and write). You have
the option of making the channel private or public (visible
to others). In this prototype, the channel is presently set to
Fig. 11. Real-time variation in Air Quality (Field 3 Chart)
private. It also contains the MATLAB Analysis and Visual-
ization tab, as well as the other visualization tabs .When the
suggested program is implemented, the air quality, temperature Field 4 Chart
Weather Station
28
TABLE I
LIST OF COMPONENTS & COST ANALYSIS
Fig. 9. Real-time variation in Temperature (Field 1 Chart)
SL NO Name of component Quantity Prize (Taka)
01 Arduino UNO 1 450
02 Esp8255 1 220
03 MQ-135 1 280
04 MQ-7 1 180
05 DHT-22 1 300
06 LCD Display 1 160
08 I2C 1 160
09 SIM908 1 4000
10 PCB board 1 50
18 Total Cost 6877