Air Quality Monitoring System Based On Microcontroller AVR ATMEGA16 With Communication TCP/IP Protocol
Air Quality Monitoring System Based On Microcontroller AVR ATMEGA16 With Communication TCP/IP Protocol
2015
Abstract-This study will be carried out air quality monitoring system design. In designing this monitoring system, will be the
detection levels of air pollution. Source of air pollution is an indicator of this measurement is CO, CO2, NOx gas. The gas detection
using gas sensors, among others the MQ-7 for gas CO, MQ-135 for the CO2 and NOx. The sensor is then connected to the AVR
microcontroller series, the AVR ATmega16. Furthermore, from the microcontroller is connected to a PC via a data communication
serial protocol and TCP / IP to perform monitoring of air quality data. The aim of this study is to see how much air pollution levels.
Benefits that can be drawn from this study is that we can monitor the air quality through the communication protocol TCP / IP is
associated with gas sensor and microcontroller atmega16. Then, from the results obtained we can conclude whether the detected air
quality is quite good, Monitoring conducted indoor air quality. The working principle of the air quality monitoring system when the
gas is detected by a gas sensor, in the form of analog data is converted to digital via microcontroller programming, and forwarded to
the serial module Wiznet which will then be transferred to a computer. Wiznet serial module then connected to the access point, for
monitoring air quality based wifi. Access point that is used has a range as far as 5 dbi. Air quality indicators using IAQI (Indoor Air
Quality Index) and AQI (Air Quality Index). The results showed levels of indoor air concentration average of the index falls into
either category, occur only at certain times of CO2 gas concentration is high enough because of the presence of smoke in the
combustion products enter the room. Then, the average concentration of the detected gas in accordance with the standards of WHO
and FEPA index.
Keywords: Air pollution, sensors, MQ-7 sensor, MQ-135 sensor, AVR microcontroller ATmega16, TCP / IP protocol,
Access point, IAQI, AQI
1
ICSSSA Denpasar 5-6 Agustus 2015
2015
Figure 1. Basic arrangement of Gas Sensor Where, R0 is value of filament resistance at 100 ppm.
Rs can be calculated from output voltage VRL :
2
ICSSSA Denpasar 5-6 Agustus 2015
2015
can be implemented in hardware, software or a doing the programming for the sensor, then do the
combination of both. At the lowest level, the protocol programming language monitoring program using
defines the hardware connection. A communication Visual Basic 6. The working principle of the air
protocol were used in this study is TCP/IP protocol. quality monitoring system is, when gas is detected
TCP/IP Protocol is a data communications standard by a gas sensor, in the form of analog data is
used by the Internet community in the process of converted to digital via microcontroller
exchanging data from one computer to another programming, and forwarded to Wiznet serial
computer on the network Internet. This protocol can module which will then be transferred to a computer.
not stand alone, because this protocol is a set of Wiznet serial module then connected to the access
protocols (protocol suite). TCP/IP software is point, for monitoring air quality based wifi. Access
organized in four layers; application layer, transport point that is used has a range as far as 5 dbi.
layer, internet layer, network interface layer.
2. EXPERIMENTAL DETAILS
In this study, using gas sensor MQ7 and MQ135
for detect CO, CO2, and NOx. Microcontroller were
used is AVR ATMEGA16, WIZ110SR as converter
modules that send serial data to TCP / IP and
convert it back data received via IP in the form of
serial data., access point, and PC.
Figure 6. Air Quality Monitoring System devices
In performing the study's air quality monitoring Pollution sensor readings data transmission is
system, first performed programming to perform gas performed wirelessly or with a Wireless Fidelity
readings by sensors which responded by gas sensor, (Wi-Fi) to provide the identity of the IP address in
which is then forwarded to the microcontroller as a the form of data or the device. Data sensor readings
digital sensor data storage. In this case the data can be accessed by mobile in the reach area of the
acquisition is performed by ADC (Analog Digital delivery of Wi-Fi. To access remote data can be
Converter). Programming is done using the C accessed through the Internet network in realtime.
programming language that is AVR ATmega. After
3
ICSSSA Denpasar 5-6 Agustus 2015
2015
4
ICSSSA Denpasar 5-6 Agustus 2015
2015
Table 2. Record Data Monitoring Indoor Air Quality wearing Air Conditioner (AC) to clean the dirty air
Rooms Day 2 (the data below is presented by taking one
data per 1 hour)
in the room scattered by dust, smoke, fumes from
burning waste population, pollution caused by waste
disposal, and others.
5
ICSSSA Denpasar 5-6 Agustus 2015
2015
Table 4. Record Data Monitoring Air Quality in the Kitchen CO2 in accordance with the standard index for indoor
air quality. The average air quality for CO2 gas levels
were detected indicating that the concentration of CO2
of less than 1000 ppm in this case for the standard
index in the category of good IAQ. But at 08:05 hours
until 09:05 AM indicates the level of hazard category.
The reason for the existence of waste incineration
activities carried out so that the smoke of burning
incoming residents mostly indoors. Furthermore, for
the transfer of data received from the monitoring goes
well with the access point.
4. CONCLUSION
Air quality monitoring system runs well, gas
sensors detect gases to be measured. At the time of
monitoring, automatically direct the data stored and
used as database monitoring. Gas concentrations
measured within index range of indoor air quality
(IAQ Index). Results of air quality monitoring
conducted indicates good air quality, but at a certain
time air quality is being obtained and bad. It is seen
from the CO2 gas concentration is high enough, as
well as the concentration of NOx gas. The condition
of the room very good influence or a bad air quality.
Access point is used as the communication
protocol of the system can send data to a computer
via wifi so they can monitor air quality depends on
the distance of the distance range of the access point.
ACKNOWLEDGEMENTS
The author thank for The Ministry of Education,
Figure 12. Graphic of Data Record Monitoring Air Quality Science and Technology of Indonesia was supported
in the Kitchen by BPPDN program Scholarship.
6
ICSSSA Denpasar 5-6 Agustus 2015
2015