Professional Documents
Culture Documents
BY
ISAAC IKECHUKWU
A PROJECT WORK SUBMITTED TO THE DEPARTMENT OF
ELECTRICAL/ELECTRONICS ENGINEERING
TECHNOLOGY, SCHOOL OF ENGINEERING TECHNOLOGY,
NUHU BAMALLI POLYTECHNIC ZARIA, IN PARTIAL
FULFILMENT OF THE REQUIREMENTS FOR THE AWARD
OF HIGHER NATIONAL DIPLOMA.
DECEMBER, 2018.
DECLARATION
I hereby declare that this work is the product of my own efforts, under taken
under the supervision of Engr. Rabiu Al-Tanko Umaisha and has not been
presented elsewhere, for the award of Higher National Diploma (HND), all
sources have been duly acknowledged.
ii
CERTIFICATION
This is to certify that the research work for this project and the subsequent
supervision.
iii
APPROVAL PAGE
This is to certify that this project work has been examined and approved for the
award of Higher National Diploma (HND) in Electrical/Electronic Engineering
Technology.
iv
ACKNOWLEDGEMENT
v
DEDICATION
I hereby dedicate this Project to my family and friends who had contributed
positively, to my studies.
vi
TABLE OF CONTENT
Title page - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -i
Declaration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -ii
Certification - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iii
Approval page - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iv
Acknowledgement - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - v
Dedication- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - vi
List of figures - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - x
List of tables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - xi
Abstract - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -xii
vii
CHAPTER ONE
INTRODUCTION
1.1 Introduction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1
1.4 Motivation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - -4
CHAPTER TWO
LITERATURE REVIEW
2.1 Introduction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - 7
CHAPTER THREE
CONSTRUCTION
3.1 Introduction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11
viii
3.3.2 Bluetooth module - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -14
3.2.3 Buzzer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 15
CHAPTER FOUR
TESTING, RESULTS AND DISCUSSIONS
4.1 Introduction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 21
ix
CHAPTER FIVE
SUMMARY, CONCLUSION AND RECOMMENDATIONS
5.1 Introduction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 26
5.2 Summary - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 26
5.3 Conclusion - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 26
Reference - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -29
LIST OF FIGURES
x
LIST OF TABLES
xi
ABSTRACT
The aim of this project is to construct an Adaptive Wireless Multi-Gas Detector Unit using
Microcontroller Atmega 328. These mainly aim at preventing gas accidents in homes and
industries. The adaptive wireless multi-gas detector unit makes use of a gas sensor placed in
the circuit to observe the presence of any toxic gases harmful to human. The sensor detects
any toxic gas and sends signal to the microcontroller, the microcontroller sends signal to the
buzzer as sound and the wireless channel alerting people around of danger. The usage of this
adaptive wireless multi-gas detector unit using microcontroller will largely reduce the
accidents in homes and industries. This report deals with construction of adaptive wireless
multi-gas detector unit.
xii
CHAPTER ONE
INTRODUCTION
1.1 INTRODUCTION
When individuals lack proper gas detection monitors to protect them from
(actuator) there is a high risk of loss of lives and properties. As oil and gas
risk from exposure of dangerous gases are more prevalent. There have been
many losses of lives and properties over recent years. Gases such as carbon
and others are released during the usage, exploration and manufacturing
process.
exposure. The gas can also be generated inadvertently during fire involving
symptoms of respiratory tract irritation; patients feel fine thereafter, and then
die of choking a day later because of buildup of fluid in the lungs (delayed
1
wireless multi gas detector”. Laboratories, Homes and Refining facility turns
This system is very easy to use and is quite user-friendly. The configuration
and set-up of the gas detector is more technical. With this system, industrial
The idea of a full scale wireless replacement of their existing protocol can be
overwhelming.
early detection method relied on less precise detectors. Through the 19 th and
2
early 20th centuries, coal miners would bring canaries down to the tunnel
carbon dioxide, carbon monoxide and methane. The canary, normally a very
songful bird, would stop singing and eventually die if not removed from
The first gas detector in the industrial age was the flame safety lamp (or
fresh air. To prevent ignition with the lamps flame was contained within a
The modern era of gas detection started in 1926-1927 with the development
formed in 1928 in Palo Alto, by Dr. Oliver Johnston and Phil Williams. In
the modern age of gas detection, including making instruments smaller and
3
more portable, development of a portable oxygen detector as well as the first
chemically infused paper that turned brown when exposed to the gas. Since
detect, monitor and alert the leak of wide array of gases [4].
1.4 MOTIVATION
Gas plants, homes and industries explosions have become recurring events
across the world, raising questions about public safety. In 2015, an explosion
took place in Lagos Nigeria. People were feared dead, before the disaster,
there have been other cases in Warri, Delta State, Imo State and Nnewi
Anambra State. The loss of lives and properties over the years in Nigeria as
4
1.5 SIGNIFICANCE OF THE PROJECT.
1. To save lives and properties
2. Very much useful for homes and industries to reduce gas accidents
3. Use of this system on a large scale can bring significant reduction to loss
Both gas and temperature sensors cannot work synchronously, so the gas
2.1 INTRODUCTION
In this chapter, various literature related to the project are reviewed.
sensors. But was initiated in the 1953, they have observed the change in
However, it was not taken seriously because results were not reproducible.
Gartner Group, (2000) analyzed how Wireless systems can now integrate
time meteorological data and personal physiologic data. Detection and data
capture expedite and accelerate decision making, and improve planning and
rebroadcast alarms and data in real-time using mobile devices and the
Internet. Wireless hazard detection system users can now engage remote
experts in the same way that doctors working in remote locations can
6
Joseph et al proposed a real-time forest fire detection system based on
wireless sensor network. The system collects the data and processes it in the
wireless sensor network for detecting the forest fire. They designed the
makes use of the redundancy and the correlation of the sampling readings in
both time and space to ease the traffic and control [7].
Tareq Alhmiedat, 2015 designed a system that will be monitoring the air
gases including CO, H2S, and NO2. The deployment of Wireless Sensor
sensed data from sensor field through a web server application. This paper
7
wireless sensor network environmental monitoring. The existing systems are
dangerous regions and their conditions and trends in the air for preventing
Ohm’s law and mobile sensing coupled with ambient intelligence governing
decision-making for industrial workers. The system has been monitored the
industrial workers. They named the system the real-time mine auxiliary
intelligent activity sensor and repeater and arrives at decision to resolve the
Hua Fu et al. (2009) studied the fuzzy theory and neural network technology
Rajkumar Boddu et al. (2012) designed a gas area monitoring system using
improved using this scheme and reduce misfortune in the gas exploration.
9
CHAPTER THREE
CONSTRUCTION
3.1 INTRODUCTION
In this chapter the construction process and the mode of operation of the
Gas Detector Unit. Passive and active components were used (resistor,
achieve the given project and tests were carried out to ensure that the system
operations.
TEMPERATURE SENSOR
WIRELESS
10
Figure 3.2 A circuit diagram of the system
Gas sensors
Bluetooth module
Microcontroller
Temperature sensor
11
3.3.1 Gas Sensor:
A gas detector is a device that detects the presence of gases in an area, often as
part of a safety system. This type of equipment is used to detect a gas leak or
other emissions and can interface with a control system so a process can be
automatically shut down. For the project an MQ-4 Smoke Sensor was used as
The MQ-4 smoke sensor is sensitive to smoke and to the following flammable
gases: LPG, Butane, Propane, Methane, Alcohol, Hydrogen and CO2. The
resistance of the sensor is different depending on the type of the gas. The smoke
sensor has a built-in potentiometer that allows you to adjust the sensor
12
3.3.2 Bluetooth Module:
HC-05 Bluetooth Module is an easy to use Bluetooth SPP (Serial Port
mode between master and slave mode which means it able to use neither
Specification:
o Model: HC-06
o Input Voltage: DC 5V
13
3.2.3 Buzzer
The buzzer or beeper is an audio signaling device, which may be
alarm devices, timer and confirmation of user input such as a mouse click or
keystroke.
3.2.4 Microcontroller:
The ATmega328 is a single-chip microcontroller created by Atmel in the
has a modified Harvard architecture 8-bit RISC. The ATmega 328 is a low-
speed.
14
3.2.5 Temperature Sensor:
TMP36 and its linear output and precise calibration simplify interfacing to
maximum. The supply current runs well below 50 µA, providing very
function is provided to cut the supply current to less than 0.5 µA.
notifying that there is danger, and the buzzer then converts the electrical
15
3.5 DEVELOPMENT PROCESS
Table 3.1 material selection
process used
power etc
capacitor, 22µf
20,22,23 and 28
capacitor,
where used.
compiler,
power etc
microcontroller.
16
Bluetooth module HC 05 The Bluetooth Jumper wires,
the
microcontroller.
the
microcontroller
getting it power
10 were connected together with a 16 MHz crystal capacitor and each of the
pins was connected with a 22µf capacitors. Pins 7 and 20 were connected
together and the served as the voltage supply (5V) for the atmega 328. Pins 8
and 22 were connected together and the both severed as the ground for the
microcontroller.
17
A power supply unit (DC) with 5volt voltage regulator was constructed to
The temperature sensor (TMP 36), which has three terminals, the first
terminal Vcc was connected to positive power supply, the centre terminal
The smoke sensor which has four pins, the first terminal which is analogue
connected to the negative terminal of the power supply and the last terminal
The buzzer or beeper which has polarized terminals, the positive terminal of
The Bluetooth device which serves as a wireless unit, with several terminals.
connected to the ground of the power supply, pins Rx and Tx are connected
18
Figure 3.8 The Assembled Adaptive Multi-Gas Detector circuit
19
float temperatureC = (voltage - 0.5) * 100 ; //converting from 10 mv per
degree wit 500 mV offset
//to degrees ((voltage - 500mV) times 100)
Serial.print("Temperature detected ");Serial.print(temperatureC);
Serial.println(" degrees C");
Serial.print("Amount of gas ");
Serial.println(analogSensor);
//Checks if it has reached the threshold value
if (analogSensor > sensorThres)
{
// Serial.print("Dangerous gas detected");
tone(buzzer, 1000, 200);
}
else
{
noTone(buzzer);
}
if (temperatureC >= 50)
{
tone(buzzer,5000,50);
delay(100);
; else
{ //noTone(buzzer);
}
delay(100);
}
20
CHAPTER FOUR
TESTING, RESULT AND DISCUSSION
4.1 INTRODUCTION
This chapter highlights the tests, results and discussions
when the gas threshold is more than 400 and the temperature threshold is
more than 50°C the condition is abnormal according to the Adaptive Multi-
engine which emits heat and smoke from its exhaust tank. The tests were
carried out for the duration of one minute. Normally, Generator emits
human. When the Gas Detector was exposed to the gasoline generator, it
documented in the table were seen from the serial monitor of the computer.
All the parameters listed on the table show that the substances emitted from
the exhaust tank of the running generator are dangerous to human health.
21
Table 4.1 Result for combustion Engine
dangerous gas. So the tests and results were normal and there was no alarm
of any danger.
22
4.2.3 Alcohol Test
Table 4.3 shows the result gotten when the gas detector senses the presence
of alcoholic gas. And we discovered that the Adaptive Multi- Gas Detector
Unit can be used as breathalyzer for the Road Safety Corps to detect drunk
drivers. The results gotten were not constant because the gas sensor cannot
detect all kind of alcoholic gas. During the tests, we observed that the
Also table 4.4 shows the tests and results carried out on an ordinary matches
flame which burns for a little time and emits both heat and a little of carbon
monoxide. The duration of the tests lasted for one minute by burning it
wooden stick. A set of 4 match box were used during the tests and results
23
Table 4.4 Result for carbon monoxide (matches)
4.3 DISCUSSION
The gas and temperature sensitivity consists of hasty sensors that detect any
of the gas variations. The system takes in analogue signals either as toxic
gas, temperature or both into the programmed chip installed and the chip is
responsible for sending an output signal as a voltage value as either toxic gas
The whole system takes a maximum of 5-6 volts which is the product and
design standard voltage for the system. Exceeding such value will lead to a
24
CHAPTER FIVE
SUMMARY, CONCLUSION AND RECOMMENDATIONS
5.1 INTRODUCTION
This chapter highlights the summary, conclusion and recommendation of the
whole work.
5.2 SUMMARY
The purpose of this Adaptive Wireless Multi-Gas Detector Unit is to save
and homes. Over the years, there have been so many manual ways of
detecting leakage of gas and high temperature especially using The canary,
normally a very songful bird, would stop singing and eventually die if not
removed from gases, signaling the industrial workers (miners) to exist from
the hazardous location quickly. But with the use of the Adaptive Multi-Gas
monitor is installed for any gas leakage with any change in temperature and
industrial workers can run their daily routine without any fear of gas
5.3 CONCLUSION
After carefully going through the design work, the construction work was
25
carefully done by ensuring there was no component damage or perilous
mistakes.
At the end of the construction it was tested and it worked as expected. That
is, whenever the Adaptive Multi-Gas Detector Unit senses any toxic gas, it
will surely alert the people around and whenever there is a high temperature
beyond it threshold, it will also alert people by using the buzzer installed in
the system.
5.4 RECOMMENDATION
In this project we recommend the use of RF (radio frequency) sensor which
is usually used to transmit and receive radio signals between two devices.
range of 500 meters compare to the Bluetooth module used in the project.
Recommend also the use of hardware display unit either as a liquid crystal
display (LCD) or light emitting display (LED) which can display the various
gases present in the atmosphere and can also display the temperature
condition at that specific location, and the use of printed circuit board (PCB)
26
REFERENCES
[1] David Birch , “Canary in coal mine as sensor”, A development of prototype low
cost air quality sensor system, 2016
[3] United State Patent “electrochemical gas detector and method”, 2010
[5] APS News “This month in physics History” Nov 17-23 Dec, 1947.
[7] 2007 Summit report “Real time monitoring system for safety using wireless
sensor network”.
[8] David Vallero “Fundamentals of air pollution” Fourth edition, Page no 12. 2008
[9] Sumit Kumar Srivastava “Real time monitoring system for mine safety using
wireless sensor network”, Department of mining engineering national
institution of technology, Rourkela.
[10] H Fu et al “Intelligent fuzzy sensing system in coal mine safety monitoring” sixth
international conference on fuzzy system and knowledge discovery, Tianjin,
2009, page no 306-310
[11] Rajkumor Boddu et al “Zigbee based mine safety monitoring system with GSM”,
Department of electronics and communication engineering, Chirala Engineering
College China.
27