0% found this document useful (0 votes)
16 views90 pages

Report

The document presents a graduation project focused on developing a fire alarm system using Arduino, aimed at enhancing fire safety in Algeria. It details the components, history, and types of fire alarm systems, as well as the advantages of using Arduino technology for this purpose. The project includes acknowledgments, a dedication, and a comprehensive table of contents outlining the various chapters and topics covered in the study.

Uploaded by

kartiksayz60
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views90 pages

Report

The document presents a graduation project focused on developing a fire alarm system using Arduino, aimed at enhancing fire safety in Algeria. It details the components, history, and types of fire alarm systems, as well as the advantages of using Arduino technology for this purpose. The project includes acknowledgments, a dedication, and a comprehensive table of contents outlining the various chapters and topics covered in the study.

Uploaded by

kartiksayz60
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 90

MINISTRY OF HIGHER EDUCATION AND SCIENTIFIC RESEARCH

UNIVERSITY OUARGLA-MERBAH KASDI

Institute of Technology
Department: Applied Engineering

Project Graduation in order to obtain the diploma of


License

Field: Science and Technology


Specialty: Measure, Metrology & Quality
Realized by:
BARHOUM INAS

FIRE ALARM SYSTEMT USING ARDUINO

THE JURY:
DrMECHRI Med laid University of Ouargla Examiner

Dr. SETTOU Belkhir University of Ouargla Director

Dr. ROUABEH Boubaker University of Ouargla President

Academic Year 2022/2023


ACKNOWLEDGMENT
First of all, I would like to praise ALLAH, the most merciful
for making
the realization of my project possible and also for making m
wishes come true and achieving my goals.
In these few lines, I would like to thank all the people who, in
one way or another, have contributed to the smooth running of
my work, both on human and scientific matters.
I would also like to show gratitude to the members of the jury
Dr. ROUABEH Boubaker and Dr. MECHRI Med laid for being
attentive to my work and for having also agreed to participate
in the examination committee.
My thanks as well go to my supervisor Mr. SETTOU Belkhir.
I express my gratitude to all the professors of the Applied
Engineering Department who has contributed to my training, I
ask them to believe in my capacities in the hope that this
humble work will give credibility to their efforts.
And a big thank you to me

I
DEDICATION

To myself,
To my dear parents,
To my brother and my sisters,
To my friends and colleagues,
To anyone who helped me during
the difficult time on this work,
And last but not least to my
soulmate,
I dedicate this humble work.

II
TABLE OF CONTENTS
ACKNOWLEDGMENT ................................................................................................................. I
DEDICATION............................................................................................................................ II
TABLE OF CONTENTS ............................................................................................................... IV
LIST OF FIGURES ...................................................................................................................... V
LIST OF TABLES: ...................................................................................................................... VI
GENERAL INTRODUCTION....................................................................................................... VII
Chapiter 01. FIRE ALARM SYSTEMM ....................................................................... 1
1.1 INTRODUCTION: .................................................................... 1
1.2 FIRE ALARM SYSTEM(FAS): ...................................................... 1
1.3 HISTORY OF FIRE ALARM SYSTEMS:.......................................... 2
1.4 THE FIRE PROTECTION ASSOCIATIONS: ..................................... 3
1.5 FIRE ALARM SYSTEM COMPONENTS: ....................................... 4
1.5.1 FIRE ALARM CONTROL UNIT: .......................................................... 4
1.5.1.1.1 Programmable logic controller (PLC): ... 5
1.5.1.1.2 ARDUINO: .............................................................................. 6
1.5.2 FIRE ALAR INITIATING DEVICES: ...................................................... 6
1.5.3 FIRE ALARM NOTIFICATION DEVICES: .............................................. 7
1.5.4 POWER SUPPLY: ............................................................................ 8
1.5.4.1.1 The primary power supply: ............................... 8
1.5.4.1.2 Backup Power Supply: ............................................. 8
1.6 CHARACTERISTICS OF ALARM:................................................. 8
1.7 TYPES OF FIRE ALARM SYSTEM: ..............................................10
1.7.1.1 MANUAL & AUTOMATIC: ...........................................10
1.7.1.2 WIRED& WIRELESS: ..................................................11
1.7.1.3 MONITORED AND UNMONITORED: ..................11
1.7.2 NEED IT TO KNOW ABOUT THE RIGHT ALARM SYSTEM:....................12
1.7.2.1 Installation:..............................................................12
1.7.2.2 Total Cost of Ownership (TCO): ...................................12
1.7.2.3 System Features: ......................................................13
1.7.3 MAINTAINING A FIRE ALARM SYSTEM: ...........................................14
1.7.4 FIRE ALARM SYSTEM ADVANTAGES AND DISADVANTAGES: ...............14
1.8 CONCLUSION: ......................................................................15

IV
Chapiter 02. ARDUINO BOARD .....................................................................................17
2.1 INTRODUCTION: ...................................................................18
2.2 ARDUINO MICROCONTROLLER: ..............................................19
2.2.1 WHAT IS AN ARDUINO? ................................................................19
2.3 WHAT DOSE IT DO?...............................................................20
1.1 WHERE TO BUY:........................................................20
2.4 APPLICATIONS: .....................................................................21
2.5 GOOD REASONS TO CHOOSE ARDUINO: ..................................21
2.6 ELEMENTS OF ARDUINO BOARDS: ..........................................22
2.6.1 ARDUINO HARDWARE: ................................................................22
2.6.1.1 THR DIFFERENT VARIETIES OF ARDUINO BOARDS: ........23
2.6.1.2 ARDUINO CLONES:....................................................25
2.6.1.3 THE EXTENDED FAMILY: .............................................26
SENSORS: ................................................................................................................26
SHIELDS:…………………………………………….. ..........................................................................27
2.6.2 ARDUINO SOFTWARE (IDE) ...........................................................28
2.7 THE ADVANTAGES AND THE LIMITS OF ARDUINO: ....................32
2.7.1 ADVANTAGES OF ARDUINO: ..........................................................32
2.7.2 LIMITATIONS OF ARDUINO: ...........................................................33
2.8 CONCLUSION: ......................................................................34
Chapiter 03. CONTROLLING FIRE ALARM SYSTEM USING
ARDUINO 35
3.1 INTRODECTION ....................................................................36
3.2 THE COMPONENTS REQUIRED TO THE FIRE ALARM SYSTEM: .....36
3.2.1 ARDUINO MEGA: .........................................................................36
3.2.2 FLAME SENSOR: ..........................................................................38
3.2.2.1 APPLICATION:...........................................................39
3.2.2.2 FLAME SENSOR SPECIFICATIONS:................................39
3.2.2.3 HOW TO CALIBRATE THE FLAME SENSOR:....................39
3.2.3 MQ 2 GAS SENSOR:......................................................................41
3.2.3.1 APPLICATION:...........................................................42
3.2.3.2 MQ 2 GAS SENSOR SPECIFICATIONS: ...........................42
3.2.3.3 HOW TO CALIBRATE THE MQ-2 GAS SENSOR: ..............43
3.2.4 OLED DISPLAY: .............................................................................44
3.2.4.1 OLED DISPLAY SPECIFICATIONS: ..................................44
3.2.5 BUZZER: .....................................................................................44

V
3.3 ARDUINO FIRE ALARM SCHEMATICS: ......................................45
3.4 THE CODE THAT USES IT:........................................................46
3.5 RESULT: ...............................................................................51
3.6 UNCERTAINTY OF THE SYSTEM: ..............................................52
3.7 CONCLUSION: ......................................................................53
GENERAL CONLUSION: ............................................................................................................55
REFERENCE: ...........................................................................................................................56
ABSTRACT: ............................................................................................................................. III

VI
LIST OF FIGURES
Figure 1-1: fire alarm system ..................................................................................................... 2
Figure 12-development of fire alarm ......................................................................................... 3
Figure 1-3:THE FIRE ALARM CONTROL UNIT COMMUNICATION .................................................... 5
Figure 1-4:control unit exemple: (A) ARDUINO (B) PROGRAMMABLE LOGIC CONTROLLER. ............ 6
Figure 1-5:CHARACTERISTICS OF ALARM .................................................................................... 9
Figure 16-:(B) Automatic initiating devices, (A)Manual initiating devices .......................................10
Figure 17-:(A) WIRELESS FIRE ALARM SYSTEM, (B)WIRED FIRE ALARM SYSTEM .............................11
Figure 18-:(A)unprofessional monitoring, (B)professional monitoring. ..........................................12
Figure 2-1: the most populer types of Arduino boards ................................................................19
Figure 2-2Robots using Arduino................................................................................................20
Figure 2-3:(C)official boards canbemounted ina chassis,(A) holes,( B) Arduino designed for mounting
on a breadboard .....................................................................................................................23
Figure 2-4 :Sensor compatible with Arduino ..............................................................................26
Figure 2-5: some of the populerArduino shields .........................................................................27
Figure 2-6: types of Arduino shieldes ........................................................................................28
Figure 2-7: board is working .....................................................................................................32
Figure 3-1: Arduino Mega. ......................................................................................................37
Figure 3-2: FLAME SENSOR ......................................................................................................39
Figure 3-3:MQ-2 GAS SENSOR ..................................................................................................42
Figure 3-4: OLED DISPLAY CONNECTED WITH ARDUINO ..............................................................44
Figure 3-5:Buzzer ....................................................................................................................45
Figure 3-6: fire alarm system using Arduino ...............................................................................51
Figure 3-7: sensors values ........................................................................................................52

V
LIST OF TABLES:
Table 1-1:types of initiation devices ........................................................................................... 7
Table 12-:some types of notification devices .............................................................................. 8
Table 3:technical specifications of Arduino Mega 2560................................................................38

VI
General Introduction

GENERAL INTRODUCTION
In recent years, Algeria has witnessed an alarming rise in fire incidents,
posing significant risks to public safety, property, and the environment. Fires
can cause devastating consequences, resulting in loss of life, destruction of
infrastructure, and economic setbacks. Addressing this pressing issue requires
proactive measures, innovative technologies, and comprehensive fire
prevention strategies.
This work aims to introduce an Arduino-based fire alarm system as a
promising solution to enhance fire safety and response in Algeria. By leveraging
the power of Arduino microcontrollers, this system offers an efficient and cost-
effective approach to detect and respond to fire incidents promptly, potentially
minimizing their impact.
The Arduino platform provides a versatile and accessible framework for
developing and deploying customized fire alarm systems. With its open-source
nature and an extensive ecosystem of sensors, actuators, and communication
modules, Arduino enables the integration of various detection mechanisms,
real-time monitoring, and alerting mechanisms.
The proposed fire alarm system incorporates advanced sensors, such as
temperature and smoke detectors and temperature sensor, to identify fire
hazards in their early stages. By constantly monitoring environmental
conditions, these sensors can quickly detect abnormal changes and trigger an
immediate response. When a potential fire is detected, the system activates a
series of predefined actions, including sounding alarms, and sending
notifications to relevant authorities and individuals.
This work considers the affordability and accessibility of the proposed
system. By utilizing Arduino, which is known for its cost-effectiveness and ease
of use, the fire alarm system becomes a viable option for various settings,
including residential buildings, commercial complexes, and public facilities. Its
low-cost nature can potentially encourage widespread implementation, thus
increasing the overall fire safety standards in Algeria.

VII
Chapiter 01. FIRE ALARM SYSTEMM
CHAPTER 1: FIRE ALARM SYSTEM

1.1 INTRODUCTION:

The alarm system (AS) is a messaging gadget. It collects, manages, and


distributes information about abnormal conditions and shows what is happening to
the user[1]. By definition, "an alarm system is the collection of hardware and software
that detects an alarm state, communicates the indication of that state to the operators,
and records changes in the alarm state” ,and an alarm is “an audible and/or visible
means of indicating to the operator an equipment malfunction, process deviation, or
abnormal condition requiring a response"[2].
Alarm systems are a type of security system designed to alert users to potential
risks. They are commonly used in homes and businesses to protect against intruders,
fires, and other threats. Alarm systems can be wired or wireless, triggered by motion,
sound, or other sensors.
It comes in many different varieties, from basic systems to more sophisticated
systems with multiple sensors and features, and it can be monitored by a professional
monitoring service or can be self-monitored with the use of a smartphone app.
In this chapter, we take in more information about fire alarm systems and their
history, go into more detail about the basic components, and then look at the most
important characteristics that distinguish an alarm system[2].
This chapter also highlights the different types of alarm systems. not only that,
but how to choose the right system, and its advantages and disadvantages.

1.2 FIRE ALARM SYSTEM(FAS):

The fire alarm system is a security system, and it is a unit made of several
devices, designed for the fire protection of given objects it helps in notifying the
presence of fire in their vicinity. When a fire detector detects a fire through the central
electrical fire alarm system, it can perform signaling, whether audial or visual., and
automatically contact the Fire and Rescue Service operation center. and can also
perform object control, for example, starting sprinklers, opening fire doors, opening
windows, activating safety gates, and so on. Fire alarms are usually set in fire alarm
systems to provide zonal coverage for residences and commercial buildings[3].

1
CHAPTER 1: FIRE ALARM SYSTEM

Figure 1-1: fire alarm system

1.3 HISTORY OF FIRE ALARM SYSTEMS:

Fire alarm history is long and storied, and reflecting upon past progress allows
homeowners, business owners, and fire alarm security providers to better protect against
fire threats. and the future of modern alarm systems has gone through many stages.

 Before humanity harnessed the power of electricity:

The first fire alarm system was invented in 1852, before humanity harnessed the
power of electricity, by Dr. William F. Channing and Moses Farmer. The system includes
two fire alarm boxes that have a telegraphic key and a handle each. If a fire was found in a
home or business, somebody would need to reach inside one of the boxes and wrench the
handle so that it could send an alert to a nearby alarm station. An operator at the station
would then take the message and notify the fire department so that they could send help[4].

 After humanity harnessed the power of electricity:

The first electric fire alarm system was invented in 1890 by Francis Robbin Upton, an
accomplice of Thomas Edison. He perceived that, most of the time, people wouldn’t have
time to remain around and wrench a handle in the case of fire. Therefore, his electric system
disposed of the requirement for this progress. Surprisingly, the plan for his system was not
that popular when it was first presented, but after some time, people started to understand
the need for a more developed fire alarm system like this one[5].
Since then, with technology advancing, fire alarm systems have been growing. Being
one of the most important systems in modern life, the field of fire alarm systems has always

2
CHAPTER 1: FIRE ALARM SYSTEM

Figure 1-2development of fire alarm

been developing (as shown in Figure 12-). In the future, it may be one of the main focuses of
smart home technology.

1.4 THE FIRE PROTECTION ASSOCIATIONS:

There are a lot of fire protection associations, we mention some examples:


 National Fire Protection Association (NFPA):
The National Fire Protection Association is a U.S. based international nonprofit
organization devoted to eliminating death, injury, property and economic loss due to
fire, electrical and related hazards[6].
NFPA publishes more than 300 consensus codes and standards intended to
minimize the possibility and effects of fire and other risks. NFPA codes and standards,
administered by more than 260 Technical Committees comprising approximately
10,000 volunteers, are adopted and used throughout the world.
 The Confederation of Fire Protection Associations Europe:
