Potential Fire Hazard Detection System Based on Microcontroller
Using the Fuzzy Mamdani Method
Arif Budi Sampurna
1
, Edy Setiawan
1
, Imam Sutrisno
1
, Urip Mudjiono
1
, Boedi Herijono
1
,
Tri Mulyatno Budhi Hartanto
2
and Ignatius Kristianto Agung Nugroho
3
1
Politeknik Perkapalan Negeri Surabaya, Indonesia
2
Balai Pendidikan dan Pelatihan Transportasi Laut, Indonesia
3
Sekolah Tinggi Ilmu Pelayaran, Indonesia
Keywords: Fuzzy Mamdani, Arduino UNO, MQ-9, MQ-5, MQ-2, AMG8833.
Abstract: Early fire prevention is very important. Based on statistical data from the DKI Jakarta Provincial Fire and
Rescue Service. In 2016 there were 1,047 fire cases, while in 2017 it almost doubled to 2,055 cases. The
danger of a room is also influenced by the level of a gas (based on LEL and UEL values). Therefore, it is
necessary to have a tool to prevent or warn of potential fire hazards early. This final project research makes
potential fire hazard detection system. The sensors used include MQ-9, MQ-5, MQ-2, and thermal sensor
AMG8833. The working system of this tool is AMG8833 connect raspberry to detects fire, output from
AMG8833 will be sent to Arduino as input for Fuzzy Mamdani along with the values from the sensors MQ-
9, MQ-5, MQ- 2 (there are 4 inputs). The result or decision of Fuzzy is the level of potential fire hazard that
occurs. The results of the research are expected to be able to provide early warning or prevention of fire. In
addition, it is hoped that this research module can be used as a teaching module for fire hazard detection
systems to support a better vocational education system. From 10 trials, 90% of the system success was found
for detecting potential fire hazards, for detecting fires using AMG8833 also success and for the success of
sending information via LED-RBG by 90%, and via telegram 100%.
1 INTRODUCTION
Fire is an element that is very useful for humans if
you can control it, but fire can also be dangerous to
humans like fire. Fire is one of the disasters that often
occurs both in big cities and in rural areas that can
cause huge losses (Irawati, 2017). Fires can occur at
any time without anyone being able to predict them.
Many factors can affect the occurrence of fires,
including electrical short circuits, temperature
increases from mechanical processes that cause fires,
and human factors or human error (Wijaya, et al.,
2020).
In a company or housing, it is very important to
have a means of detecting the potential level of fire
hazard. This tool aims to detect the potential level of
fire hazard early on so that it can be overcome quickly
before a fire occurs. Many fire disasters have caused
many casualties and property losses. Fires in homes
often occur due to accidents in the kitchen
environment, or electrical problems in the installation
of electronic devices. Fires start at a small level but
can endanger large houses or surrounding buildings
(Irawati, 2017).
Based on statistical data from the DKI Jakarta
Provincial Fire and Rescue Service, there were 1,047
fire cases in DKI Jakarta province in 2016. A total of
754 cases were caused by electricity, 35 cases due to
cigarettes, 75 cases due to stoves and 183 cases due
to other factors and 0 for unknown cases, but in 2017
fire cases increased almost 2 times to 2,055 cases. A
total of 851 cases were caused by electricity, 33 cases
were caused by cigarettes, 156 cases were caused by
stoves, 1009 cases were caused by other factors, and
6 cases had no known cause. While the results of
statistical data on fire incidents in Indonesia in 2007,
most fire accidents occurred in residential areas,
namely 65.8%, shopping centers 9.8%, industrial
buildings by 8%, offices by 5.6%, markets by 4.8%,
hotels by 4.6 %, and other buildings by 0.4% (Agusri,
2021).
The room can be said to be flammable if a certain
volume of hazardous gas has passed the Lower
Explosive Limit (LEL) or the lower limit of the