Professional Documents
Culture Documents
2319
International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS-2017)
harmful gases/compounds, which are continually which acts as a sensor node to monitor the external
transmitted to a controller. The controller then environment factors such as temperature, moisture,
processes this data and transmits it via the internet. This humidity and MQ5 Gas sensors. MySQL open source
system enables authorities to be alerted in case of dire database is installed in the server to provide data storage
air quality in a region, thereby facilitating a quick functionalities. The output of the data prediction and
response to control such a situation. An additional analysis sensor values are stored in the My SQL
advantage offered by the system is that it monitors areas database and alert signal is generated when the
such as schools, hospitals and no-honking zones for monitored data cross its limit.
noise pollution and will allow authorities to keep an eye
on the same. The key concept of the air quality The rest of this paper is organized as follows. In section
monitoring system [10] is to get the accurate 2, hardware configuration using embedded system for
information at the correct place from reliable devices to pollution control and air quality monitoring System and
make the quality-related decisions with clarity and its importance are described. In section 3,
implement the process quickly. To develop an IoT- implementation module of hardware prototype model
based air quality monitoring system, several wireless with data prediction and filtering algorithm are
and wired sensors, (raspberry pi) sensor node, gateway discussed. Experimental results are presented in section
and ESP 8266 WiFi modules are used. The main 4. Finally section 5 concludes the work.
challenge in this work is to link air quality monitoring
II. HARDWARE CONFIGURATION
information together with multiple location-based IoT
data. To process the data in an efficient way, a data In IoT [8,11], the different hardware embedded
prediction and analysis algorithm is proposed. In figure development boards are used to establish the smart
1, a detailed architecture of the proposed work is applications. Based on Processor, GPU, Operating
described. Voltage, Clock Speed, Bus Width, System Memory,
Flash Memory, EEPROM, and Communication
Raspberry Pi 3[2,3,4] is a portable and a formidable Supported Development Environments, Programming
Single Board Computer (SBC) that consists of ARM Language, and I/O Connectivity, the hardware devices
processor and runs on a Linux Operating System (OS). are categorized.
It is a flexible System-on-Chip board which can be
utilized for a number of uses. In Raspberry Pi,
BCM2837 chip based on 64bit ARM v7 Quad Core
Processor is used and can support operating systems
such as Raspbian, Ubuntu Mate and Windows10. The
chip features a clock speed of 1.2 GHz with 1GB of
RAM and has 40 extended GPIO pins. It supports
network connectivity using BCM43143 WiFi Module
on board. Raspberry pi [2,3,4] was used as sensor node
as well as gateway node. The temperature, humidity and
moisture values are measured and data prediction and
analysis algorithm is proposed to avoid redundant data
storage and also increases the efficiency of decision
making process. ESP8266 is a new exciting, low cost
Wi-Fi module suitable for adding Wi-Fi functionality to
an existing controller (single board computers) through
UART serial connection. It has special features includes
802.11 b/g/n protocol, Wi-Fi Direct (P2P), soft-AP and
Integrated TCP/IP protocol stack. ESP8266 requires
3.3V power. This ESP8266 Wi-Fi Module is used in
this work to communicate the processed data to the Figure 1: Functional model of the proposed work
remote controllers through web link. Raspberry Pi
2320
International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS-2017)
2321
International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS-2017)
database, and dispatches a command to pump water into highly useful for understanding the levels of pollution
the soil. Else, the moisture values and the time at which in a place. Places with higher population density would
they were measured are recorded into the database. be expected to have higher levels of pollution, and
therefore, the sensors can be calibrated as required to
monitor the observed values. Lower population density
would imply better environmental standards, so they
would require lower levels of monitoring by the system.
The same logic is also applicable for industrial and non-
industrial areas, where pollution caused by factories can
be kept under a close watch. The collected data can be
analyzed to understand more about the places under
monitor and to make crucial insights similar to the ones
mentioned above.
Input: gas_sensor_threshold
2322
International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS-2017)
Density of Gas (MQ 5) is checked with threshold value # Same logic is implemented in another Nodes using
python script to get all the information’s about the
Method: environment
initialize the pins connected to the sensors
# Collecting Gas (MQ5), Temperature, Moisture and V. EXPERIMENTAL RESULTS AND ANALYSIS
Humidity at Location 1
for each specific Interval #3, 5, 10 minutes This work presents the design and implementation of a
get value from connected sensor in raspberry Pi low cost but highly flexible, high-speed air quality
# calculate reference value = temperature_value - ((100 monitoring system using Raspberry pi [2,3,4] with
- humidity_value) / 5)
cloud storage technology for wide-ranging users. The
record time
store reference value in database flexibility level is increased due to the usage of
#temperature part Raspberry pi which sends the data and alert messages to
if temperature_value>temperature_threshold then the developer and end users, easily connectible to
send alert message external devices. Raspberry pi provides low cost and
record time efficient platform for implementing the air quality
storetemperature_value in database monitoring system. The significance of this system
else
provides required action can be taken in short span of
Normal message
record time time in the case of emergency condition and compact
storetemperature_value in database design with tiny size. In this work, raspberry pi 3 board
acts as a main controller and temperature & humidity
#gas sensor part (MQ5) sensor, moisture sensor and MQ5 gas sensor are used to
If gas_sensor_value>gas_sensor_threshold then measure the external parameters. The collected data is
send alert message
stored in a MySQL database that can be queried in
record time
storegas_sensor_value in database ThinkSpeak whenever the relevant information is
else required. This model would analyze the data and report
Normal message it to the users.
record time
storegas_sensor_value in database
#humidity part
If moisture_value<moisture_threshold then
send alert message
record time
storehumidity_value in database
else
record time
storehumidity_value in database
2323
International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS-2017)
2324
International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS-2017)
Figure 9: Run time status Comparison in Time Vs Figure 10: Run time status Comparison in Time Vs
Temperature Sensor Moisture level
2325
International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS-2017)
2326