The Confederation of Fire Protection Associations Europe (CFPA-Europe) is an
association of national bodies from around Europe working primarily in the field of
prevention and protection, as well as the safety of persons and assets in the face of fire,
theft, and other associated risks[7].
 The Fire Protection Association of Southern Africa (FPASA):

3
CHAPTER 1: FIRE ALARM SYSTEM

The Fire Protection Association of Southern Africa (FPASA) was established in 1973 to
provide a specialized fire safety management technical and training service to industry,
commerce and society at large.
Over the years, the Association has developed a range of membership options and
technical, training and fire safety management services that are recognized for their quality,
professionalism and value.
Today the role of the FPASA covers Education, Information, Advice, Consultancy and
Training (Fire College)[8].

1.5 FIRE ALARM SYSTEM COMPONENTS:

The modern detection structures vary in complexity from the ones which can be
simple to people who include advanced detection and signaling gadgets. Such systems are
generally designed and installed by using qualified people as decided with the aid of the
AHJ. The layout, installation, and approval of a fire detection and alarm machine might also
require popularity trying out by regulatory businesses before new homes are occupied, or
the device is positioned in provider.
The layout and set up of the fire detection and alarm gadget have to conform to
applicable provisions of NFPA® 70, national electric Code®, and NFPA® seventy-two,
countrywide hearth Alarm and Signaling Code, and domestically followed codes and
ordinances. Other standards additionally apply to the set-up of these structures. Each of the
subsequent sections highlights a fundamental element of a fire detection and alarm
machine.

1.5.1 FIRE ALARM CONTROL UNIT:

The fire alarm control unit (FACU), previously called the fire alarm control panel
(FACP) figure (2.a), The FACU fundamentally serves as the brain for the alarm system, it
contains the electronics that supervise and monitor the integrity of the fire alarm system
and its components (Figure 1-3).
The FACU receives signals from alarm-initiating devices, then processes the signals,
and produces output signals that activate audio and visual alarm devices. The FACU also
transmits signals to an off-site monitoring station when provided. Power and fire alarm
circuits are connected directly into this panel. In addition, the remote auxiliary fire control

4
CHAPTER 1: FIRE ALARM SYSTEM

units and notification appliances panels are considered to be part of the fire alarm
system and are connected and controlled.
Controls for the system are located in the FACU (Figure 1-3). The FACU can also
perform other functions, such as:
• Providing two-way firefighter communication
• Providing remote annunciator integration
• Controlling elevators, HVAC, fire doors, dampers, locks, or other fire protection
features
The FACU can also give public address messages and mass notification.

Figure 1-3:THE FIRE ALARM CONTROL UNIT COMMUNICATION

intelligent through prerecorded evacuation messages or independent voice


communications.
Then there are other controllers that use it like:

1.5.1.1.1 Programmable logic controller (PLC):

programmable logic controller (PLC) is a special form of microprocessor-based


controller that uses programmable memory to store instructions and to implement
functions such as logic sequencing, timing, counting, and arithmetic in order to
control machines and processes[9]. It uses also for control fire alarm system in
industrial company (Figure 1-4).

5
CHAPTER 1: FIRE ALARM SYSTEM

1.5.1.1.2 ARDUINO:

It's a microcontroller used to monitor an environment with sensors, drive LED


message boards, generate sound and light patterns, take and display digital photos,
communicate by Bluetooth or wirelessly with other electronic devices, communicate by Wi-
Fi to the Internet, and record data on the route, speed, and altitude of a trip with GPS[10].

Figure 1-4:control unit exemple: (A) ARDUINO (B) PROGRAMMABLE LOGIC


CONTROLLER.

1.5.2 FIRE ALAR INITIATING DEVICES:

A fire detection system consists of manual and automatic alarm-initiating devices.


they are responsible for activating the system in an emergency that is activated by the
presence of fire, smoke, flame, or heat, combination detectors[11].

6
CHAPTER 1: FIRE ALARM SYSTEM

Table 1-1:types of initiation devices

In the table below, are types of initiation devices, both manual and automatic:

1.5.3 FIRE ALARM NOTIFICATION DEVICES:

Notification devices notify building occupants that a fire or emergency has been
detected[11]. They can be programmed to deliver visual and audible messages relevant
to different emergencies. Once an alarm-initiating device is activated, it sends a signal
to the FACU, which then processes the signal and initiates actions.
Notification appliances fall under the following categories:
• Approved sounding devices "Audible", such as horns, bells, or speakers, that
indicate a fire or emergency condition.
• Approved lighting devices" Visual", such as strobes or flashing lights, that
indicate a fire or emergency condition.
• Visual text or symbols indicating a fire or emergency condition "Textual".
In the table below, are some types of notification devices:

7
CHAPTER 1: FIRE ALARM SYSTEM

Table 1-2:some types of notification devices

1.5.4 POWER SUPPLY:

The majority of fire alarm systems need a primary and backup power supply.

1.5.4.1.1 The primary power supply:

The primary power supply usually comes from a 120- or 240- Volt AC power source
that your property’s power company supplies[11]. The FACU must supervise the primary
power supply and signal an alarm if the power supply is interrupted.

1.5.4.1.2 Backup Power Supply:

As mentioned above, all fire alarm systems must have a secondary power supply just
in case the primary power fails or is shut off. to ensure your fire alarm system continues to
run when the primary power is out. Secondary power sources can consist of batteries with
chargers, engine-driven generators with a storage battery, or multiple engine-driven
generators, of which one must be set for automatic starting.

1.6 CHARACTERISTICS OF ALARM:

 Uniqueness: each alarm should indicate a unique process parameter; no duplicate


alarm should be designed or defined in the control system.

8
CHAPTER 1: FIRE ALARM SYSTEM

 Prioritization: each alarm should be prioritized in such a way that the operator can
clearly ascertain the criticality level of the alarm and respond accordingly.
 Timeliness: each alarm needs to appear on time; designing an alarm that appears too
early or too late may have adverse consequences on the process operation and the
operator response.

 Understandability: the alarm should have a suitable description that is easy to


understand and use for diagnosing the triggering problem.
 Relevance: the alarm should be relevant to the process being monitored and should
also have operational value.
 Requiring response: each alarm should require a definitive response from the operator.

Figure 1-5:CHARACTERISTICS OF ALARM

9
CHAPTER 1: FIRE ALARM SYSTEM

1.7 TYPES OF FIRE ALARM SYSTEM:

Fire alarm systems keep buildings and building occupants safe from fires. Fire alarm
systems are intricate networks of interconnected devices and components that work in
unison to detect and alert the presence of a fire. They are divided into multiple categories
based on various features. These some examples:

1.7.1.1 MANUAL & AUTOMATIC:

There are two types of fire alarm initiating devices: manual and automatic.
 Manual initiating devices are manual pull-down stations that can only be activated by
hand. You are probably familiar with these devices. Most commercial buildings,
including retail stores, event centers, sports arenas, and offices, have them. Manual
pull-down stations are required by state and local law. NFPA 72, the fire alarm
standard, even has codes pertaining to where in the building these levers must be
located.
 Automatic initiating devices trigger automatically in the presence of fire. These
devices include smoke detectors, fire sprinklers, and heat detectors. There are two
distinct operating types among automatic devices: spot and linear.

Figure 1-6:(B) Automatic initiating devices, (A)Manual initiating devices

10
CHAPTER 1: FIRE ALARM SYSTEM

1.7.1.2 WIRED& WIRELESS:

Wired systems are connected to the building's electrical system, while wireless
systems use radio frequency signals to communicate with the control panel.

Figure 1-7:(A) WIRELESS FIRE ALARM SYSTEM, (B)WIRED FIRE ALARM SYSTEM

1.7.1.3 MONITORED AND UNMONITORED:

Monitored systems are connected to a professional monitoring service, which will


contact the police or fire department in the event of an alarm. Unmonitored systems
are self-monitored, and will notify the user via a smartphone app if an alarm is
triggered[12].

11
CHAPTER 1: FIRE ALARM SYSTEM

Figure 1-8:(A)unprofessional monitoring, (B)professional monitoring.

1.7.2 NEED IT TO KNOW ABOUT THE RIGHT ALARM SYSTEM:

Choosing the right alarm system for any building (home, company, e.g.) or for any
place (forest, e.g.) is difficult. There are many different types of alarms With so many
options available, it can be difficult to decide which type of system will be the best for user.
Here are five important factors that you should consider it to determine which one is
best suited to your needs and budget:

1.7.2.1 Installation:

Wired systems require professional installation [8]while wireless systems can usually
be installed by the user. and also, the development of cell phone or your computer, which
can both provide and maintain voice support, is also available

1.7.2.2 Total Cost of Ownership (TCO):

 The cost of buying


 The installation cost of an alarm system is an important factor to consider when
determining the cost of your system overall.
 the maintenance requirements: The cost of an average fire alarm system ranges
from $20 to $30, according to Home Advisor. Some homes or condos may require

12
CHAPTER 1: FIRE ALARM SYSTEM

more sophisticated fire alarms, depending on what kind of hazards there are. Those
cost closer to $65 per device[8]
 Monitoring:
it can be monitored by a professional monitoring service or can be self-monitored
with the use of a smartphone app.
Video Monitoring: Video surveillance cameras provide live surveillance of your
home or business at all times. While this is an ideal feature, many homeowners do not
require this type of monitoring and are more interested in being notified when
something unusual happens at their property.

1.7.2.3 System Features:

A security system has a number of different features that can be configured to


provide security and protection. The type of features you need will depend on your
particular situation.
There are three main types of fire alarm monitoring systems: ionization,
photoelectric, and combination alarms. Below we will discuss each type of alarm and
how they can help detect fires.

 Ionization
Ionization fire alarms are best for detecting flaming fires. Inside of the alarm is a
tiny bit of radioactive material (don’t be alarmed – pun intended) that sits between
two electronically charged plates. This causes a constant current of ionized air between
the two plates. When smoke enters between the ionized current, it interrupts the
current and sets the alarm off. These alarm systems are better for detecting fast,
flaming fires.

 Photoelectric
These types of alarms are better for detecting smoldering fires. The smoke that is
produced by a slow flaming, smoldering fire is much different than a raging flame fire.
A photoelectric fire alarm uses a beam of light that is sent into a chamber away from a
light sensor. When smoke enters the chamber, it reflects the light towards the sensor,
and triggers the alarm to sound.

 Combination
Combination alarms feature both ionization and photoelectric fire detecting
technologies. There are arguments for having combination alarms in your home, or

13
CHAPTER 1: FIRE ALARM SYSTEM

having both ionization, and photoelectric alarms in your home to maximize your home
protection, as combination alarms aren’t as great as one detection method or the other,
compared to the single units.

1.7.3 MAINTAINING A FIRE ALARM SYSTEM:

Here are some procedures you’ll want to adapt for maintaining your alarm system:
 Check daily to ensure the system is working correctly. Record faults and failures, and
fix then them.
 Test at least one detector call point weekly, as well as smoke and flame detectors.
Make sure to calibrate alarm sensors.
 With systems that have numerous zones (more than 13), test more than one zone
weekly.
 Check the automatic release of fire doors weekly. Also, on a weekly basis, check for
disconnections of alarm sounder or transmission signals.
 Make a weekly report of defects, and alert the appropriate person to fix any problems.
 Examine batteries and connections quarterly, and replace as needed.
 Check alarm functions of indicating and control equipment quarterly. Also, test the
alarm sounders quarterly, as well as links to independent monitoring companies.
 Every four months, make sure there are no obstructions around detectors.
 Ensure that a competent individual review your system on an annual basis, even if
quarterly procedures have been carried out. This includes checking detectors for
correct operation.
 Arrange for an annual inspection of cable fittings and equipment, confirming they’re
secure and protected, not damaged.
 Obtain a certificate of testing after it’s determined that all of the above inspections
and corrections have been made[8].

1.7.4 FIRE ALARM SYSTEM ADVANTAGES AND DISADVANTAGES:

Fire alarms are an essential safety measure that helps notify occupants of a building
when there is a fire emergency. There are a number of advantages However, there are some
disadvantages to fire alarm systems. We enumerate some of them in the following table:

14
CHAPTER 1: FIRE ALARM SYSTEM

ADVANTAGES DISADVANTAGES

 providing quick response to the  the false alarms can be triggered


threat of fire disaster for due to cooking smoke or other
residents, allowing them to non-emergency situations.
evacuate from the building  the maintenance requirements
quickly and safely. and costs associated with fire
 Can alert local authorities or alarm systems, which can add up
emergency services. over time.
 fire alarms can be integrated with  Alarm systems can be very
other building systems. expensive.
 With an alarm system, there is a  Some alarm systems can produce
very low risk of getting hurt. a louder noise than others.
 Alarm systems have several  Some alarm systems can be slow
different functions, including or can't operate at all in some
detecting motion, smoke, heat, situations according the mark you
and other emergencies. use it.

1.8 CONCLUSION:

In conclusion, fire alarm systems are an essential component of protecting


buildings and their occupants from the threat of fire. A properly designed and installed
system can alert individuals early to a developing fire, giving them time to evacuate
safely. These systems can also minimize property damage and limit injuries or
fatalities in a building. Therefore, it is imperative that building owners proactively
install and maintain these systems to ensure proper functioning in case of emergency
situations. With advancements in technology, modern-day fire alarm systems have
become much more efficient compared to traditional ones. However, even with
advanced technology features included such as smoke detectors or automated
sprinkler installations within the building facilities, it is still important for every
individual on the premises always be prepared during an unexpected event such as a
fire outbreak. By following safety procedures set in place alongside utilizing functional

15
CHAPTER 1: FIRE ALARM SYSTEM

alarms equipment available during unforeseen incidents; together employee/occupants and


the identified authorities will ultimately act responsibly, if necessary, actions are required in
response management modes when detecting anomalies within any type facility
environments via diligent compliance with standard regulatory guidelines laid out by
appropriate organizations et all.

16
Chapiter 02. ARDUINO BOARD

17
2.1 INTRODUCTION:

Microcontrollers were first considered at Intel in 1969, when a Japanese


company approached Intel to build some integrated circuits for calculators [13].
Their history thus spans half a century, yet their impact has been extraordinary over
the past two decades. They have indeed revolutionized electronic data acquisition
systems [7], which is one of their primary applications. The use of microcontrollers
has revolutionized many industries, as they allow for the efficient and cost-effective
development of complex systems that require sophisticated control algorithms, data
processing, and communication capabilities. Additionally, microcontrollers are
highly adaptable and versatile, as their programming can be customized to suit
specific applications. Furthermore, microcontrollers can perform a wide range of
functions, including controlling motors and sensors, managing power consumption,
and communicating with other devices. Overall, microcontrollers have significantly
impacted the design and functionality of modern embedded systems, making them
more efficient, reliable, and adaptable to a variety of industries and applications.
Moreover, microcontrollers have drastically reduced the size and increased the
processing power of embedded systems. Microcontrollers have also paved the way
for the development of smart systems, which can perform a wide range of complex
operations based on real-time data and feedback.
A microcontroller is a compact integrated circuit consisting of a central
processing unit (CPU), memory, and programmable input/output peripherals. As a
self-contained system, microcontrollers are commonly used in embedded systems,
which range from simple devices like washing machines and microwave ovens to
complex systems such as automobiles, medical equipment, and aerospace technology
[6].
The Arduino microcontroller is one of the most popular and user-friendly
development boards available today, known for its simplicity, ease of use, and
versatility. Arduino's boards are designed to serve both beginners and advanced
users with basic programming knowledge or a computer science background.
In this chapter, we will go into greater detail about the Arduino microcontroller.

