Carbon Monoxide (CO) Concentration Monitoring System: Krizzia May L. Guimpol
Carbon Monoxide (CO) Concentration Monitoring System: Krizzia May L. Guimpol
Monitoring System
By:
November 2019
Table of Contents
INTRODUCTION...................................................................................................... 2
REVIEW OF RELATED LITERATURE ......................................................................... 5
2.1 Carbon Monoxide (CO) ............................................................................ 5
2.2.1 Basic Mandate of the Agency about Air Pollution ......................... 7
2.3 Air Pollution Monitoring System ................................................................. 8
2.3.1 Monitoring System for Carbon Monoxide ......................................... 9
2.3.2 First Alert Carbon Monoxide (CO) Detector .................................. 10
2.5 Arduino ....................................................................................................... 12
2.5.1 Arduino Uno ........................................................................................ 13
2.5.2 Arduino Programming ....................................................................... 13
2.6 Global System for Mobile Communications (GSM) ............................. 13
2.6.1 SIM900A GSM/GPRS Module ............................................................ 15
2.7 DS3231 Real Time Clock Module ............................................................ 16
2.8 MIT App Inventor ....................................................................................... 17
2.9 Cloud Database ....................................................................................... 18
2.9.1 Structure of Cloud Database ........................................................... 19
2.9.2 Microsoft Azure SQL Database ........................................................ 21
METHODOLOGY .................................................................................................. 23
3.1 Framework of the Study ........................................................................... 23
3.1.1 Input Phase ......................................................................................... 23
3.1.2 Process Phase ......................................................................................... 26
3.1.2.1 Planning and System Design ......................................................... 27
3.1.2.2 System Development ..................................................................... 27
3.1.2.3 Testing and Analysis ........................................................................ 30
References .......................................................................................................... 34
1
Chapter I
INTRODUCTION
air — chemicals that can hamper one’s good health (Ambag, 2018).
power plants and industries. Pollutants coming from these sources are:
carbon monoxide (CO), nitrogen dioxide (NO2), sulfur dioxide (SO2), and
According to (Shalders & Ward, 2017), monitoring the air quality which
would visit the site to collect the data regarding its present condition. The
2
task is to observe and record the amount and kind of air pollutant present,
very lengthy and time consuming besides being inefficient (Liang, 2013).
The pollution monitoring system involves the use of sensors that measure the
air pollution concentration and level of harmful gases like carbon monoxide
(CO) (Sharma, Varshney, Maheshwari, & Pandey, 2018). Based on the study
area and pinpoint its source. A web server with internet connectivity is used
The problem that this study aims to address is with the current
this study is to automate and make the data gathering real time.
and log the gathered data to the database consisting of the statistical
turning over the gathered data to notify these agencies to the increase in
3
The study is limited to monitoring the increasing density of carbon
parts per million (PPM). This study will use a carbon monoxide sensor
4
Chapter II
has no detectable odor, CO is often mixed with other gases that do have
kerosene, oil, propane, coal, or wood (Brei, 2006). Carbon monoxide reacts
with other pollutants in the air to form potentially harmful ground level
and deprives the heart, brain and other vital organs of oxygen. Large
5
amounts of CO can overcome a person in minutes without warning —
a line bureau with its own offices and independent enforcement authority
healthy environment that enhances the Filipino quality of life for present
and economic viability. It is the national authority in the Philippines that sets
air and water quality standards and monitors ambient and point source
6
EMB provides a suite of technical and regulatory assistance as an incentive
environmental laws:
2.2.1.1 Republic Act No. 8749: The Philippines Clean Air Act of 1999
The program covers the full implementation of Clean Air Act. The
national program to achieve and maintain air quality that meets the
all sources of air emissions, the Clean Air Program is divided into three sub
ambient air monitoring. This is to effectively manage the three sources of air
7
The monitoring of roadside and general ambient air quality is an
essential activity by the agency which enable them to assess the air quality
monitoring complete criteria pollutants (SO2, NO2, O3, CO, BTX, and
making the results available on the website, anybody can see the status of
8
Analysis of monitoring data allows us to assess how bad air pollution is from
day to day, which areas are worse than others and whether levels are rising
or falling. We can see how pollutants interact with each other and how
Application system that totally minimizes the hazardous gas that prolonged
exposure through different vehicles has causing the ozone layer depletion
problem and also it decreases the life of a vehicle. Therefore the need of
monitoring air pollution around the city and the public transport and private
manpower and also increases the overall flexibility, compatible with any
petrol vehicle and has the ability to work independently. The majority of the
population in the world do prefer vehicles for even short distance for
travelling but no one actually cares about what would be the adverse
9
measures of the same so this instrument will help to overcome the effects
of CO. The sensor is used to detect the amount of CO that has been
exhausted from the vehicles silencer. The CO here is measured in the form
of PPM (Parts per Million), in percentage as well as it shows the levels (low,
the levels are displayed. If the level goes low, medium or even high the
vehicle so, after crossing the high level an alert/warning is given in the SMS
form to an owner of a vehicle. These alert messages will be for taking serious
ending up stopping his/her vehicle all sudden. There will be total 3 alerts
given with a particular interval of time. The last warning will be of only to
inform the owner that within how much time span the vehicle will stop so
that even he/she is well known for the action that is going to be taken. Now
after restricting the vehicle for a certain period of time, to start again the
vehicle we are giving another chance to the owner for maintaining the
average the CO level is taken into consideration for strictly reducing the
level of CO to make our city as well country pollution free (Kaneri, Bhalekar,
10
First Alert CO615 is a real-time CO detector fits for home and other
places; it is a perfect item for alerting people from the danger of carbon
monoxide. The item uses 120V to 240V, installing easily and is durable for
The First Alert CO615 CO Detector’s (see figure 2.4 below) carbon
device.
11
This carbon monoxide sensor is designed to an accurate and reliable
memory to log data when used in a remote device (CO2Meter, Inc., 2014).
2.5 Arduino
devices and interactive objects that can sense and control objects in the
physical and digital world. The project's products are distributed as open-
source hardware and software, which are licensed under the GNU Lesser
12
2.5.1 Arduino Uno
started.
13
voice, data, and multimedia communication services. A GSM system
stations), base stations (cell sites), and switching systems. Each GSM radio
channel is 200 kHz wide channels that are further divided into frames that
hold 8 time slots. GSM was originally named Group Special Mobile. The GSM
to 8 to 16 voice users to share each radio channel and there may be several
radio channels per radio transmission site (cell site). The figure below shows
an overview of a GSM radio system. This diagram shows that the GSM
through base stations (BS) and a mobile switching center (MSC) to connect
example shows that the GSM system mobile devices can include mobile
(Harte, 2005).
14
Figure 2.5 Global System for Mobile Communications (GSM)
stack to enable connection with internet via GPRS. It is suitable for SMS,
power supply. Using this modem, you can make audio calls, SMS, Read SMS,
The DS3231 is a low-cost, highly accurate Real Time Clock which can
maintain hours, minutes and seconds, as well as, day, month and year
months with fewer than 31 days. The module can work on either 3.3 or 5 V
16
which makes it suitable for many development platforms or
can power the module and maintain the information for more than a year.
the StarLogo TNG user interface, which allows users to drag and drop visual
17
objects to create an application that can run on mobile devices. In
A database can be accessed by the clients via the internet from the
cloud database service provider and is deliverable to the users when they
computing that means utilizing the software and hardware resources of the
high pace in the IT industry around the world. Many companies have
started moving towards cloud computing and accessing their data from
18
shows that in the near future, companies will start relying on the cloud
different from the rational database management system. This makes the
structure of the cloud database a complex one. There are multiple nodes
across a cloud database, designed for query services, for data centers that
centers as well. This is linking is mandatory for the easy and complete
access of the database over the cloud services. There are different
methods for accessing the database over the cloud services, the user can
access it via computer through the internet, or a user using a mobile phone
huge data as the corporations use it for storing data for their customers
computer through the internet. The internet is the joining point; that act as
a bridge among the data centers, cloud data centers and the user who is
accessing the data. It is important to note here that only a single node is
19
not used in cloud database; however there are different nodes that are
communication is that, a single node can handle any sort of the query
implemented by the user. This seems complex, but an easy solution for this
sort of node system that each node in the cloud database has the map to
the data stored in each node. This map to the data stored helps in the easy
Once the query is generated from the user via computer, the node
first decides the sort of query, and which node will be best for the query.
After the query is identified by the node, then it is transferred to that specific
node. Then the specific node takes care of the query and responds to the
user. For example, when the query is received then maybe it is first sent to
Node 1, then Node 1 identifies that which Node will solve the query will be
suitable. May be Node 7 holds the data, Node 1 will send the query to Node
7 after checking the data map. Once the query is sent to the specific query,
then data is directly sent to the user without any further delay. The figure
20
below shows the basic architecture of the cloud database; or it can be
released in 2010. Microsoft Azure not only offers database as a service but
service. With Azure, clients can use the services purely on the cloud or it can
21
you may already have in place. Azure’s SQL database has the familiar look
and feel of Microsoft. It has a strong SQL engine compatibility and machine
learning. The service offers all SQL tools and applications needed for
Chapter III
22
METHODOLOGY
it. The study started with the gathering of related work and research by
problem, the initial step to collect data was studied and thoroughly
requirements when the solution presented itself. And so, after the
monitoring system was developed, the last step was to test and analyze the
data.
23
This phase contains the data gathering, software requirements, and
sensor data to the microcontroller, logging the data to the database, and
The software requirements for the development of the system are the
following:
Arduino 1.8.10
24
Microsoft Azure SQL Database
protection.
database.
Android Phone
For development:
25
CM-31910 CO Sensor Module
For Testing:
having 14 digital i/o pins and 3 ground pins is necessary for connecting the
ranging from 0ppm up to 5,000ppm. The First Alert detector is chosen as the
development of the monitoring system and ensures that the data gathered
functions accordingly and shall show results for the system development.
This phase contains the Planning and Design, Development, Testing, and
Analysis.
The purpose of this phase is to make use of the gathered data from
the preceding phase of the study and transform it into a working and
functional device. The monitoring system shall undergo testing to check its
26
3.1.2.1 Planning and System Design
accomplish the task being done is the planning and design phase. In this
phase, identifying the necessary materials and requirements for the system
Arduino Uno
CO
Arduino
GSM/GPRS Database Mobile
Sensor
Uno Module Application
Real-Time
Clock
27
Figure 3.2 shows the block diagram of the system. Real-Time Clock
module keeps track of the current time. CO sensor measures the amount
of carbon monoxide, the sensor that transmit raw data to the Arduino Uno
GSM/GPRS module will send the sensor’s provided data to the cloud
database using internet. The mobile application will be used for displaying
database.
28
3.1.2.2.1 Carbon Monoxide (CO) Concentration Monitoring System
In figure 3.3 shows the process on how the system will monitor the
carbon monoxide concentration and log the data to the database. The
29
3.1.2.2.2 Programming
includes the programming of the software. The design of the program will
be based from the requirements obtained during the planning and design,
3.1.2.2.3 Database
The proponent will use Microsoft Azure SQL Database for data
logging and also for accessing and managing the cloud database of the
30
Table 3.1 Results of the Proponent’s Device
with the condition (n>30) sample is greater than thirty; analysts commonly
31
To test the accuracy, z – value was determined using the formula:
(3.4)
Where:
n = samples
σ = standard deviation
These are x̅1, x̅2, n and σ. With ‘x̅1’ being the mean of the first set of data
gathered from the proponent’s device, ‘x2’ the mean of the second set of
data gathered from an actual CO device detector which is the First Alert
CO615 CO Detector device, ‘σ’ which is the standard deviation, and ‘n’ is
testing after a completed prototype of the device. The sample size (n) will
32
be fifty (50) trials each for the proponent’s device and the First Alert CO615
CO Detector.
After getting the z-value, the next step will be to conduct the actual
z-test. The proponent shall use significance level of 0.05. Since = 0.05 and
we are using the z-distribution, H0 will be rejected if the test statistic is > 1.96
or < -1.96.
33
References
Ambag, R. (2018, June 18). How bad is air pollution in the Philippines?
FlipScience, 67 - 70.
Baldacci, S., Maio, S., & Cerrai, S. (2014, December 22). Allergy and Asthma:
Boobalan, T., & Rohini, K. (2015). Monitoring Air Pollution . IOSR Journal of
- 67.
– 624.
Kaneri, N., Bhalekar, K., & Kharvatkar, S. (2017, May). Carbon Monoxide
34
Khedo, K. K., Perseedoss, R., & Mungur, A. (2010). A Wireless Sensor Network
Mishra, S. A., & Tijare, D. S. (2011, May). Design of Energy Aware Air Pollution
Pal, P., Gupta, R., Tiwari, S., & Sharma, A. (2017). IOT Based Air Pollution
- 17.
Shalders, G., & Ward, C. (2017, November 29). Air Quality Sampling and Why
Sharma, A., Varshney, V., Maheshwari, R., & Pandey, U. (2018, March). IOT
35
Research Journal of Engineering and Technology (IRJET), 5(3), 3619 -
3621.
- 224.
36
Price/Component List
37