Alam 2021
Alam 2021
Abstract—Nowadays, people are having a hectic schedule and risen in recent years. According to Bangladesh Fire Service
hence sometimes unconsciously forget to turn off their gas burner and Civil Defence, 4,236 incidents from stoves took place last
in the kitchen. A significant amount of gas is being wasted. This year, which accounts for 23.40 percent of total fire incidents
system's fundamental goal is to develop a device for kitchen
safety and reduce gas wastage, which concentrates on additional that year.
protection. This paper proposes an approach to automatically A significant amount of gas is being wasted due to the
prevent any threat from the usage of the gas stove. This system carelessness of consumers. Sometimes they forget to turn off
is an ATmega328p microcontroller-based that deals with turning the burner, which may also lead to damages. For saving a
off the kitchen gas valve mechanism in various situations. It single match stick, people keep the burner turned on for a long
turns off the gas supply when it is not used for cooking purposes
utilizing a solenoid valve. The gas burner will turn on when time. That’s why a large amount of gas is wasted every day. If
there must have a flame in the gas burner and a cooking pot we keep on wasting gas like this way, we w ill face a massive
on the gas burner. When smoke is detected, the temperature problem in the future, and it w ill become a perilous situation
is high from its range, and there is any kind of unnecessary for our future generation. I f smart and new technology controls
gas amount in the kitchen, then the exhaust fan will turn on the condition, the people’s suffering w ill continue little bate.
automatically. Like a micro oven, there is also a timer system
for cooking purposes at a particular time. Here also include a Several research papers have been published on gas leakage
Bluetooth system for controlling the burner by voice. If there and security system.T.H.Mujawar et al. proposed, “Devel
any gas leakage is detected, the system will make an alarm and opment of a wireless sensor network system for LPG gas
inform the house owner by calling and sending a text. Also, leakage detection system” in 2015 [1]. The designed system
there are various modes involved in this system. It highlights the monitors the gas leakage detection using an Arduino micro
provision for kitchen safety. It greatly assists in securing safety
and making use of gas stove more convenient and easy. controller depending on the GSM network. The leakage is
Index Terms—transport management, microcontroller, IoT, detected with the help of the MQ-2 gas sensor. The most
ESP8266, blynk crucial factor is that the mobile phone does not require any
special application or hardware to be used in this system,
I. I NTRODUCTION and any mobile phone supporting the SMS service could be
In our daily life, we waste our gas unnecessarily. At used in the system. Potadar et al. proposed “LPG Leakage
present, wastage of gas is a significant issue that needs to Detection and Automatic Gas Cylinder Booking System” in
be encountered. LPG is currently the most commonly used their system Gas leakage is detected by sensor properly, and
fuel in households for cooking purposes. Gases are highly stepper motor operated to turn off the regulator [2]. When
inflammable and are very dangerous if it leaks. Gas leakage the weight of the cylinder decreases, SMS is sent on mobile
and its detection is a significant problem in the day to day lives. numbers. The audio file played correctly while gas leakage was
A gas explosion occurs when there is a gas leak combined with detected, and the weight of the gas cylinder goes below the
an ignition source. A variety of explosive gases exist, including threshold. In 2012, A. Mahalingam et al. proposed a project
methane, propane, natural gas, and butane. These gases are “Design and Implementation of an Economic Gas Leakage
widely used throughout the world for heating purposes. The Detector” [3]. This paper provides an audio-visual solution for
leakage of this gas is hazardous and increases the risks of fire LPG leakage detection in homes and commercial buildings
explosion. This leads to both financial and human loss. The and audibly alerts the users of those premises in case of a
number of reports of death due to gas leak explosions has hazardous situation, and provides warning signals in low-risk
Authorized licensed use limited to: University of Exeter. Downloaded on June 02,2021 at 21:28:10 UTC from IEEE Xplore. Restrictions apply.
2021 2nd International Conference on Robotics,Electrical and Signal Processing Techniques (ICREST)
scenarios. The drawback of these techniques is that they are II. B l o c k Dia g r a m o f t h e Sy s t em
Page 521
Authorized licensed use limited to: University of Exeter. Downloaded on June 02,2021 at 21:28:10 UTC from IEEE Xplore. Restrictions apply.
2021 2nd International Conference on Robotics,Electrical and Signal Processing Techniques (ICREST)
III. Sy s t em De v e l o pmen t control, again, the pin w ill be set low, and the coil’s magnetic
In this part, we are going to discuss the step by step charge is lost, and the current flow also stopped, and the
development process of our system. Our system consists of exhaust fan w ill turn off.
two microcontrollers and several peripheral devices such as The gas burner w ill turn on within two conditions. The first
Temperature Sensor (DHT11), Natural Gas Sensor Module one is: there must be a flame in the burner, and the second
(MQ4), Smoke/LPG/CO Gas Sensor (MQ-2), Flame Sensor, condition is: there must be a cooking pot on the gas burner.
LCD, IR Sensor, seven-segment display, keypad, Bluetooth, When both states fulfill, then the gas burner w ill start the gas
etc. flow. For controlling the gas flow, we used a solenoid valve,
which voltage is 12V. To control the solenoid valve here, we
A. Gas leakage detection and Smoke Detection use a relay. We already know the working process of a relay in
We have used MQ4 for sensing natural gas concentration the discussing part of controlling the exhaust fan. The solenoid
in the air. MQ4 can detect natural gas in any place from 200 valve’s positive terminal is connected with relay’s normally
to 10,000ppm. Here, the output voltage of the sensor is 0-5v open pin, and the negative terminal is connected with 12V.
for 200 to 10,000ppm. When the gas is around 2000 ppm, Another part of 12V is connected with relay’s common pin.
the value of sensors analog pin become 1 v. Also, we have Relay’s positive pin is connected with 5V, the negative terminal
used MQ2 as our smoke sensor. The output voltage of smoke is connected with the ground, and the input pin is connected
sensor increases when the concentration of smoke increase. with microcontroller’s D4 pin. When there is a flame in the
The output voltage of MQ2 varies from 0 to 5V. MQ2 has 4 gas burner and a cooking pot on the gas burner, the D4 pin
pins: VCC, GND, Analog output, Digital output pin. VCC is w ill be in a high state, and there w ill be a current flow throw
connected to 5V, GND is connected to GND of power supply. the relay’s coil, and the coil becomes a temporary magnet
A0 pin is connected with Microcontroller’s A3 pin. When when electricity flows through it. For this magnetic power, the
smoke is detected exhaust fan w ill automatically turn on to normally closed pin of relays is connected with the normally
take out the smoke from the kitchen. open pin, and the current flow through the line and the solenoid
valve w ill turn on. When the cooking pot was removed and
B. Detection o f Flame and Cooking Pot there was no flame, the pin w ill be low, and the coil’s magnetic
We have used a flame sensor to detect flame in the burner. charge is lost, and the solenoid valve w ill turn off, and the flow
Usually, the voltage of the flame sensor is 5V. When the gas of gas also stopped.
burner is off, then the voltage is 5V. When the gas burner w ill
D. Controlling Gas Burner by Voice Command
on, then the voltage w ill decrease to around 2.5V. The flame
sensor gives the analog output. It detects the flame source of For voice control system we use Arduino Voice control
a wavelength in the range of 760nm-1100nm. It has four pin software. By Arduino voice control software we put our voice
(VCC A0, D0, GND). VCC connects with +5V, GND connect as a command and the voice goes to the microcontroller
with Ground. A0 pin is connected with Microcontroller’s A2 by Bluetooth HC-05. The microcontroller (2) received the
pin shown in fig 1, 2. When the flame is detected, the A0 w ill voice by it’s RX pin. After receiving the voice command
become high. microcontroller closed the gas burner. When the voice was
IR sensor is used to detect cooking pot on the gas burner. If received then microcontroller (2) put it’s 13 number pin high
there is any cooking pot on the gas burner, the IR sensor can wait for 8 second again put it in low state. In this 8 second the
detect it easily. Usually, the output voltage of the IR sensor is another microcontroller (1) read the pulse by it’s 12 number
low. Still, when there is any cooking pot on the gas burner, then pin and closed the solenoid valve, with this the supply of gas
the output voltage w ill become high and the microcontroller w ill become stopped.
gets the signal that there is any obstacle on the burner.
E. Circuit Diagram
C. Controlling Exhaust Fan and Gas Burner “Fig. 3” and “Fig. 4” shows the complete circuit diagram of
We use an exhaust fan to control the environment of our system. We have used an ATmega328 microcontroller. The
our kitchen. When the temperature increases from its limit complete circuit diagram is divided into two parts. The first
and there is any smoke in the kitchen the exhaust fan w ill part is the diagram of the sensors and burner. The second part
automatically turn on. Here we need a Relay to control the is the diagram of the keypad system for setting the timer in the
exhaust fan. The exhaust fan’s positive terminal is connected gas burner. In the first diagram, there are MQ4, MQ2, DHT11,
with relay’s normally open pin, and the negative terminal is Flame sensor, IR sensor, which are respectively connected with
connected with 12V. Another part of 12V is connected with the microcontroller’s A1, A3, A0, A2, D6 pins. The LCD
relay’s common pin. Relay’s positive pin is connected with 5V, display used in this system is a 16x2 LCD where RS, E, D4,
the negative terminal is connected with ground, and the input D5, D6, D7 are connected to the microcontroller with the pin
pin is connected with the microcontroller’s D7 pin.When relay number 6, 5, 4, 3, 2, 1. The VCC and GND are connected
became ON, the normally closed pin of relays are connected with VCC (5V) and GND of Microcontroller, respectively.
with the normally open pin, and the current flow through the There is a GSM used in the diagram in which two pins RX
line and the exhaust w ill turn on. When the situation is under and TX are respectively connected with microcontroller’s 13
Page 522
Authorized licensed use limited to: University of Exeter. Downloaded on June 02,2021 at 21:28:10 UTC from IEEE Xplore. Restrictions apply.
2021 2nd International Conference on Robotics,Electrical and Signal Processing Techniques (ICREST)
Page 523
Authorized licensed use limited to: University of Exeter. Downloaded on June 02,2021 at 21:28:10 UTC from IEEE Xplore. Restrictions apply.
2021 2nd International Conference on Robotics,Electrical and Signal Processing Techniques (ICREST)
Stan
Head I imerin
Pin (pm 121
Temperature >30 degree C
timerin
tin- HIGH? Switch ON the
exhaust Ian Fig. 6. Block diagram of the circuit having Microcontroller 2
Switch oil exhaust Ian
^ END J
B. Implementation
In this section, we have displayed the implementation of the
implemented system. The complete overview of implemented
prototype is shown in “Fig. 7” and “Fig. 8” demonstrate the
gas leakage detection by the implemented system. “ Fig. 9”
represents the relation between the buzzer and gas sensor.
When there is any gas leakage, the buzzer w ill make an alarm.
“ Fig. 9” shows that when the gas sensor’s value is low, the Fig. 7. Complete overview of the system
buzzer’s value is low. When the voltage of the gas sensor is
high, it means gas leakage is detected. Then the output voltage
of buzzer w ill become high, and then it w ill make an alarm.
Page 524
Authorized licensed use limited to: University of Exeter. Downloaded on June 02,2021 at 21:28:10 UTC from IEEE Xplore. Restrictions apply.
2021 2nd International Conference on Robotics,Electrical and Signal Processing Techniques (ICREST)
Page 525
Authorized licensed use limited to: University of Exeter. Downloaded on June 02,2021 at 21:28:10 UTC from IEEE Xplore. Restrictions apply.