18
2.2 ARDUINO MICROCONTROLLER:
2.2.1 WHAT IS AN ARDUINO?

Arduino is an open-source platform used for building electronics projects.


Arduino consists of both a physical programmable circuit board (often referred
to as a microcontroller) and a piece of software, or IDE (Integrated
Development Environment) that runs on your computer, used to write and
upload computer code to the physical board[14].
The Arduino platform has become quite popular with people just starting
with electronics, and for good reason. Unlike most previous programmable
circuit boards, the Arduino does not need a separate piece of hardware (called a
programmer) to load new code onto the board—you can simply use a USB
cable. Additionally, the Arduino IDE uses a simplified version of C++, making it
easier to learn to program. Additionally, Arduino provides a standard form
factor that breaks out the functions of the microcontroller into a more
accessible package. [9]
The Arduino is incredibly powerful, it has become a go to choice for

Figure 2-1: the most populer types of Arduino boards

hobbyists, tinkerers, and professionals alike. Whether you're interested in


robotics, automation systems, sensors, data acquisition, or any other
application that involves controlling electronics with software code. Also, the
Arduino provides an accessible starting point for bringing your ideas to life.

19
2.3 WHAT DOSE IT DO?

The Arduino hardware and software was designed for artists, designers,
hobbyists, hackers, newbies, and anyone interested in creating interactive objects or
environments. Arduino can interact with buttons, LEDs, motors, speakers, GPS
units, cameras, the internet, and even smart-phone or TV! This flexibility combined
with the fact that the Arduino software is free, the hardware boards are pretty cheap,
and both the software and hardware are easy to learn has led to a large community of
users who have contributed code and released instructions for a huge variety of
Arduino-based projects[15].
For everything from robots and a heating pad hand warming blanket to honest fortune-
telling machines, and even a Dungeons and Dragons dice-throwing gauntlet, the Arduino can

Figure 2-2Robots using Arduino

be used as the brains behind almost any electronics project.

1.1 WHERE TO BUY:

Due to the popularity of the Arduino platform, many vendors sell Arduino and
Arduino clone boards, shields, and accessories. The Arduino.cc website [16] also has
a page devoted to approved distributors. If none of the resources listed here are
available to you, you may want to check this page for a retailer near you[17].
Also, there are a growing number of online retailers where you can buy Arduino
boards and accessories. The following lists a few of the more popular sites:
• SparkFun:
From discrete components to the company’s own branded Arduino clones and
shields, SparkFun has just about anything you could possibly want for the Arduino
platform[8].
• Adafruit:

20
Carries a growing array of components, gadgets, and more. It has a
growing number of products for the electronics hobbyist, including a full line of
Arduino products. Adafruit also has an outstanding documentation library and
wiki to support all the products it sells [18].
You can also visit the manufacturers of some of the clone boards. Seeed
Studio is the leading clone manufacturer[19].

2.4 APPLICATIONS:

The Arduino system allows us to achieve many things that have


applications in all areas. We have a few examples we can give:
 Control home appliances.
 Apply it to education[20].
 Use it to healthcare system[21].
 Make a play of lights.
 Communicate with the computer.
 Remote control a mobile device (model making) etc.
 Make your own robot.
 Controlling your safety system.
 With Arduino, we will make electronic systems such as an electronic candle,
a simplified calculator, a synthesizer, etc. All these systems will originate
with an Arduino board and a relatively wide range of electronic components
as a starting point[22].

2.5 GOOD REASONS TO CHOOSE ARDUINO:

 The price: inexpensive hardware, Arduino platform is free to use from the
official website and the only thing users pay is for Arduino hardware[8].
 Compatibility: The software, just like the card, is compatible with the most
common platforms (Windows, Linux and Mac), unlike other tools.
 The community: The Arduino community is impressive and the number of
resources about it is constantly evolving on the internet[23]. In addition,
there are references to the Arduino language as well as a full page of tutorials
on the arduino.cc (in English) and arduino.cc (in French) sites.

21
 Liberation: it's a big word, but it defines the spirit of the Arduino quite
concisely. It constitutes in itself two things: The software: free and open
source, developed in Java, whose ease of use depends on knowing how to
click on the mouse. Equipment: electronic cards whose diagrams are in free
circulation on the internet. This freedom has one condition: the name
"Arduino" should only be used for "official" cards. In short, you cannot make
your own board on the Arduino model and assign it the name "Arduino".
Unofficial cards can be found and purchased on the Internet and are almost
all compatible with official Arduino cards. Since the Arduino is open source,
anyone can build and even sell Arduino compatible boards (often called an
Arduino clone)[17].

2.6 ELEMENTS OF ARDUINO BOARDS:

Now, let's get closer to "using" the Arduino and see what it looks like. It consists
of two main things, namely: hardware and software.
With these two tools together, we will be able to achieve any achievement.

2.6.1 ARDUINO HARDWARE:

There is a growing number of Arduino boards and each one has different
specifications and capabilities. Some are configured for special applications, while
others are designed with different processors and memory configurations.
The Arduino is an electronic card based on a microcontroller from the
manufactures, and consists of at least one USB connection, a power connector, a
reset switch, LEDs for power and serial communication, and a standard spaced set of
headers for attaching the extended family like sensors & shields (boards that can be
mounted adding hardware capabilities in a modular fashion)[17].

22
The official boards sport a distinctive blue-colored PCB with white

Figure 2-3:(C)official boards canbemounted ina chassis,(A) holes,( B) Arduino designed


for mounting on a breadboard

