Professional Documents
Culture Documents
naziya
naziya
SYSTEM
Project Report Submitted in Partial fulfillment of the degree of the
MASTER OF TECHNOLOGY
IN
EMBEDDED SYSTEMS
By
CERTIFICATE
This is to certify that the Technical Seminar Report entitled “ Iot Device For
Sewage Gas Monitoring And Alert System ” is submitted by Naziya
Thahmeen bearing Roll No : 20C41D5507 in Master of Technology in
Embedded Systems.
Principal
ACKNOWLEDGEMENT
I write this acknowledgement with great honor, pride and pleasure to pay my gratitude to
all who enabled me either directly in reaching this stage.
I express my immense gratitude and sincere thanks to Dr.V. JANAKI Principal of
Jayamukhi Institute of Technological Sciences, Narsampet, and Warangal for their
support and kind co-operation.
I express my gratitude and sincere thanks to Mr.MD. HAMEED PASHA, Dean
Academics & Head of The Department of Electronics and Communication Engineering,
Jayamukhi Institute of Technological Sciences, Narsampet, Warangal for his constant
motivation and support.
I am grateful to my graduate and sincere thanks to Mr. MD. HAMEED PASHA
Associate Professor for his valuable guidance and giving me the opportunity to do my work
in a better manner.
Last but not least I wish to thank my parents and friends, for their understanding and
cooperation without those encouragement and blessings it would not have been possible to
complete this work.
By
Naziya Thahmeen - 20C41D5507
DECLARATION
I do here by declare that the Technical seminar report titled by “ Iot Device For
Sewage Gas Monitoring And Alert System” submitted by me to the Jayamukhi
Institute of Technological Sciences in a partial fulfillment of the requirement for the
award of Master of Technology in Embedded Systems is my original work. The
analysis, design and implementation of this project is done by me, and it has not submitted
anywhere else for the award of degree.
By
Naziya Thahmeen - 20C41D5507
ABSTRACT
This project aims at providing smart solutions to monitor poisonous sewage gases and
works on a system of live sewage level detection and monitoring. Whenever, a certain
threshold is crossed, an alert is sent to the observer who is examining the conditions from
a remote location. The information is then forwarded along with different gas ppm values
indicating whether it is safe for the worker to clean or work in that environment or not.
The remotely placed IoT monitoring equipment and IoT platform are integrated to create
proposed system. This requires calibration of gas sensors for industrial purposes and
determining the correct threshold levels for septic plants and facilities. The hardware is
designed such that it shall send a prior alert to the sewage worker to ensure their safety,
if damaging gaseous constituents increase in concentration over time. Various types of
sensors are utilized to monitor parameters present in sewage like gas, temperature etc.
When the threshold value is lesser than the sensed values, this system alerts the sewage
worker/cleaner by sending SMS and call alerts by analyzing concentrations of different
toxic gases and graphing out their results for real-time monitoring thereby aiding in
protection from hazardous diseases and hence serves a social cause as well. In the
proposed system, sample values for sensors have been recorded and plotted on
ThingSpeak analysis tool. Carbon monoxide and methane sensors charted values up-to
2.3 and 60 ppm respectively, and this breached threshold and WIFI module was utilized
for sending alert to mobile number fed in the code.
Table of Contents
CHAPTER-1 ........................................................................................................................................ 7
1.1 INTRODUCTION TO EMBEDDED SYSTEM .................................................................................. 7
1.2 APPLICATIONS OF EMBEDDED SYSTEM .................................................................................... 8
1.3 MICROCONTROLLERS FOR EMBEDDED SYSTEMS ...................................................................... 9
CHAPTER-2 ...................................................................................................................................... 10
2.1 INTRODUCTION ..................................................................................................................... 10
2.2 LITERATURE REVIEW .............................................................................................................. 11
2.3 PROPOSED METHOD: ............................................................................................................. 12
2.4 BLOCK DIAGRAM ................................................................................................................... 13
CHAPTER 3 ...................................................................................................................................... 14
HARDWARE COMPONENTS.......................................................................................................... 14
3.1 Microcontroller (ATMEGA16) ............................................................................................. 14
3.2 Serial Communication ........................................................................................................ 20
3.3 MQ4 Gas sensor ................................................................................................................. 20
3.4 MQ7 Carbon Monoxide sensor........................................................................................... 21
3.5 ESP 8266-01 WiFi Module .................................................................................................. 22
3.6 Regulated Power Supply .................................................................................................... 29
CHAPTER 4 ...................................................................................................................................... 31
4.1 ARDUINO IDE TOOL................................................................................................................ 31
CHAPTER-5 ...................................................................................................................................... 33
5.1 INTERNET OF THINGS ............................................................................................................. 33
5.2 What is ThingSpeak ................................................................................................................ 34
5.3 Getting Started ...................................................................................................................... 34
5.4 ThingSpeak Apps .................................................................................................................... 41
CHAPTER-6 ...................................................................................................................................... 43
6.1 SCHEMATIC DIAGRAM ........................................................................................................... 43
6.2 CONCLUSION ......................................................................................................................... 44
CHAPTER-1
Physically embedded systems range from portable devices such as digital watches and
MP3 players, to large stationary installations like traffic lights, factory controllers, or the
systems controlling nuclear power plants. In general, "embedded system" is not an exactly
defined term, as many systems have some element of programmability. For example, Handheld
computers share some elements with embedded systems — such as the operating systems and
microprocessors which power them — but are not truly embedded systems, because they allow
different applications to be loaded and peripherals to be connected.
Certain operating systems or language platforms are tailored for the embedded market,
such as Embedded Java and Windows XP Embedded. However, some low-end consumer
products use very inexpensive microprocessors and limited storage, with the application and
operating system both part of a single program. The program is written permanently into the
system's memory in this case, rather than being loaded into RAM (random access memory), as
programs on a personal computer.
In recent days, you are showered with variety of information about these embedded
controllers in many places. All kinds of magazines and journals regularly dish out details about
latest technologies, new devices; fast applications which make you believe that your basic
survival is controlled by these embedded products. Now you can agree to the fact that these
embedded products have successfully invaded into our world. You must be wondering about
these embedded controllers or systems.
The computer you use to compose your mails, or create a document or analyze the
database is known as the standard desktop computer. These desktop computers are
manufactured to serve many purposes and applications.
You need to install the relevant software to get the required processing facility. So,
these desktop computers can do many things. In contrast, embedded controllers carryout a
specific work for which they are designed. Most of the time, engineers design these embedded
controllers with a specific goal in mind. So these controllers cannot be used in any other place.
In an Embedded system, there is only one application software that is typically burned
into ROM. An x86 PC contains or is connected to various embedded products such as
keyboard, printer, modem, disk controller, sound card, CD-ROM drives, mouse, and so on.
Each one of these peripherals has a Microcontroller inside it that performs only one task. For
example, inside every mouse there is a Microcontroller to perform the task of finding the mouse
position and sending it to the PC.
CHAPTER-2
2.1 INTRODUCTION
Sewage environment IoT device and IoT platform to monitor poisonous gas has been
proposed as a solution to help the sewer workers who put their lives risk. Because of these
poisonous gases, the death rate of sewer workers has increased in the recent years. The lack of
treatment of sewage after crossing dangerous levels leads to the deaths of thousands of sewage
cleaners throughout the year from accidents and various diseases such as hepatitis and typhoid
that occur due to sudden or sustained exposure to hazardous gases. Septic tanks are devices
which are found commonly in different types of localities, ranging from residential areas to
largely developed industrial areas to provide solutions for treatment of sewage wastes. Sewage
gases generally arise from the natural decomposition of sewage and their mixtures formed by
slurries which leads to the production of toxic wastes that release hazardous gases. These gases
can be lethal if inhaled in high concentrations or for a prolonged period of time. Septic tank
gases are primarily constituted of methane, carbon dioxide, ammonia, hydrogen sulphide and
traces of carbon monoxide. In order to evaluate the gases which are present in sewage
environment, sensors have been used to analyse the amount of hazardous gas and send an alert.
The hazardous gases like hydrogen sulphide, methane and carbon monoxide emitted from
sewage are sensed by gas sensors every moment and updated when it surpasses the normal
grade. The project aims at designing a prototype for monitoring a sewage plant or septic tank
in real-time for keeping a check on concentration levels of gases.
The designed system can be installed in various sewage facilities, both rural and urban.
The system can be made to work properly in both domestic as well as industrial plants, by
changing small specifications of design. For accessing the ppm concentrations, an user-friendly
android application was developed with multiple facilities integrated. The death rate of sewage
workers has been increased day by day.
Even by such understated estimates, the NCSK identified 817 sewer workers’ deaths
since 1993 from 20 states. By official estimates, Tamil Nadu recorded 210 deaths, Gujarat
recorded 156, followed by UP and Haryana with 77 and 70 deaths, respectively.
Reason for the deaths include: 1. Forcing the workers by the supervisors 2.
Unawareness about the poisonous gases present in sewage system.
In this proposed system we have MQ4 gas sensor (consist of methane, carbon monoxide
and hydrogen sulphide) which is used to detect harmful gases present in the sewage. Different
nodal locations are provided to a single receiver end. The gas sensor produces values(ppm)
which are emitted from sewage to the kit. Depending on a set of conditions, the output obtained
by the gas sensor is transmitted via the WIFI module to the cloud. In this project we have used
ThinkSpeak cloud to store the values.
CHAPTER 3
HARDWARE COMPONENTS
1Kbytes EEPROM
One 16-bit Timer/Counter with separate prescaler, compare mode, and capture mode
Temperature measurement
Six sleep modes: Idle, ADC noise reduction, power-save, power-down, standby, and extended standby
I/O and packages
Temperature range:
Speed grade: 0 to 8MHz at 2.7 to 5.5V (automotive temperature range: –40°C to +125°C)
The AVR® core combines a rich instruction set with 32 general purpose working
registers. All the 32 registers are directly connected to the arithmetic logic unit (ALU), allowing
two independent registers to be accessed in one single instruction executed in one clock cycle.
The resulting architecture is more code efficient while achieving throughputs up to ten times
faster than conventional CISC microcontrollers. The Atmel® ATmega328P provides the
following features: 32K bytes of in-system programmable flash with read-while-write
capabilities, 1K bytes EEPROM, 2K bytes SRAM, 23 general purpose I/O lines, 32 general
purpose working registers, three flexible Timer/Counters with compare modes, internal and
external interrupts, a serial programmable USART, a byteoriented 2-wire serial interface, an
SPI serial port, a 6-channel 10-bit ADC (8 channels in TQFP and QFN/MLF packages), a
programmable watchdog timer with internal oscillator, and five software selectable power
saving modes. The idle mode stops the CPU while allowing the SRAM, Timer/Counters,
USART, 2-wire serial interface, SPI port, and interrupt system to continue functioning. The
power-down mode saves the register contents but freezes the oscillator, disabling all other chip
functions until the next interrupt or hardware reset. In power-save mode, the asynchronous
timer continues to run, allowing the user to maintain a timer base while the rest of the device
is sleeping. The ADC noise reduction mode stops the CPU and all I/O modules except
asynchronous timer and ADC, to minimize switching noise during ADC conversions. In
standby mode, the crystal/resonator oscillator is running while the rest of the device is sleeping.
This allows very fast start-up combined with low power consumption. The device is
manufactured using Atmel high density non-volatile memory technology. The on-chip ISP
flash allows the program memory to be reprogrammed in-system through an SPI serial
interface, by a conventional non-volatile memory programmer, or by an on-chip boot program
running on the AVR core. The boot program can use any interface to download the application
program in the application flash memory. Software in the boot flash section will continue to
run while the application flash section is updated, providing true read-while-write operation.
By combining an 8-bit RISC CPU with in-system self-programmable flash on a monolithic
chip, the Atmel ATmega328P is a powerful microcontroller that provides a highly flexible and
cost effective solution to many embedded control applications. The ATmega328P AVR is
supported with a full suite of program and system development tools including: C compilers,
macro assemblers, program debugger/simulators, in-circuit emulators, and evaluation kits.
In order to maximize performance and parallelism, the AVR uses a harvard architecture
– with separate memories and buses for program and data. Instructions in the program memory
are executed with a single level pipelining. While one instruction is being executed, the next
instruction is pre-fetched from the program memory. This concept enables instructions to be
executed in every clock cycle. The program memory is in-system reprogrammable flash
memory.
The fast-access register file contains 32 8-bit general purpose working registers with
a single clock cycle access time. This allows single-cycle arithmetic logic unit (ALU)
operation. In a typical ALU operation, two operands are output from the register file, the
operation is executed, and the result is stored back in the register file – in one clock cycle. Six
of the 32 registers can be used as three 16-bit indirect addresses register pointers for data space
addressing – enabling efficient address calculations. One of the address pointers can also be
used as an address pointer for look up tables in flash program memory. These added function
registers are the 16-bit X-, Y-, and Z-register, described later in this section. The ALU supports
arithmetic and logic operations between registers or between a constant and a register. Single
register operations can also be executed in the ALU. After an arithmetic operation, the status
register is updated to reflect information about the result of the operation. Program flow is
provided by conditional and unconditional jump and call instructions, able to directly address
the whole address space. Most AVR® instructions have a single 16-bit word format. Every
program memory address contains a 16- or 32-bit instruction. Program flash memory space is
divided in two sections, the boot program section and the application program section. Both
sections have dedicated lock bits for write and read/write protection. The SPM instruction that
writes into the application flash memory section must reside in the boot program section.
During interrupts and subroutine calls, the return address program counter (PC) is stored on the
stack. The stack is effectively allocated in the general data SRAM, and consequently the stack
size is only limited by the total SRAM size and the usage of the SRAM. All user programs
must initialize the SP in the reset routine (before subroutines or interrupts are executed). The
stack pointer (SP) is read/write accessible in the I/O space. The data SRAM can easily be
accessed through the five different addressing modes supported in the AVR architecture. The
memory spaces in the AVR architecture are all linear and regular memory maps. A flexible
interrupt module has its control registers in the I/O space with an additional global interrupt
enable bit in the status register. All interrupts have a separate interrupt vector in the interrupt
vector table. The interrupts have priority in accordance with their interrupt vector position. The
lower the interrupt vector address, the higher the priority. The I/O memory space contains 64
addresses for CPU peripheral functions as control registers, SPI, and other I/O functions. The
I/O memory can be accessed directly, or as the data space locations following those of the
register file, 0x20 - 0x5F. In addition, the ATmega328P has extended I/O space from 0x60 -
0xFF in SRAM where only the ST/STS/STD and LD/LDS/LDD instructions can be used.
3.2 Serial Communication
Computers can transfer data in two ways: parallel and serial. In parallel data transfers,
often 8 or more lines (wire conductors) are used to transfer data to a device that is only a few
feet away. Examples of parallel data transfer are printers and hard disks; each uses cables with
many wire strips. Although in such cases a lot of data can be transferred in a short amount of
time by using many wires in parallel, the distance cannot be great. To transfer to a device
located many meters away, the serial method is used. In serial communication, the data
is sent one bit at a time, in contrast to parallel communication, in which the data is sent a
byte or more at a time.
Specifications
To use the Sensor Module, you have power the device with 5V supply and the
Power LED will start to glow. You should give it some time for its preheating period before
start reading the output. While measuring the gas present, the Output LED will glow in a
specific concentration of the gas. You can change it by using the potentiometer. Else you
can also use the Analog Output to see how your program reacts to different
concentrations of gases present.
PRODUCT DESCRIPTION
To use the Sensor Module, you have power the device with 5V supply and the
Power LED will start to glow. To power it, you can use external supply or connect +5V
and GND pin of Arduino. You should give it some preheating time before start reading the
output. While measuring the gas present, the Output LED will glow in a specific
concentration of the gas. You can change it by using the potentiometer. Else you can also
use the Analog Output to see how your program reacts to different concentrations of
gases present.
A model described here is for its low price and great possibilities most frequently used
in practice. It is based on the HD44780 microcontroller (Hitachi) and can display messages in
two lines with 16 characters each. It displays all the alphabets, Greek letters, punctuation marks,
mathematical symbols etc. In addition, it is possible to display symbols that user makes up on
its own. Automatic shifting message on display (shift left and right), appearance of the pointer,
backlight etc. are considered as useful characteristics.
PINS FUNCTIONS
There are pins along one side of the small printed board used for connection to the
microcontroller. There are total of 14 pins marked with numbers (16 in case the background
light is built in). Their function is described in the table below:
Pin Logic
Function Name Description
Number State
Ground 1 Vss - 0V
D0 – D7 are interpreted as
0
4 RS commands
1
D0 – D7 are interpreted as data
8 D1 0/1 Bit 1
9 D2 0/1 Bit 2
Data /
commands
10 D3 0/1 Bit 3
11 D4 0/1 Bit 4
12 D5 0/1 Bit 5
13 D6 0/1 Bit 6
Display on/off
0 0 0 0 0 0 1 D U B 40uS
control
Cursor/Display
0 0 0 0 0 1 D/C R/L x X 40uS
Shift
Set CGRAM
0 0 0 1 CGRAM address 40uS
address
Set DDRAM
0 0 1 DDRAM address 40uS
address
Write to CGRAM
1 0 D7 D6 D5 D4 D3 D2 D1 D0 40uS
or DDRAM
Over the years Arduino has been the brain of thousands of projects, from everyday
objects to complex scientific instruments. A worldwide community of makers - students,
hobbyists, artists, programmers, and professionals - has gathered around this open-source
platform, their contributions have added up to an incredible amount of accessible
knowledge that can be of great help to novices and experts alike.
Arduino was born at the Ivrea Interaction Design Institute as an easy tool for fast
prototyping, aimed at students without a background in electronics and programming. As soon
as it reached a wider community, the Arduino board started changing to adapt to new needs
and challenges, differentiating its offer from simple 8-bit boards to products
for IoT applications, wearable, 3D printing, and embedded environments. All Arduino boards
are completely open-source, empowering users to build them independently and eventually
adapt them to their particular needs. The software, too, is open-source, and it is growing
through the contributions of users worldwide.
Why Arduino?
Thanks to its simple and accessible user experience, Arduino has been used in thousands of
different projects and applications. The Arduino software is easy-to-use for beginners, yet
flexible enough for advanced users. It runs on Mac, Windows, and Linux. Teachers and
students use it to build low cost scientific instruments, to prove chemistry and physics
principles, or to get started with programming and robotics. Designers and architects build
interactive prototypes, musicians and artists use it for installations and to experiment with new
musical instruments. Makers, of course, use it to build many of the projects exhibited at the
Maker Faire, for example. Arduino is a key tool to learn new things. Anyone - children,
hobbyists, artists, programmers - can start tinkering just following the step by step instructions
of a kit, or sharing ideas online with other members of the Arduino community.
There are many other microcontrollers and microcontroller platforms available for
physical computing. Parallax Basic Stamp, Netmedia's BX-24, Phidgets, MIT's Handyboard,
and many others offer similar functionality. All of these tools take the messy details of
microcontroller programming and wrap it up in an easy-to-use package. Arduino also simplifies
the process of working with microcontrollers, but it offers some advantage for teachers,
students, and interested amateurs over other systems:
platforms. The least expensive version of the Arduino module can be assembled by hand, and
even the pre-assembled Arduino modules cost less than $50
Cross-platform - The Arduino Software (IDE) runs on Windows, Macintosh OSX, and Linux
beginners, yet flexible enough for advanced users to take advantage of as well. For teachers,
it's conveniently based on the Processing programming environment, so students learning to
program in that environment will be familiar with how the Arduino IDE works.
Open source and extensible software - The Arduino software is published as open source
tools, available for extension by experienced programmers. The language can be expanded
through C++ libraries, and people wanting to understand the technical details can make the
leap from Arduino to the AVR C programming language on which it's based. Similarly, you
can add AVR-C code directly into your Arduino programs if you want to.
Open source and extensible hardware - The plans of the Arduino boards are published
under a Creative Commons license, so experienced circuit designers can make their own
version of the module, extending it and improving it. Even relatively inexperienced users can
build the breadboard version of the module in order to understand how it works and save
money.
CHAPTER-5
One such IoT application platform that offers a wide variety of analysis,
monitoring and counter-action capabilities is ‘ThingSpeak’. Let us consider ThingSpeak
in detail.
5.2 What is ThingSpeak
ThingSpeak is a platform providing various services exclusively targeted for
building IoT applications. It offers the capabilities of real-time data collection, visualizing
the collected data in the form of charts, ability to create plugins and apps for collaborating
with web services, social network and other APIs. We will consider each of these features
in detail below.
The core element of ThingSpeak is a ‘ThingSpeak Channel’. A channel stores
the data that wesend to ThingSpeak and comprises of the below elements:
8 fields for storing data of any type - These can be used to store the data from a
sensor or froman embedded device.
3 location fields - Can be used to store the latitude, longitude and the elevation.
These are veryuseful for tracking a moving device.
1 status field - A short message to describe the data stored in the channel.
You can change the name to fit your need and you can add a description corresponding to
the channel. You can add any other useful description into the metadata field. In the same
page, you should see the fields for Latitude, Longitude and Elevation. Also, when you
scroll down you should see a check box that says ‘Make Public?’. Let us consider the
significance of the various fields and the tabs:
Latitude, longitude and elevation - These fields correspond to the location of a ‘thing’
and are especially significant for moving things.
Make Public? - If the channel is made public, anyone can view the channel's data feed
and the corresponding charts. If this check box is not checked, the channel is private,
which means for every read or write operation, the user has to pass a corresponding API
key.
URL - This can be the URL of your blog or website and if specified, will appear on the
public view of the channel.
Video ID - This is the ID corresponding to your YouTube or Vimeo ID. If specified,
the video appears on the public view of the channel.
Fields 1 to 8 - These are the fields which correspond to the data sent by a sensor or a
‘thing’. A field has to be added before it can be used to store data. By default, Field 1 is
added. In case you try posting to fields that you have not added, your request will still be
successful, but you will not be able to see the field in the charts and the corresponding data.
You can click on the small box before the ‘add field’ text corresponding to each field to
add it. Once you click the ‘add field’ box, a default label name appears in the text box
corresponding to each field and the ‘add field’ text changes to ‘remove field’. You can
edit the field text that appears by default when a field is added to make more sense. For
example, in the below screen, I have modified the text for Field 2 to ‘SensorInput’. To
remove a field which is added, just check on the ‘remove field’ box. Once you click this,
the text ‘remove field’ changes back to ‘add field’ and the corresponding field text is
cleared.
Once you have edited the fields, click on ‘Save Channel’ button. You should now see
After a series of updates, the charts in the private view tab for each of the fields will look
like the below:
Each of the dots correspond to the value and the time at which the value was posted to the
channel. Place the mouse over a dot to get more details on the exact date and the GMT
offset from which the value was posted.
Please note that in the above example, I have sent some sample values to the channel. You
cansend any data here, say the periodic readings from a temperature sensor or RPM values
from a motor. The Y-axis show the names that we specified to each of the labels. I have used
Internet Explorer 11 to run this example. After running this, to check whether the feed got
updated, run the below URL:
http://api.thingspeak.com/channels/YOUR_CHANNEL_ID/feed.json?key=YOUR_KEY&lo
cation=tru e
NOTE: As mentioned above, you have to replace YOUR_KEY with your write API key and
replace YOUR_CHANNEL_ID with the ID corresponding to your channel. Also, if you
invoke the above URL without specifying location=true, you will not be able to see the latitude,
longitude and altitude fields.
The below is a screen after running the above URL after updating my location details for
few times:
One of the key elements of an IoT system is an IoT service. ThingSpeak is one such
application platform offering a wide variety of features. At the heart of ThingSpeak is a
channel which can be used for storing and processing data collected from the ‘things’.
ThingSpeak also provides various apps for integration with web services, other APIs and
social networks and provides the capability to create the applications as plugins. It is a great
platform with extensive possibilities to explore the integration of the Internet of Things.
CHAPTER-6
Calibrating the sensors: MQ series sensors consist small heater with an electro-chemical
sensor in order to measure different kind of gases combinations. It is recommended to calibrate
the detector for 5000 ppm of gas concentration and use value of Load resistance (RL) about 20KΩ.
The sensor itself yields an analog voltage which is transferred using an ADC. The values
transferred can be used for designing to get the ppm values of the gas. Connecting WIFI Module
to Arduino: It creates a serial communication between Arduino and WIFI module. Hence, the serial
pins of Arduino (Rx and Tx) and WIFI is done by connecting Rx pin of WIFI module to Tx pin of
Arduino and Tx pin of WIFI module to Rx pin of Arduino.
ThingSpeak IOT platform uses channels to store data sent from devices. By altering the
settings in Channel configuration, and creation of a channel is done, and then data is sent to and
from to the channel and retrieved in the same way. Channels are made public to share data. Is done
by connecting MQTT publish method which can be also used to update the channel feed and the
MQTT subscriber to receive messages. Sending the readings to ThingSpeak server and analyzing
graphs using MATLAB in ThingSpeak- ThingSpeak IoT platform is an open source with
incorporate Wi-Fi chip. In the proposed design, it is used to take readings from sensors and upload
the value of ppm concentration of gas on the cloud using WIFI that using HTTP.
6.2 CONCLUSION:
Septic tanks are a method to check on hazardous release of gaseous components into the
environment in areas inclusive of both residential and industrial premises. Sewage, on
natural decomposition, often leads to production of toxic gases. These gases can be
poisonous if inhaled for a long period of time and may lead to chronic illnesses in work force,
if it is introduced in the body in high concentrations. Septic tank gases contain sulphur
dioxide, hydrogen sulphide (H2S), methane, ammonia, nitrogen dioxide, carbon dioxide and
traces of carbon monoxide. These toxic gases thus become dangerous especially for sewage
workers and cleaners and sometimes lead to their death. Therefore, to prevent exposure to
such workplace hazards, an IOT based monitoring system was proposed and designed which
monitored their levels and analyzed the quantities present in the environment. In this
project carbon monoxide gas was sensed using sensor module MQ-7 and methane gas using
sensor module MQ-4.