lettering except one model, all the official boards can be mounted in a chassis
(Figure 2-3) (they have holes in the PCB for mounting screws (Figure 2-3). The
exception is an Arduino designed for mounting on a breadboard (Figure 2-3).
In this part, we show some of the most popular Arduino brand boards and
the extended family.

2.6.1.1 THR DIFFERENT VARIETIES OF ARDUINO BOARDS:

There are many Arduino microcontroller boards available on the market


and each Arduino board has different specifications and capabilities. To ensure
the success of your project, it's important to conduct thorough research when
selecting an appropriate Arduino board. Now we mention some examples of the
most popular Arduino[8]:

Types Details: The picture of


of Arduino boards
boards

THE Details and a full datasheet are available


at[24].
ARDUINO

UNO(R3)

23
MKR Details and a full datasheet are available
at[25].
Series
Boards

THE ARDUINO Details


DUE and a full datasheet can be found at [26].

LILYPAD Details and a full datasheet


ARDUINO can be found at[27].

ARDUINO Details and a full datasheet


MEGA 2560- can be found at[28].
rev3

THE ARDUINO Details and a full datasheet


NANO can be found at [29].

THE ARDUINO Details and a full datasheet can be found


MICRO at[30].

ARDUINO Details and a full datasheet can be found


LEONARDO at[31].

24
2.6.1.2 ARDUINO CLONES:

A growing number of Arduino boards are available from many sources.


Because the Arduino is open hardware, it is not unusual or the least bit illicit to
find Arduino boards made by vendors from all over the world.
Although some would insist the only real Arduinos are those branded as
such, the truth of the matter is that as long as the build quality is sound, and the
components are of high quality, the choice of using a branded vs. a copy, hence
clone, is one of personal preference. I have sampled Arduino boards from a
number of sources, and with few exceptions they all perform their intended
functions superbly[17].
I examine a few of the more popular clone boards in this section:
Fio Details and a full datasheet can be
found at [32].

Arduino Pro Details and a full datasheet can be


found at.[32]
Mini

Seeeduino Details and a full datasheet can be


found at [33].

Metro from Details and a full datasheet can be


found at [34]
Adafruit

25
Espressif Details and a full datasheet can
Boards be found at [35]
:ESP8266
module
(courtesy of
Adafruit.com)

2.6.1.3 THE EXTENDED FAMILY:

While your Arduino board sure is pretty, it can't do a whole lot on its own --
you've got to hook it up to something. There are lots of tutorials here on learn as well
as the links back in the 'What does it do' section, but rarely do we talk about the
general kinds of things you can easily hook into. In this section we'll introduce
basic sensors as well as Arduino shields, two of the handiest tools to use in bringing
your projects to life.

SENSORS:

With some simple code, the Arduino can control and interact with a wide
variety of sensors –things that can measure light, temperature, degree of
flex, pressure, proximity, acceleration, carbon
monoxide, radioactivity, humidity, barometric pressure, you name it, you can sense it

This a few of the sensors that are easily compatible with Arduino:

26

Figure 2-4 :Sensor compatible with Arduino


SHIELDS:

There are these things called shields. basically they are pre-built circuit
boards that fit on top of your Arduino and provide additional capabilities --
controlling motors, connecting to the internet, providing cellular or other
wireless communication, controlling an LCD screen, and much more [9].
Some of the popular Arduino Shields:
•Arduino Ethernet shield: This shield allows an Arduino board to connect
to the internet by Ethernet library and to read and write an SD card using the
SD library[36] Figure 2-1(A).
•Arduino Wireless shield: this shield allows the Arduino board to

Figure 2-5: some of the populerArduino shields

communicate wirelessly using Zigbee[36]Figure 2-1 (B).


•Arduino Motor Driver Shield: this shield allows Arduino boards to
interface with the driver of a motor etc.. [36]Figure 2-1 (C).

27
Figure 2-6: types of Arduino shieldes

This is a partial selection of available shields to extend the power of your


Arduino. In this Figure 2-5we show more of examples and for more details you
can check this website [9] :

2.6.2 ARDUINO SOFTWARE (IDE)

The program will allow us to program the Arduino board. It offers us many
features. In order to write and compile the code to the Arduino boards, Arduino
Integrated Development Environment (IDE) is used. Arduino IDE is an open source
and official Arduino software, which make programming code easier, even for people
who have no prior knowledge. It is available in operating systems such as MAC,
Windows, Linux. The IDE generally consists of two basic parts: Editor and Compiler.
The former is used for writing the code and the latter is used for compiling and
uploading the code into the Arduino boards, in this case, it is the Arduino Uno. The
IDE supports both C and C++ language[5].
When we start the IDE, a window like figure 9 will appear. The figure marks
with information about Arduino IDE for more understanding. The detailed
explanations are given below:
- 1: Verify - compiles and verify the code in the sketch.
- 2: Upload - upload the code to Arduino module.
- 3: New Tab - opens a new sketch window.
- 4: Open - open any existing sketch.

28
- 5: Save - save current sketch.
- 6: Serial Monitor - opens a window to send and receive information from
Arduino module.
- 7: An area for writing the code
- 8: Console - show details of errors and warnings, useful for debugging.
- 9: Board & Serial Port Selections - show which kind of the Arduino board
and what serial port are ran. In this case, the Arduino Uno and port COM3 was
used.
Furthermore, the Menu bar is on the top of the interface, which has five
different options as follows:
- File: Create a new window for writing the code or open an existing one.
- Edit: Has font modification for the code, as well as copy and paste
function.
- Sketch: For compiling and programming, include the new libraries for
Arduino if needed.
- Tools: Used for testing projects, shows which Arduino boards and port
are in used.

- Help: Have getting started and troubleshooting part to help with the
software.
 In short take this guide summary:

29
1.Download and install Arduino IDE[37] .
2. Plug in your Arduino Board
3. Select the proper board in the IDE (Tools>Boards>Arduino Uno )

4. Select the proper COM port (Tools>Port>COMx (Arduino Uno)

30
5. Open the “Blink” sketch (File>Examples>Basics>01.Blink)

6. Press the Upload button to upload the program to the board

31
7. Confirm that your board is working as expected by observing LED.

Figure 2-7: board is working

2.7 THE ADVANTAGES AND THE LIMITS OF ARDUINO:

Arduino is a popular open-source electronics platform that provides a versatile


and accessible way to create interactive projects. While Arduino offers numerous
advantages, it also has some limitations. Let's explore both aspects:

2.7.1 ADVANTAGES OF ARDUINO:

 Ease of Use: Arduino boards and the associated software make it relatively
easy for beginners to get started with electronics and programming. The
Arduino programming language is based on a simplified version of C++,
making it more approachable for newcomers.
 Open-Source Platform: Arduino's open-source nature encourages
collaboration and community-driven development. This means that there is
a vast array of resources, tutorials, libraries, and example projects available
online, making it easier for users to find support and inspiration.
 Cost-Effective: Arduino boards are generally inexpensive compared to other
microcontroller platforms. This affordability allows for experimentation and
prototyping without breaking the bank. Additionally, Arduino-compatible

32
clones and derivatives are available, further expanding the options for
budget-conscious users.
 Versatility: Arduino boards can be used to create a wide range of projects,
from simple LED blinking to complex robotics and home automation
systems. The platform supports a variety of sensors, actuators, and
communication protocols, allowing users to interface with the physical
world effectively.
 Extensibility: Arduino boards are designed with expansion in mind. They
feature standardized connectors called "shields" that allow for easy
attachment of additional modules, such as displays, motor drivers, or
wireless communication modules. This modularity makes it simple to
customize and enhance Arduino projects.
 Cross-Platform Compatibility: Arduino software is available for Windows,
macOS, and Linux, making it accessible regardless of the user's operating
system. The IDE (Integrated Development Environment) provides a user-
friendly interface for writing, compiling, and uploading code to Arduino
boards.

2.7.2 LIMITATIONS OF ARDUINO:

Processing Power and Memory: Arduino boards typically have limited


processing power and memory compared to more advanced microcontrollers.
This can be a constraint when working on computationally intensive tasks or
projects that require handling large amounts of data.
 Real-Time Constraints: Arduino's real-time capabilities are limited. While it
can handle basic timing requirements, it may struggle with highly precise
timing or complex multitasking scenarios. Real-time operating systems or
more specialized microcontrollers may be better suited for applications with
stringent timing requirements.
 Lack of Native Networking: Arduino boards lack built-in networking
capabilities. While they can be interfaced with Ethernet or Wi-Fi modules,
the integration and implementation of network communication can be more
challenging compared to microcontrollers with native networking support.

33
 Limited I/O Pins: Arduino boards have a finite number of input/output
(I/O) pins, which can become a limitation for projects requiring numerous
sensors, actuators, or complex interfaces. Expanding the I/O capabilities
often requires the use of additional hardware or multiplexing techniques.
 Power Consumption: Arduino boards are not optimized for low power
consumption. If your project needs to run on battery power for extended
periods, you may need to consider alternative microcontrollers that provide
better power management features.
 Lack of Advanced Features: Arduino boards are designed for simplicity and
accessibility, which means they may lack advanced features found in more
specialized microcontrollers. If your project requires advanced signal
processing, cryptographic operations, or complex communication protocols,
you may need to explore alternative platforms.
Despite these limitations, Arduino remains an excellent choice for hobbyists,
educators, and prototyping applications. It provides an ideal balance between ease of
use, affordability, and versatility, enabling users to bring their creative ideas to life.

2.8 CONCLUSION:

To conclude, the Arduino microcontroller has become an essential tool for


hobbyists, students and professionals in electronics prototyping. It makes innovation
and creativity accessible to everyone with its simple programming language and
user-friendly interface. The versatility of the platform enables users to create many
different types of devices, ranging from everyday appliances to complex interactive
systems. Thanks to its open-source character, a community of developers constantly
improve it so that it keeps up with the latest technology trends. As such, the Arduino
microcontroller is a perfect choice for anyone looking into entering the world of
digital design or wants an affordable option for any digital projects they want to
undertake. Therefore, the availability of such innovations fuel not just creativity but
also scientific research as they provide access to affordable components critical in
R&D projects ultimately leading towards new solutions aimed at simplifying
everyday activities.

34
Chapiter 03. CONTROLLING FIRE
ALARM SYSTEM USING ARDUINO

35
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

3.1 INTRODECTION

As technology continues to develop rapidly, there has been a growing demand


for automated systems in various fields. One of the most important aspects of safety
management is fire safety, and thus, designing an automatic fire alarm system has
become a crucial task for engineers. Traditional fire alarms can be expensive and
challenging to install, but with the advancement of technology, building a custom fire
alarm using an Arduino microcontroller has become an attractive option. Arduino's
microcontrollers are widely used due to their simplicity and ease of use. They can be
the utilization of Arduino technology in developing an efficient and effective fire
alarm system aimed at enhancing fire safety measures while minimizing potential
damage caused by fires or other related accidents in residential or commercial
buildings or forests.
In this chapter, we will explore the various components required to build a
functional fire alarm using an Arduino board and outline the steps involved in
creating it.

3.2 THE COMPONENTS REQUIRED TO THE FIRE ALARM


SYSTEM:

3.2.1 ARDUINO MEGA:

The Arduino Mega is a microcontroller board based on the ATmega2560. It is


one of the popular members of the Arduino family of microcontroller boards. The
Mega board is designed for projects that require more input/output pins, more
memory, and more processing power compared to the standard Arduino boards like
the Arduino Uno.

36
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

Figure 3-1: Arduino Mega.

As Arduino Mega is based on ATmega2560 Microcontroller, the technical


specifications of Arduino Mega are mostly related to the ATmega2560 MCU. But
none the less, let me give you a brief overview about some important technical
specifications of Arduino Mega 2560.

37
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

Table 3:technical specifications of Arduino Mega 2560

3.2.2 FLAME SENSOR:

The flame sensor module is a small electronic module capable of detecting a fire
source or other light sources. This sensor basically detects light wave IR
(Infrared) from a light source or from a fire flame between 760 nm – 1100 nm. The
flame sensor has a high-speed and sensitive YG1006 photo-transistor sensor. The
detecting range is 100 cm. The Flame sensor can output either a digital or analog
signal. There are two types of IR Infrared Flame Sensor Modules on the market: one
with three pins (D0, Gnd, Vcc) and one with four pins (A0, D0, Gnd, Vcc), both of
them can be used with Arduino and other microcontroller boards.
This sensor has a potentiometer, a 10k preset. Adjust the sensitivity of the flame
sensor by rotating the preset knob. The Flame Sensor sensitivity will increase if the
preset knob rotates clockwise. The sensitivity of the Flame sensor will decrease if it
rotates counter-clockwise.

38
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

Figure 3-2: FLAME SENSOR

3.2.2.1 APPLICATION:

 Fire detection
 Use in Fire fighting robot
 Fire alarm

3.2.2.2 FLAME SENSOR SPECIFICATIONS:

 Spectrum range: 760nm ~ 1100nm


 Detection angle: 0 - 60 degree
 Power: 3.3V ~ 5.3V
 Operating temperature: -25℃ ~ 85℃
 Dimension: 27.3mm * 15.4mm
 Mounting holes size: 2.0mm
For more information, you can check out the flame sensor datasheet.

3.2.2.3 HOW TO CALIBRATE THE FLAME SENSOR:

Calibrating a flame sensor typically involves adjusting its sensitivity so


that it can accurately detect the presence of flames. Here's a general procedure
you can follow to calibrate a flame sensor:

39
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

 Gather the necessary equipment: You'll need the flame sensor, a safe and
controlled source of flames (such as a butane lighter), a multimeter (if available),
and a screwdriver (if the sensor has sensitivity adjustment).
 Ensure safety: Perform the calibration in a well-ventilated area and ensure there
are no flammable materials nearby. Keep a fire extinguisher or other safety
equipment within reach.
 Understand the flame sensor: Familiarize yourself with the specific model of
flame sensor you are using. Read the manufacturer's instructions or datasheet to
understand its operating principles, sensitivity adjustment (if applicable), and
recommended voltage levels.
 Connect the flame sensor: Connect the flame sensor to the appropriate power
source or microcontroller, following the manufacturer's guidelines.
 Set initial sensitivity: If your flame sensor has a sensitivity adjustment, locate the
sensitivity potentiometer (usually a small screw on the sensor) and set it to a mid-
range position initially. This will allow you to make fine adjustments later.
 Warm-up period: Give the flame sensor some time to warm up. This is typically a
few seconds to stabilize its readings.
 Activate the flame source: Use a butane lighter or another controlled source of
flames to create a small, steady flame within the detection range of the sensor.
Position the flame at a reasonable distance from the sensor, considering its
specifications.
 Observe sensor output: Monitor the output of the flame sensor. It can be a digital
signal (ON/OFF) or an analog signal (voltage level). Note the initial readings and
record any changes you make during calibration.
 Adjust sensitivity: If the sensor output does not respond to the flame or if it
triggers false positives, you may need to adjust the sensitivity. If your sensor has a
sensitivity adjustment screw, turn it slightly in one direction (clockwise or
counterclockwise) and observe the sensor's response. Gradually adjust the
sensitivity until the sensor accurately detects the flame while minimizing false
positives.
 Fine-tuning: Make small adjustments to the sensitivity until you achieve the
desired balance between flame detection and false positives. Take note of the
sensitivity setting that works best for your specific requirements.

40
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

 Verification: Test the sensor's response to different flame intensities, angles, and
distances to ensure reliable performance in various scenarios.
 Finalize calibration: Once you are satisfied with the sensor's performance, secure
any sensitivity adjustment screws or settings to prevent accidental changes. Make
a record of the calibration parameters for future reference.
It's important to note that the specific calibration process may vary
depending on the manufacturer and model of the flame sensor you are using.
Always refer to the manufacturer's documentation for detailed instructions
tailored to your sensor.

3.2.3 MQ 2 GAS SENSOR:

MQ-2 sensitive gas sensor material is SnO2, which has a lower clean air
conductivity. The conductivity of the sensor increases with the increase of the
gas concentration when the target inflammable gas is present. Users can
convert the change of conductivity by a single circuit to the corresponding gas
concentration output signal.
The MQ-2 gas sensor is highly propane-smoke-sensitive and can well detect gas
and other flammable steam. It’s cheap and suitable for various The MQ-2 gas
sensor is highly propane-smoke-sensitive and can well detect gas and other
flammable steam. It’s cheap and suitable for various applications of flammable
gas detection.
 Wide range good sensitivity to Combustible gases
 High sensitivity to LPG, Propane and Hydrogen
 Long life and low cost
 Simple drive circuit.

41
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

Figure 3-3:MQ-2 GAS SENSOR

3.2.3.1 APPLICATION:

 Domestic gas leakage detector


 Industrial Combustible gas detector
 Portable gas detector
 Safety of home
 Control of air quality
 Measurement of gas level

3.2.3.2 MQ 2 GAS SENSOR SPECIFICATIONS:

 Operating Voltage is +5V


 Can Measure or detect LPG, Alcohol, Propane, Hydrogen, CO and even
methane
 Analog output voltage: 0V to 5V
 Digital Output Voltage: 0V or 5V (TTL Logic)
 Preheat duration 20 seconds
 Can be used as a Digital or analog sensor
 It can vary the Sensitivity of Digital pin using the potentiometer
 Wide detecting Scope
 Fast response and High sensitivity
 Stable and long-life Simple drive circuit
For more information, you can check out the MQ 2 Gas sensor datasheet.

42
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

3.2.3.3 HOW TO CALIBRATE THE MQ-2 GAS SENSOR:

To calibrate an MQ-2 gas sensor, you'll need a known concentration of the


gas you want to detect. Here's a general step-by-step procedure for calibrating
an MQ-2 gas sensor:
 Set up a controlled environment: Find a well-ventilated area where you can
conduct the calibration without interference from other gases. Ensure that there
is no potential source of gas leakage in the surroundings.
 Power the sensor: Connect the necessary power supply to the MQ-2 gas sensor.
Follow the manufacturer's guidelines for the correct voltage and wiring.
 Warm-up period: Allow the sensor to warm up for about 24-48 hours. This period
ensures that the sensor stabilizes and provides accurate readings.
 Prepare the calibration gas: Obtain a calibration gas with a known concentration
of the target gas. It's important to use a gas mixture that matches the sensor's
intended detection range.
 Connect the calibration gas: Depending on the sensor design, you may need a gas
regulator or a specific connection mechanism to introduce the calibration gas to
the sensor. Follow the manufacturer's instructions for proper gas flow and
connection.
 Stabilization time: Give the sensor some time to stabilize after introducing the
calibration gas. This allows the sensor to adjust to the new environment and
ensure accurate readings.
 Record the readings: Use an appropriate measurement instrument or data
acquisition system to record the sensor's output readings. This can be a
microcontroller, an Arduino, or any other compatible device.
 Repeat the process: If necessary, repeat steps 4-7 with different concentrations of
the calibration gas to cover the sensor's full detection range. This will allow you to
create a calibration curve or map for the sensor.
 Calibration curve: Analyze the recorded data and create a calibration curve that
relates the sensor's output to the known concentrations of the calibration gas.
This curve will be used later to estimate gas concentrations based on sensor
readings.
 Apply the calibration: Once you have the calibration curve, you can use it to
convert future sensor readings into estimated gas concentrations. Implement the

43
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

calibration curve in your software or system to make use of the calibrated sensor
data.
Note: The specific steps and requirements for calibrating an MQ-2 gas sensor
may vary depending on the manufacturer's instructions and the sensor's design.
Always refer to the sensor's datasheet and follow the provided guidelines for the most
accurate calibration process.

3.2.4 OLED DISPLAY:

Figure 3-4: OLED DISPLAY CONNECTED WITH ARDUINO

3.2.4.1 OLED DISPLAY SPECIFICATIONS:

 High-resolution at 128x64 pixels


 160 degrees viewing angle
 Lower power consumption: only 0.06W with normal use
 Power supply AC3V-5V, working very well with Arduino
 Working temperature: -30 degrees to 70 degrees Celsius
 Dimensions : L27.8 x W27.3 x H4.3 mm
 Compatible 3.3v and 5.0v chip I/O level
 Driver IC SSD1306

3.2.5 BUZZER:

44
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

For the demonstration purpose, an electromagnetic buzzer was used in


this project as an alarm and warning method. To be more effective in real life

Figure 3-5:Buzzer

situation, an alarm light and a high voltage alarm can be used with relay
module.

3.3 ARDUINO FIRE ALARM SCHEMATICS:

 Flame Sensor Connection:

 MQ 2 Gas Sensor Connections:

45
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

 OLED DISPLAY CONNECTION:

 THE 3 NTC THERMISTOR CONNECTION:

 BUZZER CONNECTION:

3.4 THE CODE THAT USES IT:

The code provided is a fire alarm system that uses various sensors to detect fire.
It displays the sensor values on an OLED display and triggers an alarm.

/*
BARHOUM INAS
SPICIAL: MESURE, METROLOGY, CONTROL OF QUALITY
FIRE ALARM SYSTEM USING ARDUINO
*/
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

46
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

// Pin definitions
#define FLAME_SENSOR_PIN A5
#define GAS_SENSOR_PIN A1
#define THERMISTOR_1_PIN A2
#define THERMISTOR_2_PIN A3
#define THERMISTOR_3_PIN A4
#define BUZZER_PIN 10

// OLED display settings


#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);

// Thresholds for triggering the alarm


const int FLAME_THRESHOLD = 500; // Adjust this value based on your sensor
readings
const int GAS_THRESHOLD = 400; // Adjust this value based on your sensor
readings
const int TEMP_THRESHOLD = 30; // Adjust this value based on your
temperature range

void setup()
{
Serial.begin(9600);

// Initialize OLED display


display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
display.clearDisplay();
display.setTextSize(2);
display.setTextColor(WHITE);
display.setCursor(0, 0);
display.println("Fire Alarm");
display.display();

// Initialize buzzer
pinMode(BUZZER_PIN, OUTPUT);
}

void loop()
{
// Read sensor values
int flameValue = analogRead(FLAME_SENSOR_PIN);
int gasValue = analogRead(GAS_SENSOR_PIN);

// Convert thermistor readings to temperature in Celsius


float temp1 = convertToTemperature(analogRead(THERMISTOR_1_PIN));
float temp2 = convertToTemperature(analogRead(THERMISTOR_2_PIN));
float temp3 = convertToTemperature(analogRead(THERMISTOR_3_PIN));

47
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

// Print sensor values to serial monitor


Serial.print("Flame: ");
Serial.print(flameValue);
Serial.print(" | Gas: ");
Serial.print(gasValue);
Serial.print(" | Temp1: ");
Serial.print(temp1);
Serial.print(" | Temp2: ");
Serial.print(temp2);
Serial.print(" | Temp3: ");
Serial.println(temp3);

// Check for fire condition


if (flameValue > FLAME_THRESHOLD && gasValue > GAS_THRESHOLD && temp1 >
TEMP_THRESHOLD && temp2 < TEMP_THRESHOLD && temp3 < TEMP_THRESHOLD)
{
display.setFont();
display.clearDisplay();
display.setTextSize(1);
display.setTextColor(WHITE);
display.setCursor(0,0);
display.println("fire detected pos1");
display.display();
display.drawRect(0, 0, 127, 63, WHITE);
display.fillCircle(20, 22, 6, WHITE);
display.drawCircle(60, 22, 6, WHITE);
display.drawCircle(100, 22, 6, WHITE);
display.println(" pos1: pos2: pos3: ");
display.display();
tone(BUZZER_PIN, 2000); // Start the buzzer
}
else if (flameValue > FLAME_THRESHOLD && gasValue > GAS_THRESHOLD && temp1 <
TEMP_THRESHOLD && temp2 > TEMP_THRESHOLD && temp3 < TEMP_THRESHOLD)
{
display.setFont();
display.clearDisplay();
display.setTextSize(1);
display.setTextColor(WHITE);
display.setCursor(0,0);
display.println("fire detected pos2");
display.display();
display.drawRect(0, 0, 127, 63, WHITE);
display.drawCircle(20, 22, 6, WHITE);
display.fillCircle(60, 22, 6, WHITE);
display.drawCircle(100, 22, 6, WHITE);
display.println(" pos1: pos2: pos3: ");
display.display();
tone(BUZZER_PIN, 2000); // Start the buzzer

48
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

}
else if (flameValue > FLAME_THRESHOLD && gasValue > GAS_THRESHOLD && temp1 <
TEMP_THRESHOLD && temp2 < TEMP_THRESHOLD && temp3 > TEMP_THRESHOLD)
{
display.setFont();
display.clearDisplay();
display.setTextSize(1);
display.setTextColor(WHITE);
display.setCursor(0,0);
display.println("fire detected pos3");
display.display();
display.drawRect(0, 0, 127, 63, WHITE);
display.drawCircle(20, 22, 6, WHITE);
display.drawCircle(60, 22, 6, WHITE);
display.fillCircle(100, 22, 6, WHITE);
display.println(" pos1: pos2: pos3: ");
display.display();
tone(BUZZER_PIN, 2000); // Start the buzzer
}
else if (flameValue > FLAME_THRESHOLD && gasValue > GAS_THRESHOLD && temp1 >
TEMP_THRESHOLD && temp2 > TEMP_THRESHOLD && temp3 > TEMP_THRESHOLD)
{
display.setFont();
display.clearDisplay();
display.setTextSize(1);
display.setTextColor(WHITE);
display.setCursor(0,0);
display.println("fire detected in all");
display.display();
display.drawRect(0, 0, 127, 63, WHITE);
display.fillCircle(20, 22, 6, WHITE);
display.fillCircle(60, 22, 6, WHITE);
display.fillCircle(100, 21, 6, WHITE);
display.println(" pos1: pos2: pos3: ");
display.display();

}
else
{
display.setFont();
display.clearDisplay();
display.setTextSize(1);
display.setTextColor(WHITE);
display.setCursor(0,0);
display.println(" no fire detected");
display.display();
display.drawRect(0, 0, 127, 63, WHITE);
display.drawCircle(20, 22, 6, WHITE);

49
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

display.drawCircle(60, 22, 6, WHITE);


display.drawCircle(100, 22, 6, WHITE);
display.println(" pos1: pos2: pos3: ");
display.display();
tone(BUZZER_PIN, 4000); // Start the buzzer

delay(1000); // Delay between sensor readings


}

// Function to convert thermistor reading to temperature in Celsius


float convertToTemperature(int reading)
{
float resistance = 10000.0 / ((1023.0 / reading) - 1);
float steinhart;
steinhart = resistance / 10000; // (R/Ro)
steinhart = log(steinhart); // ln(R/Ro)
steinhart /= 3950; // 1/B * ln(R/Ro)
steinhart += 1.0 / (25 + 273.15); // + (1/To)
steinhart = 1.0 / steinhart; // Invert
steinhart -= 273.15; // convert to Celsius
return steinhart;
}

// Function to trigger the alarm


void triggerAlarm()
{
tone(BUZZER_PIN, 2000); // Start the buzzer
}

// Function to stop the alarm


void stopAlarm()
{
noTone(BUZZER_PIN); // Stop the buzzer
}

// Function to display a message on the OLED display


void displayMessage(String message)
{
display.clearDisplay();
display.setCursor(0, 0);
display.println(message);
display.display();
}

50
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

3.5 RESULT:

Figure 3-6: fire alarm system using Arduino

You should see the system checks for fire conditions by comparing sensor
values with predefined thresholds.

If a fire is detected in a specific position, a corresponding message is displayed on the


OLED display, and the buzzer starts beeping.
If no fire is detected, a message indicating no fire is displayed on the OLED display.
There is a delay of 1 second between sensor readings.
To determine the result of the code, we would need to know the actual sensor
readings and the thresholds set for the flame, gas, and temperature sensors. Without

51
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

this information, we cannot determine the exact output of the code.

Figure 3-7: sensors values

3.6 UNCERTAINTY OF THE SYSTEM:

To measure the uncertainty of the system described in the code, you can
consider the following aspects:
 Sensor Accuracy: The uncertainty of the sensor readings can contribute
to the overall uncertainty of the system. Different sensors may have
different accuracies, and their datasheets usually provide information
about their precision and accuracy specifications.
 Threshold Adjustments: The code includes threshold values for the
flame, gas, and temperature sensors. The uncertainty of these
thresholds can affect the reliability of the system. You may need to
perform calibration or validation experiments to determine appropriate
threshold values and estimate their uncertainties.
 Temperature Conversion: The function convert To Temperature converts
the analog readings from the thermistors to temperature values. The
accuracy of this conversion process can introduce uncertainty. It
depends on the accuracy of the thermistors and the correctness of the
conversion equation used in the code.
 Buzzer Operation: The code triggers a buzzer to sound an alarm. The
uncertainty of the buzzer's operation can be considered, including

52
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

factors such as the reliability of the hardware and the timing accuracy of
the tone generation.
 OLED Display: The uncertainty of the OLED display can also be taken
into account. This includes aspects like the accuracy of the displayed
information and the reliability of the display itself.
To quantify the uncertainty, you can perform various types of analysis,
such as:
1. Sensor Calibration: Calibrate the sensors against known references and
determine the uncertainties associated with their readings.
2. Threshold Sensitivity Analysis: Evaluate the impact of small changes in
the threshold values on the system's behavior and determine the
resulting uncertainty.
3. Temperature Conversion Analysis: Assess the accuracy of the
temperature conversion equation by comparing the converted values
with a reference measurement device and quantify the associated
uncertainty.
4. Buzzer and Display Evaluation: Analyze the datasheets and technical
specifications of the buzzer and OLED display to understand their
performance characteristics and associated uncertainties.
By considering these factors and performing the necessary analysis, you
can estimate the overall uncertainty of the system and make informed decisions
about its reliability and performance.

3.7 CONCLUSION:

In conclusion, the use of an Arduino-based fire alarm system is a viable


and efficient solution for detecting and alerting individuals about potential
fires. The Arduino microcontroller provides a cost-effective and versatile
platform for designing and implementing such a system. The fire alarm system
built using Arduino can effectively detect changes in temperature and smoke
levels, triggering the alarm and notifying occupants to take necessary action.
One important aspect to consider when evaluating the fire alarm system is
the measurement of uncertainty. It is crucial to assess the reliability and
accuracy of the system to ensure it operates effectively in various scenarios. The

53
CHAPTER 3: FIRE ALARM SYSTEM USING ARDUINO.

uncertainty can be measured by conducting rigorous testing, comparing the system's


responses to known fire incidents, and analyzing false positives and false negatives.
By quantifying and minimizing uncertainty, the fire alarm system's reliability can be
improved, enhancing its overall performance and ensuring timely and accurate fire
detection.
Looking ahead, there is potential for incorporating Raspberry Pi into the fire
alarm system. Raspberry Pi is a single-board computer that offers more
computational power and additional features compared to Arduino. By utilizing
Raspberry Pi, the fire alarm system can be enhanced with advanced functionalities,
such as real-time data analysis, remote monitoring, and integration with other smart
home devices. Raspberry Pi's networking capabilities and compatibility with various
sensors and modules make it a suitable candidate for expanding the fire alarm
system's capabilities.
In summary, the Arduino-based fire alarm system proves to be a practical
solution for fire detection, while the measurement of uncertainty helps ensure its
reliability. Considering the perspective of using Raspberry Pi, it offers opportunities
for further improvement and integration with modern technologies, enabling a more
comprehensive and sophisticated fire alarm system.

54
General Conclusion.

GENERAL CONLUSION:
In conclusion, this work aimed to address the problem of fire incidents in
Algeria over the past year by proposing the implementation of a fire alarm system
using Arduino. By analyzing the current scenario and considering the limitations and
requirements of the Algerian context, the Arduino-based fire alarm system offers
several advantages.
Firstly, the system incorporates various sensors to detect fire, smoke, and
increased temperature levels, providing a comprehensive approach to fire detection.
These sensors ensure a swift response to fire incidents, minimizing the risk of
property damage and human casualties.
Secondly, the utilization of Arduino technology allows for cost-effective and
accessible implementation. Arduino's boards are affordable and widely available,
making it easier to deploy the fire alarm system across different locations in Algeria.
Furthermore, the Arduino platform offers a user-friendly environment for
programming and customization, enabling individuals with varying technical
expertise to adapt and enhance the system to meet specific requirements.
Another significant advantage of the proposed system is its ability to provide
real-time notifications and alerts. When a fire is detected, the system can
immediately send alerts to designated authorities, fire departments, and building
occupants, enabling them to take prompt action and evacuate the premises
efficiently. This feature is particularly crucial in preventing fire incidents from
escalating and improving overall response times.

55
REFERENCE:
1. Caproni, A. and B. Jeram, ACS Alarm System. 2006.
2. Goel, P., A. Datta, and M.S. Mannan, Industrial alarm systems: Challenges and opportunities.
Journal of Loss Prevention in the Process Industries, 2017. 50: p. 23-36.
3. Malatinsky, A. and M. Hromada, PREVENTIVE AND REPRESSIVE MEASURES FOR FIRE SAFETY.
Annals of DAAAM & Proceedings, 2022. 33.
4. Greer, W., A history of alarm security1991: National Burglar & Fire Alarm Association
Bethesda, MD.
5. Luong, T., Fire detection and alarm system. 2019.
6. Nacereddine, B., K. Mohammed Islam, and E. Saleh, Developing a smart embedded data
collection system using microcontroller, UNIVERSITY OF KASDI MERBAH OUARGLA.
7. Busari Sherif, A., F. Dunmoye Abibat, and F. Akingbade Kayode, Development of Arduino-
based Data Acquisition System for Environmental Monitoring using Zigbee Communication
Protocol. 2016.
8. ; Available from: www.sparkfun.com/.
9. Ahmed, A.A., Fire alarm system using smoke and heat detectors with PLC, 2016, Sudan
University of Science and Technology.
10. Cameron, N. and Pao, Arduino Applied2019: Springer.
11. Ibrahim, A.N.N., Automatic Fire Fighting System, 2022, University of Science and Technology.
12. Salaria, A., A. Singh, and K.K. Sharma. A Unified Approach Towards Effective Forest Fire
Monitoring Systems Using Wireless Sensor Networks and Satellite Imagery. in Artificial
Intelligence and Machine Learning in Satellite Data Processing and Services: Proceedings of
the International Conference on Small Satellites, ICSS 2022. 2023. Springer.
13. Siddig, F.H., Designing and Implementing a Model for a Microcontroller Controlled Pick and
Place, 2014, Sudan University of Science and Technology.
14. Kondaveeti, H.K., et al., A systematic literature review on prototyping with Arduino:
Applications, challenges, advantages, and limitations. Computer Science Review, 2021. 40: p.
100364.
15. Arduino, S.A., Arduino. Arduino LLC, 2015. 372.
16. store.arduino.; Available from: https://store.arduino.cc/usa.
17. Bell, C., Introducing the Arduino. Beginning IoT Projects: Breadboard-less Electronic Projects,
2021: p. 31-70.
18. adafruit. Available from: www.adafruit.com/.
19. seeedstudio. Available from: www.seeedstudio.com/.
20. García-Tudela, P.A. and J.-A. Marín-Marín, Use of Arduino in Primary Education: A Systematic
Review. Education Sciences, 2023. 13(2): p. 134.
21. Jayapradha, S. and P.D.R. Vincent. An IOT based Human healthcare system using Arduino Uno
board. in 2017 International Conference on Intelligent Computing, Instrumentation and
Control Technologies (ICICICT). 2017. IEEE.
22. NETTARI, A. and A. ZIGHMI, Etude et réalisation d’un chargeur de batterie au Lithium-ion,
Université KASDI-MERBAH Ouargla.
23. Arduino community Available from: https://www.hackster.io/arduino.
24. data sheet. Available from: https://store.arduino.cc/usa/arduino-uno-rev3.
25. datasheet. Available from: https://store.arduino.cc/usa/arduino-mkr1000.
26. datasheet due. Available from: https://store.arduino.cc/usa/due.
27. datasheet lilypad-arduino-main-board
Available from: https://docs.arduino.cc/retired/boards/lilypad-arduino-main-board.
28. datasheet arduino-mega-2560-rev3 Available from: https://store-
usa.arduino.cc/products/arduino-mega-2560-rev3.
29. dadasheet of arduino nano. Available from: https://store.arduino.cc/usa/arduino-nano.
30. datasheet micro. Available from: https://store.arduino.cc/usa/arduino-micro.
31. data sheet arduino leonardo. Available from: https://store.arduino.cc/usa/leonardo.
32. sparkfun products. Available from: www.sparkfun.com/products/11520.
33. Seeeduino. Available from: www.seeedstudio.com/Seeeduino-V4-2-p-2517.html.
34. Metro from Adafruit. Available from: www.adafruit.com/category/834.
35. Espressif Boards :ESP8266 module (courtesy of Adafruit.com). Available from:
www.espressif.com/en/products/devkits.
36. Ismailov, A.S. and Z.B. Jo‘Rayev, Study of arduino microcontroller board. Science and
Education, 2022. 3(3): p. 172-179.
37. ARDUINO IDE. Available from: https://www.arduino.cc/en/Main/Software
ABSTRACT:
This work presents the design and implementation of a fire alarm system using
Arduino microcontroller board, along with flame sensor, MQ-2 gas sensor, NTC
thermistor sensor, buzzer, and OLED display. The objective is to develop a cost-
effective and efficient solution for detecting fire hazards and alerting individuals in
residential, commercial, or industrial settings.
The flame sensor detects the presence of fire by sensing infrared light emitted
from flames, enabling rapid fire detection. The MQ-2 gas sensor is employed to
detect hazardous gases, such as smoke, LPG, and carbon monoxide, which are
common byproducts of fires. The NTC thermistor sensor measures the ambient
temperature to further aid in fire detection.
The Arduino board serves as the central processing unit, collecting data from
the sensors and analyzing it in real-time. When a fire hazard is detected, the system
triggers the buzzer to generate an audible alarm, alerting nearby individuals to
evacuate the premises. Additionally, an OLED display provides visual feedback by
showing relevant information, such as sensor readings and system status.

ْ ‫مل ّخ‬
:‫ص‬
‫ جنبًا إلى جنب مع مستشعر‬، Arduino ‫يقدم هذا العمل تصميم وتنفيذ نظام إنذار الحريق باستخدام لوحة متحكم‬
‫ الهدف هو تطوير حل‬.OLED ‫ وشاشة‬، ‫ والجرس‬، NTC ‫ ومستشعر الثرمستور‬، MQ-2 ‫ ومستشعر الغاز‬، ‫اللهب‬
.‫فعال من حيث التكلفة وفعال للكشف عن مخاطر الحريق وتنبيه األفراد في البيئات السكنية أو التجارية أو الصناعية‬
‫ مما يتيح‬، ‫يكتشف مستشعر اللهب وجود حريق عن طريق استشعار ضوء األشعة تحت الحمراء المنبعث من اللهب‬
‫ مثل الدخان وغاز‬، ‫ للكشف عن الغازات الخطرة‬MQ-2 ‫ يتم استخدام مستشعر الغاز‬.‫الكشف السريع عن الحرائق‬
‫ درجة‬NTC ‫ يقيس مستشعر الثرمستور‬.‫ وهي منتجات ثانوية شائعة للحرائق‬، ‫البترول المسال وأول أكسيد الكربون‬
.‫الحرارة المحيطة للمساعدة في اكتشاف الحرائق‬
‫ حيث تقوم بجمع البيانات من المستشعرات وتحليلها في الوقت‬، ‫ كوحدة معالجة مركزية‬Arduino ‫تعمل لوحة‬
‫ لتنبيه األفراد القريبين‬، ‫ يقوم النظام بتشغيل الجرس لتوليد إنذار مسموع‬، ‫ عندما يتم الكشف عن خطر الحريق‬.‫الفعلي‬
‫ مثل‬، ‫ مالحظات مرئية من خالل إظهار المعلومات ذات الصلة‬OLED ‫ توفر شاشة‬، ‫ باإلضافة إلى ذلك‬.‫إلخالء المبنى‬
‫قراءات أجهزة االستشعار وحالة النظام‬
REPORT

ARDUINO BASED LPG GAS AND FIRE DETECTOR


Mini Project Report Submitted in

Diploma in Mechanical Engineering


by

1. RUPESH KUMAR 23-ME-40


2. JIVAN JYOTI KUMAR SAH 23-ME-49
3. AKASH KUMAR 23-ME-35
4. VIVEK KUMAR 23-ME-09
5. AKANKSHA RAJ 23-ME-46
6. SHWETA KUMARI 23-ME-37
Under the esteemed guidance of

HUSSAM SADIQUE

Department of MECHANICAL ENGINEERING


GOVERNMENT POLYTECHNIC MOTIHARI
(Dept. of Science,Technology & Technical Education, Govt. of Bihar)
( Affiliated by AICTE)
AT- Lautahan Motihari East Champaran,Bihar (845401)
web: https://www.gpmotihari.org.in/
GOVERNMENT POLYTECHNIC MOTIHARI
(Dept. of Science,Technology & Technical Education, Govt. of Bihar)
(Affiliated by AICTE)
AT- Lautahan Motihari ,East Champaran,Bihar (845401)
web: https://www.gpmotihari.org.in/

CERTIFICATE
This is to certify that this is the Bonafide record of the minor Project entitled
“ARDUINO BASED LPG GAS AND FIRE DETECTOR”, submitted by
“SAFETY-SPARKS” including “JIVAN JYOTI KUMAR SAH (23-ME-49)” of
DIPLOMA IN MECHANICAL ENGG. during the year 2023-2026. The results
embodied in this minor project report have not been submitted to any other university
or institute for the award of any degree or diploma.

Project Supervisor Head of the Department


HUSSAM SADIQUE PROF. JAYANT RAJ

Page 1 of 1
ACKNOWLEDGEMENT
We feel honored to place our warm salutation to our college “Government Polytechnic
Motihari” for giving us an opportunity to do this Project as part of our Minor Project.
We are ever grateful to our Class Incharge “Mr. HUSSAIN SIDDIQUI” and Head of
Department “Mr. JAYANT RAJ” who enabled us to have experience in engineering and
gain profound technical knowledge.

We would like to thank our Project Guide “Mr. RUPESH KUMAR” for his regular
guidance, suggestions and constant encouragement.

We are extremely grateful to our Project Coordinator “Mr. VIVEK KUMAR” for his
continuous monitoring and unflinching co-operation throughout project work.

We would like to thank our Team member “ Mr. JIVAN JYOTI KUMAR SAH” , “Mr.
AKASH KUMAR” , “Mr. AKANKSHA RAJ” , “Mrs. SHWETA KUMARI” who gives
their soul in making this project

We would also like to thank all the faculty members and supporting staff of the
Department of IT and all other departments who have been helpful directly or indirectly
in making our project a success.

We are extremely grateful to our parents for their blessings and prayers for the
completion of our project that gave us strength to do our project.

With regards and gratitude


TABLE OF CONTENTS

Chapter No. Contents Page No

1 Introduction

1.1 Problem Definition

1.2 Existing System

1.3 Proposed System

1.4 Literature Review

2 System Requirements

2.1 Hardware & Software Requirements

2.2 Software Requirements Specification(SRS)

3 System Design

3.1 Modules of System

3.2 UML Diagrams

4 Implementation

4.1 Sample Code

4.2 Test Cases

5 Results

5.1 Output Screens

6 Conclusion

References
Buletin Ilmiah Sarjana Teknik Elektro
Vol. 5, No. 1, March 2023, pp. 31-40
ISSN: 2685-9572, DOI: 10.12928/biste.v5i1.4784 31

Protection and Monitoring System for LPG Leaks and Fires in


Arduino-Based Rooms
Ivan Triyatno, Anton Yudhana
Department of Electrical Engineering, Universitas Ahmad Dahlan, Yogyakarta, Indonesia

ARTICLE INFORMATION ABSTRACT

Article History:
Submitted 31 August 2021
Revised 02 November 2022
Accepted 21 January 2023

Keywords:
Protection System;
MQ-6 Sensor;
LPG;
DHT22 Sensor; This research is a development of previous research in overcoming of LPG
Blynk gas leaks that cause fires. The system is designed using the main sensor MQ-
6 and DHT22 sensors which will detect the gas concentration and temperature
in the room, the protection system is equipped with an exhaust as a room
Corresponding Author: freshener and a buzzer as a direct warning alarm and a water pump to
Anton Yudhana, extinguish a fire. And all of data will be displayed on the application Blynk
and will send a notification on email users by using a Wi-Fi network. This
Department of Electrical
system has succeeded in detecting the concentration of LPG gas with a sensor
Engineering, detection distance of 1 cm to 7 cm getting an average time of 1.6 seconds and
Universitas Ahmad Dahlan, percentage of error comparison 2.52%. In normal temperature detection, the
Yogyakarta, Indonesia. percentage error is 1.14% and normal humidity is 2.98%, As for detection
Email: [email protected] of rising temperature by using of wax media, the percentage error is 1.84%
and humidity 1.87%. From these tests and getting results with a small
percentage value this system can already be used and runs as well.
This work is licensed under a Creative
Commons Attribution-Share Alike 4.0

Document Citation:
I. Triyatno and A. Yudhana, “Protection and Monitoring System for LPG Leaks and Fires in Arduino-Based
Rooms,” Buletin Ilmiah Sarjana Teknik Elektro, vol. 5, no. 1, pp. 31-40, 2023, DOI:
10.12928/biste.v5i1.4784.

Journal Website: http://journal2.uad.ac.id/index.php/biste/ Email: [email protected]


32 Buletin Ilmiah Sarjana Teknik Elektro ISSN: 2685-9572

1. INTRODUCTION
The rapid development of technology can play a role in overcoming problems that occur among the
community, one of which is in reducing the number of fires, according to BNPB (National Disaster
Management Agency) there have been 500 cases of forest and settlement disasters throughout 2018, one of
which is LPG gas leakage [1]. In the case of fires that occur due to LPG gas caused by oxidation that occurs
due to three elements, namely fuel, oxygen and heat sources The fire will not ignite if the three elements are
not met [2].
In fire detection using various innovations carried out in research by adjusting factors and conditions in
the field and adjusting the devices used to obtain the desired research results. The selection of detection devices
greatly affects the performance of the system, the use of F lame detector sensors is very effective to find out
if a fire occurs but in placement in a room such as a kitchen sensor can at any time occur errors in detection as
well as the use of smoke detectors [3][4][5][6][7]. As well as supporting the monitoring system in the room, it
is needed in the use of IoT (Internet of Things) technology which can provide information in real-time and is
easier to use compared to its predecessor technology such as the use of SMS Gateways etc. [8].
Based on these problems, a system is designed that can detect LPG gas leaks and can overcome fires by
adjusting the device used, using an Arduino Uno microcontroller and an MQ-6 sensor in LPG gas detection
and a DHT22 sensor to determine the temperature and humidity in the room. Equipped with a room freshener
system using an Exhaust fan as well as a warning alarm using a buzzer and a water watering system consisting
of a water pump connected to a nozzle using a hose. To monitor this system is supported by the ESP8266 Wi-
Fi module which can connect the device with the internet then send information data and will be displayed on
the Blynk application and send a notification to the user's email.

2. METHODS
This study focuses on the performance of the main device in the form of sensors by comparing the value
of the detection results which will get the final value in the form of error percentage and testing on protection
systems, hardware and software that functions to find out if the device used can work according to the
circumstances in the detection room.

2.1. System Design


In the design of this protection and monitoring system, a block diagram was made to be able to help in
designing the entire system that can be seen in Figure 1.

Figure 1. System block diagram

Based on Figure 1 It can be found that in this system there are three main parts, namely input, process
and output. In the input section itself, there is an MQ-6 sensor which is used to detect gas concentrations and
the DHT22 sensor is used to detect temperature and humidity then from the results of the data obtained from
the sensor will then be sent to a microcontroller in the process section in the form of analog data and will be
converted into digital data using the ADC feature. The digital data will be variable to control the output part of
the system and will display information on a smartphone and then sent over the internet network using the
ESP8266 module [9][10][11][12][13]. The use of the ESP8266 module which is integrated with the TCP/IP
protocol which provides access to the microcontroller to access Wi-Fi, is very helpful in the process of sending
data to the internet network [14][15]. After made a system design using a block diagram that further connects
the Arduino Uno device with other devices. Here is the series of the entire system in Figure 2 [16].

Buletin Ilmiah Sarjana Teknik Elektro, Vol. 5, No. 1, March 2023, pp. 31-40
33 Buletin Ilmiah Sarjana Teknik Elektro ISSN: 2685-9572

Figure 2. System schematic circuit

2.2. Equations
2.2.1. LPG Gas Concentration
In the reading of the LPG gas concentration value through the MQ-6 sensor in the form of an analog
value, the RS / RO value will be searched using calculations that can be seen in Equation (1).
𝑉𝐶 − 𝑉𝑅𝐿
𝑅𝑆 = ( ) × 𝑅𝐿 (1)
𝑉𝑅𝐿
With:
𝑅𝑆 is the sensor resistance, 𝑉𝐶 is maximum voltage on the sensor, 𝑉𝑅𝐿 is minimal voltage on the sensor, and
𝑅𝐿 is resistance in the sensor circuit.
Then to find the PPM value of LPG gas, a natural log will be used which can be solved using Equation (2).
1
𝑅𝑆 −0,421
PPM = [ 𝑅𝑂 ] (2)
18,442
With:
𝑃𝑃𝑀 is the concentration of gases in the air, 𝑅𝑆 is of sensor resistance, and 𝑅𝑂 is the clean air content.
The use of the MQ-6 sensor that detects the value of LPG gas concentration in the form of analog values,
so that to convert these values, manual calculations will be used which will then be entered into the program
uploaded to the Arduino [17].

2.2.2. Average
To find the average, the calculation of errors or differences with the comparison of measuring instruments
used using Equation (3) and Equation (4) is first carried out. Then to find the average, namely by summing up
all the data (errors) divided by the total number of samples.

𝑒 = |𝑥 − 𝑦| (3)

∑𝑛𝑖 = 0 𝑒1 + 𝑒2 + 𝑒3 + ⋯ … …
𝑥= = (4)
𝑛 𝑛
Information:
𝑒 is error/sensor measurement difference, 𝑦 is measurement results of measuring instruments, 𝑥 is of sensor
measurement results, 𝑒𝑛 is the number of measurement results, and 𝑛 is the number of average sample
measurements or errors.

2.3. Algorithms
In the program uploaded to the Arduino microcontroller which will receive data from the main sensor on
the system will then be sent using a Wi-Fi network through the ESP8266 module. The following can be seen a
program of temperature and humidity readings and gas concentrations on Listing 1.

Protection and Monitoring System for LPG Leaks and Fires in Arduino-Based Rooms (Ivan Triyatno)
34 Buletin Ilmiah Sarjana Teknik Elektro ISSN: 2685-9572

Listing 1. Temperature and humidity reading program as well as LPG gas

In the program in Listing 1 there is a temperature variable which is used to read analog values which will
then be converted to which can be used as a temperature meter, and the Hum variable is also used to change
the analog sensor value which can be used as a humidity meter in the room. In the next variable where the
program code initializes pin A1 on the Arduino which functions to read the analog value of the sensor will then
be changed using Equation (1) and Equation (2) to convert the value read from the MQ-6 sensor to a value that
can be used as a reference for testing [18].
After designing the program code, it is hoped that the program uploaded on the Arduino can run as desired
as in the flow program which can be seen in the Figure 3.

Figure 3. System flow chart

At first the device is turned on and starts initializing and connecting to the internet network then it will
start detecting past the condition conditions which if not met then the system will send information data and
display it to the Blynk application, the temperature and humidity values in the condition of the requirements
are values based on the highest value obtained in the room, then at the limit of LPG gas values based on the
Lower Explosive Limit (LEL) [19][20].

Buletin Ilmiah Sarjana Teknik Elektro, Vol. 5, No. 1, March 2023, pp. 31-40
35 Buletin Ilmiah Sarjana Teknik Elektro ISSN: 2685-9572

3. RESULTS AND DISCUSSION


After designing, the results are obtained in the form of a protection and monitoring system tool on gas
leaks that are ready to be used, this hard circuit is used to assist in early detection if at any time there is a gas
leak where this tool will send a signal to users with the help of an internet connection that will send notifications
with the help of software Blynk can directly facilitate users in the operation of this tool so as to reduce worries
if at any time there is a gas leak in LPG. This test is carried out including the detection of conditions in the
room that produce data in the form of temperature and humidity as well as values on LPG gas concentrations,
the data will be compared with comparison variables, then testing on the protection system and monitoring on
the device to find out if the system is working as desired.

3.1. MQ-6 Sensor Testing


In this test, it is to detect gas using a lighter that will be sprayed on the MQ-6 sensor with the intention of
knowing the PPM value issued by the sensor, here is data from the sensor detection results that will be
compared with the sensor datasheet itself which aims to find out how big the error percentage rate of the device
can be seen in Table 1.

Table 1. The results of MQ-6 sensor testing


Data of MQ-6 Gas Sensor
No. Rs/Ro Error (%)
Datasheet (PPM) Sensor (PPM)
1 2 200 195.59 2.2
2 1.8 300 251.20 16.3
3 1.6 400 332.28 16.9
4 1.5 500 387.32 22.5
5 1.4 600 456.28 24.0
6 1.3 700 544.09 22.3
7 1.2 800 658.01 17.7
8 1.1 900 809.07 10.1
9 1 1000 101.59 1.5
10 0.75 2000 2009.20 0.5
11 0.65 3000 2822.44 5.9
12 0.56 4000 4021.12 0.5
13 0.50 5000 5263.08 5.3
14 0.48 6000 5798.90 3.4
15 0.45 7000 6757.59 3.5
16 0.43 8000 7530.19 5.9
17 0.40 9000 8941.31 0.7
18 0.38 10000 10099.68 1.0

From Table 1. di know the results of the comparison of data from the MQ-6 sensor with its comparison
variable, namely the sensor datasheet itself, while the data released by the sensor itself is the result of the
conversion of sensor analog values using Equation (1) and Equation (2). Here is the comparison chart data in
Figure 4.

Datasheet MQ-6 Sensor MQ-6


2.5 2.5

2 2

1.5 1.5

1 1

0.5 0.5

0 0
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
Figure 4. Comparison chart of MQ-6 sensors

Protection and Monitoring System for LPG Leaks and Fires in Arduino-Based Rooms (Ivan Triyatno)
36 Buletin Ilmiah Sarjana Teknik Elektro ISSN: 2685-9572

3.2. DHT22 Sensor Testing


3.2.1. Measurement and Comparison During Normal Conditions
Testing the DHT22 sensor during normal conditions in the room to find out how much the sensor value
level will be compared with the HTC2 measuring instrument in detecting temperature and humidity at the time
of reading under normal conditions. The following data was obtained in Table 2.
From the results of Table 1 Then you can search for the average value of each test and then you will find
the error percentage value using Equation (2). Next will look for the average value of the temperature value in
the DHT22 sensor which can be seen in the following calculation.
28.2 + 28.6 + 28.4 + ⋯ + 27.7
𝑟𝑎𝑡𝑎 − 𝑟𝑎𝑡𝑎 = = 28.29
30
From the results of this calculation, the average result on normal temperature detection in the DHT22
sensor was ±28.29. With the same calculation, you can find the average value of other tests, namely the
humidity test on the DHT22 sensor gets an average of ±82.83 while the average in the comparison variable,
namely HTC2, gets the average value on the normal temperature measurement of ±28.62 and humidity of
±80.43. Then to get the error percentage value, Equation (2) will be used. The following is a calculation of the
percentage of errors at normal temperatures from both measurements which can be seen as follows.
28.29 − 28.62
𝑒𝑟𝑟𝑜𝑟(%) = | × 100| = 1.14%
28.62
From the calculation, the error percentage value from the normal temperature measurement is ±1.14%.
By using the calculation that is the same as before, the result of the percentage of error from the normal
humidity measurement of ±2.98% is obtained. Here's a comparison chart of the test results which can be seen
in Figure 5 and Figure 6.

Table 2. The results DHT22 sensor testing in normal condition


DHT22 HTC2
Time
Temperature (˚C) Humidity (%) Temperature (˚C) Humidity (%)
01.27.01 28.20 82.60 28.7 81
01.28.18 28.60 82.60 28.7 81
01.29.05 28.40 82.40 28.7 80
01.30.56 28.50 82.90 28.9 80
01.34.31 28.40 82.90 28.6 80
01.34.47 28.40 82.70 28.6 80
01.34.58 28.40 83.10 28.6 80
01.35.18 28.00 82.40 28.6 80
01.35.50 28.40 82.90 28.6 80
01.36.27 28.00 82.70 28.6 80
01.37.05 28.50 83.20 28.6 80
01.37.36 28.40 83.20 28.6 80
01.38.28 28.60 83.50 28.6 80
01.39.13 28.30 82.90 28.6 81
01.40.38 28.70 83.50 28.6 81
01.40.56 28.30 83.00 28.6 81
01.41.16 27.80 82.60 28.6 81
01.41.47 28.60 83.00 28.6 81
01.42.27 28.40 82.70 28.6 81
01.43.02 27.90 82.50 28.6 80
01.43.46 27.70 82.20 28.6 81
01.44.59 27.80 82.50 28.6 81
01.45.20 27.90 82.70 28.6 81
01.46.04 28.50 83.40 28.6 81
01.47.17 28.60 83.10 28.6 80
01.47.45 28.60 82.70 28.6 80
01.48.00 28.40 83.10 28.6 81
01.48.24 28.30 82.90 28.6 80
01.49.21 28.50 82.80 28.6 80
01.50.05 27.70 82.30 28.6 80

Buletin Ilmiah Sarjana Teknik Elektro, Vol. 5, No. 1, March 2023, pp. 31-40
37 Buletin Ilmiah Sarjana Teknik Elektro ISSN: 2685-9572

DHT22 HTC2

33

32

31

30

29

28

27

26

25

Figure 5. Normal temperature comparison chart

DHT22 HTC2

100

90

80

70

60

50

40

30

Figure 6. Normal humidity comparison chart

3.2.2. Measurement and Comparison with The Help of Candles


With the help of a candle media that if ignited can help in raising the temperature and lowering the
humidity in the room, therefore this comparison is intended to help detect the sensor in detecting temperature
changes and lowering the humidity in the room and making comparisons using the HTC22 measuring
instrument. It can be known from Table 3 is data from the results of sizing with the help of using candles to
increase the temperature around the detection room to find out the average and percentage of error from the
measurement, Equation (2) will be used. With the same calculations as before. Then the average result of room
temperature on the DHT22 sensor was ±38.16 and humidity of ±61.97. Meanwhile, the comparison variable,
namely HTC-2, received an average temperature measurement of ±37.69 and humidity of ±60.83.
After knowing the average value of each measurement, a calculation can be made to get the percentage
of error with Equation 2. with the same calculation as before, the results of calculating the percentage of error
from the two measurements of the DHT22 and HTC-2 sensors were obtained at a room temperature ratio using
candles of ±1.24 and humidity of ±1.87%. Here is a comparison chart of measurements using candles which
can be seen in Figure 7 and Figure 8.

Protection and Monitoring System for LPG Leaks and Fires in Arduino-Based Rooms (Ivan Triyatno)
38 Buletin Ilmiah Sarjana Teknik Elektro ISSN: 2685-9572

Table 3. Measurement data using the help of candles


DHT22 HTC2
Time
Temperature (˚C) Humidity (%) Temperature (˚C) Humidity (%)
02.34.09 29.20 78.30 29.6 78
02.34.54 29.40 81.50 29.6 79
02.35.12 30.20 82.30 30.1 79
02.35.45 30.40 78.80 30.3 78
02.36.01 30.20 79.70 30.3 77
02.36.53 32.40 77.60 30.3 76
02.37.10 33.60 75.70 32.3 72
02.37.30 34.80 73.50 33.3 72
02.38.06 36.40 69.70 35.4 67
02.38.55 37.10 66.40 36.8 65
02.39.58 38.90 61.60 38.1 60
02.40.26 40.10 60.10 39.5 60
02.40.55 41.00 57.70 39.8 57
02.41.19 41.40 55.90 39.7 55
02.41.52 41.70 54.10 40.6 52
02.42.36 42.60 51.50 41.5 51
02.43.01 42.90 50.40 42.3 49
02.43.35 43.20 50.40 42.2 50
02.44.09 43.40 48.90 43 49
02.45.04 43.40 48.30 43.2 49
02.46.00 43.70 45.60 44.8 48
02.46.50 43.40 46.70 44.2 47
02.47.11 43.30 46.40 44.2 45
02.47.55 43.10 46.20 43.5 45
02.42.36 42.60 78.30 41.5 78
02.43.01 42.90 81.50 42.3 79
02.43.35 43.20 82.30 42.2 79
02.44.09 43.40 78.80 43 78
02.45.04 43.40 79.70 43.2 77
02.46.00 43.70 77.60 44.8 76

DHT22 Temp(C) HTC2 Temp(C)

50

40

30

20

10

Figure 7. Temperature comparison chart using candles

DHT22 HTC2

100
90
80
70
60
50
40
30

Figure 8. Moisture comparison chart using wax

Buletin Ilmiah Sarjana Teknik Elektro, Vol. 5, No. 1, March 2023, pp. 31-40
39 Buletin Ilmiah Sarjana Teknik Elektro ISSN: 2685-9572

4. CONCLUSIONS
Based on the results of the tests carried out, it has succeeded in creating an LPG gas and fire protection
and monitoring system supported by a network based on IoT (Internet of Things) that can always be monitored
at any time displayed on the Blynk application. Then this study also succeeded in testing sensors on system
devices using a comparison method and had a varying percentage of errors. Among them, in the comparison
of MQ-6 sensors, they get an error percentage value of ±2.52%, for a DHT22 sensor in normal temperature
measurements it gets a value of ±1.14% and humidity ±2.98%, while in measurements on the DHT22 sensor
using candles get a percentage error value on temperature measurements of ±1.84% and humidity of ±1.87%.

ACKNOWLEDGEMENT
Thank you to the editors and reviewers for all their suggestions and input until the completion of this
journal. Not to forget, the author would like to thank all parties involved in completing this journal. The author
hopes that this final project can be used as well as possible to add knowledge to yourself, especially for readers.

REFERENCES
[1] H. L. Tata, B. H. Narendra, and M. Mawazin, “Forest and land fires in Pelalawan District, Riau, Indonesia: Drivers,
pressures, impacts and responses,” Biodiversitas Journal of Biological Diversity, vol. 19, no. 2, pp. 494-501, 2018,
https://doi.org/10.13057/biodiv/d190224.
[2] F. Mirahadi, B. McCabe, and A. Shahi, “IFC-centric performance-based evaluation of building evacuations using
fire dynamics simulation and agent-based modeling,” Automation in Construction, vol. 101, pp. 1-16, 2019,
https://doi.org/10.1016/j.autcon.2019.01.007.
[3] M. M. Shahadat, A. Mallik, and M. Islam, “Development of an automated gas-leakage monitoring system with
feedback and feedforward control by utilizing IoT,” Facta universitatis-series: Electronics and Energetics, vol. 32,
no. 4, pp. 615-631, 2019, https://doi.org/10.2298/FUEE1904615S.
[4] P. Anuradha, R. R. Arabelli, K. Rajkumar, and J. Ravichander, “Microcontroller Based Monitoring and Controlling
of LPG Leaks Using Internet of Things,” In IOP Conference Series: Materials Science and Engineering, vol. 981,
no. 3, p. 032021, 2020, https://doi.org/10.1088/1757-899X/981/3/032021.
[5] Y. Irawan, A. W. Novrianto, and H. Sallam, “Cigarette Smoke Detection And Cleaner Based On Internet Of Things
(IOT) Using Arduino Microcontroller and MQ-2 Sensor,” Journal of Applied Engineering and Technological Science
(JAETS), vol. 2, no. 2, pp. 85-93, 2021, https://doi.org/10.37385/jaets.v2i2.218.
[6] A. Winarno and M. Affandi, “Design and Construction of Smart House Prototype Based Internet of Things (Iot)
Using Esp8266,” BEST: Journal of Applied Electrical, Science, & Technology, vol. 4, no. 1, pp. 11-14, 2022,
https://doi.org/10.36456/best.vol4.no1.5447.
[7] S. Suwarjono et al., “Design of a home fire detection system using Arduino and SMS gateway,” Knowledge, vol. 1,
no. 1, pp. 61-74, 2021, https://doi.org/10.3390/knowledge1010007.
[8] J. Jo, B. Jo, J. Kim, S. Kim, and W. Han, “Development of an IoT-based indoor air quality monitoring
platform,” Journal of Sensors, 2020, https://doi.org/10.1155/2020/8749764.
[9] P. Sihombing, T. P. Astuti, and D. Sitompul, “Microcontroller based automatic temperature control for oyster
mushroom plants,” In Journal of Physics: Conference Series, vol. 978, no. 1, p. 012031, 2018,
https://doi.org/10.1088/1742-6596/978/1/012031.
[10] N. I. Ilahi, S. Baco, A. S. A. Achmad, and E. Umrianah, “Early Leakage Protection System of LPG (Liquefied
Petroleum Gas) Based on ATMega 16 Microcontroller,” In IOP Conference Series: Materials Science and
Engineering, vol. 336, no. 1, p. 012021, 2018, https://doi.org/10.1088/1757-899X/336/1/012021.
[11] R. A. Koestoer, N. Pancasaputra, I. Roihan, and Harinaldi, “A simple calibration methods of relative humidity
sensor DHT22 for tropical climates based on Arduino data acquisition system,” In AIP Conference Proceedings, vol.
2062, no. 1, p. 020009, 2019, https://doi.org/10.1063/1.5086556.
[12] Y. A. Ahmad, T. Surya Gunawan, H. Mansor, B. A. Hamida, A. Fikri Hishamudin and F. Arifin, “On the Evaluation
of DHT22 Temperature Sensor for IoT Application,” 2021 8th International Conference on Computer and
Communication Engineering (ICCCE), pp. 131-134, 2021, https://doi.org/10.1109/ICCCE50029.2021.9467147.
[13] N. Z. Malika, M. G. Md Johar, M. H. Alkawaz, A. Iqbal Hajamydeen and L. Raya, “Temperature & Humidity
Monitoring for Poultry Farms using IOT,” 2022 IEEE 12th Symposium on Computer Applications & Industrial
Electronics (ISCAIE), pp. 76-81, 2022, https://doi.org/10.1109/ISCAIE54458.2022.9794520.
[14] P. Srivastava, M. Bajaj and A. S. Rana, “IOT based controlling of hybrid energy system using ESP8266,” 2018
IEEMA Engineer Infinite Conference (eTechNxT), pp. 1-5, 2018,
https://doi.org/10.1109/ETECHNXT.2018.8385294.
[15] P. Srivastava, M. Bajaj and A. S. Rana, “Overview of ESP8266 Wi-Fi module based Smart Irrigation System using
IOT,” 2018 Fourth International Conference on Advances in Electrical, Electronics, Information, Communication
and Bio-Informatics (AEEICB), pp. 1-5, 2018, https://doi.org/10.1109/AEEICB.2018.8480949.
[16] J. Mesquita, D. Guimarães, C. Pereira, F. Santos and L. Almeida, “Assessing the ESP8266 WiFi module for the
Internet of Things,” 2018 IEEE 23rd International Conference on Emerging Technologies and Factory Automation
(ETFA), pp. 784-791, 2018, https://doi.org/10.1109/ETFA.2018.8502562.
[17] R. K. Kodali, R. N. V. Greeshma, K. P. Nimmanapalli and Y. K. Y. Borra, “IOT Based Industrial Plant Safety Gas
Leakage Detection System,” 2018 4th International Conference on Computing Communication and Automation
(ICCCA), pp. 1-5, 2018, https://doi.org/10.1109/CCAA.2018.8777463.

Protection and Monitoring System for LPG Leaks and Fires in Arduino-Based Rooms (Ivan Triyatno)
40 Buletin Ilmiah Sarjana Teknik Elektro ISSN: 2685-9572

[18] H. V. Bhatnagar, P. Kumar, S. Rawat and T. Choudhury, “Implementation model of Wi-Fi based Smart Home
System,” 2018 International Conference on Advances in Computing and Communication Engineering (ICACCE),
pp. 23-28, 2018, https://doi.org/10.1109/ICACCE.2018.8441703.
[19] V. Tamizharasan, T. Ravichandran, M. Sowndariya, R. Sandeep and K. Saravanavel, “Gas Level Detection and
Automatic Booking Using IoT,” 2019 5th International Conference on Advanced Computing & Communication
Systems (ICACCS), pp. 922-925,2019, https://doi.org/10.1109/ICACCS.2019.8728532.
[20] X. Qian, R. Zhang, Q. Zhang, M. Yuan, and Y. Zhao, “Cause analysis of the large-scale LPG explosion accident
based on key investigation technology: a case study,” ACS omega, vol. 6, no. 31, pp. 20644-20656, 2021,
https://doi.org/10.1021/acsomega.1c02837.

AUTHOR BIOGRAPHY

Ivan Triyatno Born in Palembang on April 16, 1998. Completed his S1 Electrical Engineering
education at Universitas Ahmad Dahlan, Yogyakarta, Indonesia.

Anton Yudhana Born in Purworejo on August 8, 1976, completed his S1 Electrical Engineering
education at Surabaya Institute of Technology, S2 at Gadjah Mada University University, and S3
at Malaysia University of Technology. His field of interest is High Frequency & Radio
Communication. Currently he serves as Chairman of LPPM Universitas Ahmad Dahlan and
lecturer at the Department of Electrical Engineering, Faculty of Industrial Technology, Universitas
Ahmad DahlanYogyakarta, Indonesia.

Buletin Ilmiah Sarjana Teknik Elektro, Vol. 5, No. 1, March 2023, pp. 31-40
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
( Peer-Reviewed, Open Access, Fully Refereed International Journal )
Volume:06/Issue:02/February-2024 Impact Factor- 7.868 www.irjmets.com

DESIGN AND IMPLEMENTATION OF A FIRE AND HAZARDOUS GAS


DETECTION AND INSTANT SMS ALERTING SYSTEM USING ARDUINO
MICROCONTROLLER: IMPERATIVE TO COMPUTER LOGIC CURRICULUM
UMAR, Abdulraheem Ojo*1
*1Department Of Computer Science FCT College Of Education, Zuba, Abuja-Nigeria.
DOI : https://www.doi.org/10.56726/IRJMETS49212
ABSTRACT
This research presents the design and implementation of a comprehensive Fire and Hazardous Gas Detection
System with Instant SMS Alerting, employing Arduino technology—a pertinent subject in the context of
Computer Logic coursework. Core components encompass Arduino UNO R4 as the central controller, flame, gas,
and temperature sensors, a relay module, and a GSM module. The system, designed for flame detection, gas
concentration monitoring, and temperature assessment, promptly sends SMS alerts to the user's mobile device.
In the event of a fire, the system activates a water system for immediate suppression, concurrently managing
the power supply via the relay module. User-controlled operation of the water pump, based on a predefined
timer, enhances the system's flexibility. The research underscores the system's potential in reducing injuries,
preventing loss of life, and minimizing property damage, aligning with the principles and applications relevant
to Computer Logic and programming curriculum education. Future enhancements, such as integrating
additional sensors and refining radio communication systems, are proposed to further augment the system's
adaptability and effectiveness in the realm of Computer Logic coursework.
Keywords: Keywords: Gas Sensor, Buzzer(Alarm) System, Fire-Detector, GSM Module, Arduino UNO R4
Microcontroller, Flame Sensor.
I. INTRODUCTION
Fire incidents can be highly disruptive and pose a significant threat to life and property. Residential buildings
often face the greatest risk, and delayed responses can lead to severe casualties. Detecting fires or gas leaks
quickly remains a challenge due to a lack of public awareness about the signs and symptoms. Gas leaks, in
particular, are visually elusive, complicating the estimation of leak rates.
Swift identification of such incidents is paramount to minimizing potential catastrophes. To address this need, a
real-time Fire and Hazardous Gas Detection System has been developed. This system employs gas and flame
sensors to detect gas leaks and fires based on changes in temperature and the presence of flames within a
building. As an emergency response, the system can cut off power, activate alarms, and notify users via SMS
about the detected issues.
One notable feature of the system is its dual safety approach, which includes powering off the electrical supply
and supplying water to extinguish fires. Additionally, it utilizes a dual communication network to ensure
reliable information dissemination through the Global System for Mobile Communications (GSM) using dual
SIM cards. The implementation of this project involves the use of an Arduino UNO R4 Microcontroller and
simulation using Python software. The aim is to proactively handle fire and gas leak incidents, thereby
minimizing accidents and potential hazards associated with gas leaks.
II. RELATED WORK
The objective of this research is to devise an automated gas leakage and fire detection system with the
capability to detect and alert promptly. Intended for applications in household security and industries reliant
on gas, the system is designed to send notification messages to registered mobile phones. The central control
unit for the entire system is an Arduino microcontroller.
[4] proposed a Sensor-Based Gas Leakage Detector System utilizing a semiconductor (SnO2) with a gas
detection range of 200–10,000 ppm. This system, sensitive to Propane, Butane, LPG, and particularly Methane,
is effective in detecting various combustible gases.
In a project by [2] a device primarily for household use was developed. The system sends an SMS alert and
activates a buzzer upon detecting gas leakage. However, a limitation is identified where the SMS is only sent to
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[2294]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
( Peer-Reviewed, Open Access, Fully Refereed International Journal )
Volume:06/Issue:02/February-2024 Impact Factor- 7.868 www.irjmets.com
the house owner, potentially causing issues if the owner is unreachable.[2] employed an Arduino UNO, MQ 2
gas sensor, and PIR sensor in their project. The gas sensor detects gas leakage, while the PIR sensor identifies
human presence. If no human is detected in the kitchen for a certain duration, the system triggers a buzzer and
automatically shuts off the gas cylinder valve.[1] implemented an LPG sensor and alarming system using
Arduino UNO. The sensor is sensitive to various gases, including toxic gases and combustibles, resulting in a
cost-effective device with simple circuitry. In the paer [6] developed a gas leakage detection and alerting
system utilizing Arduino Uno. Noteworthy is the use of dual GSM SIMs for different networks, ensuring reliable
alerts at three different locations. In the article [5] converted LPG gas leakage levels from PPM to volts and sent
the results to users when the threshold limit was reached. In [3] implemented a gas detection project where the
GSM module sends SMS alerts and emits a sound from a buzzer when gas is detected. [9] incorporated Node
MCU, IoT, and a mobile app to notify users about gas cylinder levels and provide safety precautions during gas
leakage. [8]Imam Hossain and Siddika (2018) developed a device to stop gas supply upon LPG gas leakage, but
acknowledged the challenge of lack of awareness among workers and residents. In paper [7] introduced a
device for detecting hazardous gases, but it was noted that the SMS alerts were sent only to a specific person,
potentially causing safety concerns for workers and people in and around the factory.
III. METHODOLOGY
The designed system comprised various components as shown in the block diagram in Fig. 1. It consists of the
Arduino UNO R4 connected to several sensors and the battery. The main system components include the
Arduino UNO R4, the GSM module, temperature sensor, gas sensor, flame sensor, motor driver, Relay, motor
pump that are crucial for the entire system to be complete and function effectively
When gas leakage is sensed by the MQ-3 gas sensor the level of leakage is checked, if it reaches a certain level,
then Arduino UNO R4 will trigger the buzzer to alert the people the surrounding. After– the GSM module will
send the message to surrounding regarding the gas leakage. A relay will be triggered where it will be used to
turn off the power supply, we need a relay because LPG is highly flammable when the gas interacts with the
electricity high explosion will take place and causes the loss of property.

Fig 1. The block diagram for the proposed system.


Above is the block diagram for the proposed system, from the diagram its seen that the temperature sensor,
flame sensor, the MQ-3 gas sensor and power supply are the inputs that provide information to the Arduino
UNO R4 microcontroller. Buzzer, LCD, GSM module and relay are the output that instruction to the Arduino
UNO R4 microcontroller.

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[2295]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
( Peer-Reviewed, Open Access, Fully Refereed International Journal )
Volume:06/Issue:02/February-2024 Impact Factor- 7.868 www.irjmets.com

Fig 2: The System Flow Chart


The above describe the working of the system through the system flow chart in fig 2 above, begins with the
start, it then it initialize the device system , it then test for gas leakage, rise in temperature and flame , if there is
no gas leakage detected at the gas sensor, rise temperature by temperature sensor and flame sensor it will
display on the LCD. When there is any gas leakage is detected, no rise temperature and flame at the gas sensor,
the MQ-3 gas sensor will send the data to the Arduino UNO R4, Arduino UNO R4 will trigger the relay to shut
down the power supply If the gas leakage is reached a defined threshold, after it will trigger the alarm, then
LCD will display the level of gas leakage and will trigger the GSM module which will send the SMS alert to the
user or users.
But if there is any gas leakage, rise temperature and flame is detected sensors will send the data to the Arduino
UNO R4, Arduino UNO R4the system goes into flame mode which represent a digital logic (1), this mode is
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[2296]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
( Peer-Reviewed, Open Access, Fully Refereed International Journal )
Volume:06/Issue:02/February-2024 Impact Factor- 7.868 www.irjmets.com
responsible for starting the water pump that quench the fire. Then the water runs until its greater than the user
the defined time, then the flame mode down at the logic zero(0) then the water pump off. Then LCD will
display the level of gas leakage,rise in temperature and fire and also trigger the GSM module which will send
the SMS alert to the user or users.
3.1 Materials
3.1.1 Hard Ware
The hardware components used are:
 Solderless Breadboard
 Arduino Uno
 5v 2amp Power Adapter
 Male And Female Jumper Wires
 Buzzer
 GSM Module
 LCD Display
 Temperature Sensor
 Flame Sensor
 Gas Sensor
 Relay Module
Arduino UNO is a versatile single-board microcontroller extensively employed for crafting diverse digital
devices. The block diagram, depicted in the accompanying figure, illustrates its functionality. Programming for
Arduino UNO is facilitated through languages such as C, C++, Python, and Java.

Fig 3: Arduino
Gas Sensor Module (MQ-3): The gas sensor module serves the purpose of detecting gas leaks, both in residential
and industrial settings. It is adept at identifying various combustible gases such as LPG, propane, hydrogen,
methane, CO, and others.

Fig 4: Gas Sensor


Buzzer: The buzzer or beeper functions as an audible signaling device, utilizing mechanical, electromechanical,
or piezoelectric mechanisms. It finds extensive applications in alarm systems, timers, and user input
verification processes, including mouse clicks or key responses.

Fig 5: Buzzer
GSM Module: The GSM module is a hardware device employing telephony technology to establish data
connections within remote networks. It mimics a conventional cell phone from the perspective of a mobile
phone network, requiring a self-identifying SIM card. These modules are commonly integrated into embedded
systems.

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[2297]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
( Peer-Reviewed, Open Access, Fully Refereed International Journal )
Volume:06/Issue:02/February-2024 Impact Factor- 7.868 www.irjmets.com

Fig 6: GSM Module


Relay Module: The relay module serves as an electrical switch operated by an electromagnet. It responds to a
low-power signal from a small controller, causing the electromagnet to open or close the electrical circuit when
activated.

Fig 7: Relay Module


Male and Female Jumper Wires: These wires are employed to conduct current from one device to another
within a circuit. Refer to Figure 5 below for an illustration of Jumper Wires.

Fig 8: Male And Female Jumper Wire


Solderless Breadboard: This board facilitates the controlled flow of current within the circuit. Refer to Figure 2
below for a visual representation of the breadboard.

Figure 9: Solderless Breadboard


The flame sensor is used for detecting flame. The flame sensor is an intelligent sensor system that is able to
detect flames with high accuracy using a flame sensor and servo motor.

Fig 10: Flame Sensor


The liquid crystal display (LCD) is now the common choice of alphanumeric, graphics, and video displays. The
displays two lines of 16 characters (16x2).

Fig 11: Flame Sensor


3.1.2 Software Development:
The project will be coded using the Python programming language. Python's suitability stems from its
dedicated library for Arduino programming, making it an ideal choice for seamless integration with the Arduino
platform.
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[2298]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
( Peer-Reviewed, Open Access, Fully Refereed International Journal )
Volume:06/Issue:02/February-2024 Impact Factor- 7.868 www.irjmets.com
3.1.3 Benefits
The system provides various advantages in terms of economic, social, global, environmental, and ethical
aspects. Gas leakage and fire incidents can have detrimental effects across these dimensions. Such accidents
may result in the destruction of valuable properties, injuries to individuals, and loss of life, directly impacting
the economy and society. For instance, if a fire destroys a building, inhabitants and workers may need to
relocate, negatively affecting the economic and social aspects of their lives.
Given these social, economic, and environmental repercussions, it becomes imperative for individuals to
consider implementing a gas leakage and fire alarm control system. This system offers GSM-activated features
for SMS alerts by registering two SIM cards, ensuring fast accessibility in case of power network issues.
Additionally, first aid facilities provide immediate real-time solutions to incidents before the user arrives. This
system is suitable for installation in homes, offices, and various other locations.
One notable advantage of the Fire and Hazardous Gas Detection System with Instant SMS Alerting is its
incorporation of the mentioned features along with cost-effectiveness. Consequently, an effective
implementation of this system is crucial to enhance safety standards, mitigate injuries, reduce loss of life, and
minimize property damage.
IV. CONCLUSION
In conclusion, the implemented Fire and Hazardous Gas Detection System with Instant SMS Alerting represents
a comprehensive solution for monitoring and responding to fire and gas leakage incidents. Utilizing Arduino
NUO R4 as the core component, along with flame, gas, temperature sensors, relay module, and GSM module, the
system enables real-time monitoring and prompt action based on detected incidents. The GSM module plays a
crucial role by sending warning SMS messages to the user's phone in response to flame detection, high gas
concentration, and elevated temperature at the installation site.
When a fire is detected, the system triggers a water system for fire suppression, and the relay module takes
control of the power supply. The user also gains remote control over the water pump, allowing them to activate
or deactivate it based on a user-defined timer. The overall impact of the system is evident in its contribution to
reducing injuries, preventing loss of life, and minimizing property damage.
In the context of the ongoing developments and innovations, the widespread adoption of such systems can
significantly influence society, the economy, and environmental protection. To further enhance the system,
potential areas for improvement include integrating additional sensors and refining the radio communication
systems. These advancements can contribute to the continued effectiveness and adaptability of the Fire and
Hazardous Gas Detection System.
ACKNOWLEDGEMENTS
The author wishes to acknowledge and thank Tertiary Education Trust Fund (TETFund) of Nigeria for their
support in making this research work a success.
V. REFERENCES
[1] Halder, M. & Chatterjee, S. (2019). Microcontroller Based LPG Gas Leakage System. International
Journal of Engineering and Applied Sciences (IJEAS). 6(2), 29 – 31.
[2] Priya, R. Vishnu, and G. Kowsalya. "Detecting LPG Leakage and Automatic Turn off using Arduino
Connected with PIR Sensor." Journal of Physics: Conference Series. Vol. 1717. No. 1. IOP Publishing,
2021.
[3] Hasibuan, Muhammad Siddik, and Iswandi Idris. "Intelligent LPG gas leak detection tool with SMS
notification." Journal of Physics: Conference Series. Vol. 1424. No. 1. IOP Publishing, 2019
[4] Khan, M.M. (2020). Sensor-Based Gas Leakage Detector System. Engineering Proceedings of the 7th
Electronic Conference on Sensors and Applications, North South University, Bashundhara, Dhaka1229,
Bangladesh; 1-6
[5] M. A. Subramanian, N. Selvam, S. Rajkumar,R. Mahalakshmi and J. Ramprabhakar, "Gas Leakage
Detection System using IoT with integrated notifications using Pushbullet-A Review," 2020 Fourth
International Conference on Inventive Systems and Control (ICISC), 2020,pp.359-362,
doi: 10.1109/ICISC47916.2020.9171093.

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[2299]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
( Peer-Reviewed, Open Access, Fully Refereed International Journal )
Volume:06/Issue:02/February-2024 Impact Factor- 7.868 www.irjmets.com
[6] Shahewaz, S. B. & Prasad, C. R. (2020). Gas leakage Detection and Alerting System using Arduino Uno.
Global Journal of Engineering and Technology Advances. 5(3), 29–35. DOI: 10.30574/gjeta
[7] Shiyana, A., and Mrs R. Deepa. "SMS BASED GAS LEAKAGE MONITORING IN RESDENTIAL AND
INDUSTRIAL AREA." (2017).
[8] Siddika, Ayesha, and Imam Hossain. "LPG Gas Leakage Monitoring and Alert System using Arduino."
International Journal of Science and Research (IJSR) 7.42 (2018): 1734-1737.
[9] Zinnuraain, S. M., et al. "Smart Gas Leakage Detection with Monitoring and Automatic Safety System."
2019 International Conference on Wireless Communications Signal Processing and Networking
(WiSPNET). IEEE, 2019.

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[2300]

You might also like