Arduino Based Fire Detection and Alarm System Using Smoke Sensor
Arduino Based Fire Detection and Alarm System Using Smoke Sensor
Arduino based Fire Detection and Alarm System Using Smoke Sensor
May Zaw Tun1, Htay Myint2
Lecturer12
1
Natural Science Department, 2Department of Engineering Physics
1
University of Computer Studies (Mandalay), 2Technology University (Mandalay)
12
Mandalay, Mandalay Division
Myanmar
______________________________________________________________________________________
ABSTRACT
The fire detection system combines the simultaneous measurements of smoke, carbon monoxide, and carbon dioxide. The security
of campus against intruders moving in laboratories, class rooms, staffrooms or washrooms. The fire alarm system consists of Fire
detectors (with can be smoke detector, heat, or Infra-Red detectors), control unit and alarm system. A fire detection system is
developed based on the simultaneous measurements of temperature and smoke. The fire detection system with the alarm algorithm
detected fires that were not alarmed by smoke sensors, and alarmed in shorter times than smoke sensors operating alone.
Previous fire detection algorithms used data from sensors for temperature, smoke, and combustion products. The smoke sensor
alarms when the analog output signal exceeds or equal the threshold value. The node includes analog sensors to measure smoke,
carbon monoxide (CO) and temperature. A fire alarm system should reliably and in a timely way notify building occupants about
the presence of fire indicators, such as smoke or high temperatures.
Key Words: Arduino UNO, MQ2 Gas Sensor, DH-11 sensor, GSM Module, LCD and Buzzer.
______________________________________________________________________________________________
1. INTRODUCTION
Fire and Gas detection alarm systems are important tools for safeguarding our residence home, building, office, market, and other
places. A well designed fire and gas system is intended to detect and in some cases automatically mitigate fire, flammable gas and
toxic gas hazards. Proper placement of detectors is critical in the design of a fire and gas system to ensure that coverage is
adequate to detect hazards at their incipient stage, in order to prevent escalation. The rates of increase of these three components
are used in the fire alarm algorithm to determine the presence of a fire. The smoke sensor provides a mean to detect smoke and to
serve as an early fire warning. Heat detectors are the oldest type of automatic fire detection device [5]. They respond either when
the detecting element reaches a predetermined fixed temperature or to a specified rate of temperature change. If a fire should
result, systems can be attached to extinguish the fire and protect other areas from the actions of the fire. Generally, the fire
detection system and gas detection system is combined into one fire and gas system. A separation that may be made is to have one
fire and gas system for the processing areas and another sub-system for the usefulness or office/accommodation areas.
www.ijasre.net Page 89
Licensed Under Creative Commons Attribution CC BY-NC
International Journal of Advances in Scientific Research and Engineering (ijasre), Vol 6 (4), April -2020
serial communication interfaces for loading the codes from computer. To do the codes, Arduino has prepared its own software
called integrated development environment (IDE) which completely supports C and C++ programming languages [1, 2].
www.ijasre.net Page 90
DOI: 10.31695/IJASRE.2020.33792
International Journal of Advances in Scientific Research and Engineering (ijasre), Vol 6 (4), April -2020
Figure2. DH-11 sensor, Buzzer, GSM modem (Sim900), Liquid crystal display unit (LCD)
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); // Creates an LCD object. Parameters: (rs, enable, d4, d5, d6, d7)
dht DHT;
bool showcelciusorfarenheit = false;
void setup()
{ lcd.begin(16,2); }
void loop()
{ int readData = DHT.read11(dataPin);
float t = DHT.temperature;
float h = DHT.humidity;
lcd.setCursor(0,0);
lcd.print("Temp.: ");
if(showcelciusorfarenheit){ lcd.print(t);
lcd.print((char)223);//shows degrees character
lcd.print("C");
showcelciusorfarenheit = false; }
else{ lcd.print((t * 9.0) / 5.0 + 32.0);
lcd.print((char)223);//shows degrees character
lcd.print("F");
showcelciusorfarenheit = true; }
lcd.setCursor(0,1);
lcd.print("Humi.: ");
www.ijasre.net Page 91
DOI: 10.31695/IJASRE.2020.33792
International Journal of Advances in Scientific Research and Engineering (ijasre), Vol 6 (4), April -2020
lcd.print(h);
lcd.print(" %");
delay(2000);
}
2.6 Buzzer
A buzzer is a mechanical, electromechanical, magnetic, electromagnetic, electro-acoustic or piezoelectric audio signaling
device. A piezo-electric buzzer can be driven by an oscillating electronic circuit or other audio signal source. A click, beep or ring
can indicate that a button has been pressed. It consists of a number of switches or sensors connected to a control unit that
determines if and which button was pushed or a preset time has lapsed. It usually illuminates a light on the appropriate button or
control panel, and sounds a warning in the form of a continuous or intermittent buzzing or beeping sound [8].
www.ijasre.net Page 92
DOI: 10.31695/IJASRE.2020.33792
International Journal of Advances in Scientific Research and Engineering (ijasre), Vol 6 (4), April -2020
Arduino fire alarm system is an important system for industrial purposes as well as for household purposes. Whenever it
detects fire or smoke then it instantly alerts the user about the fire through the GSM module. Software design is as shown in figure
5.
Start
MQ-2 sensor LCD Display
Read Sensor Input
DH-11 sensor Arduino UNO SMS sending
Controller
Alarm in Buzzer
Send SMS
Figure4. Block Diagram
LCD Display
Figure5. Flow chat of the System
End
4. IMPLEMENTATION RESULT
The hardware of this case consists of Gas sensor, temperature and humidity sensor, Arduino microcontroller, GSM SIM- 900A
that is connected with Arduino through an relay module to control it. A fire alarm system is number of devices working together
to detect and warn people through visual and audio appliances when smoke, fire, carbon monoxide or other emergencies are
present. Fire and smoke that spread within a building can be affected by various factors such as the geometry, dimension, layout
and usage of the building. If a detector detects smoke or heat, or someone operates a break glass unit, then alarm sounders operate
to warn others in the building that there may be a fire and to abandon.
5. CONCLUSION
This paper presents the design and implementation of a cost-effective and reliable automated GSM based fire alarm system. Fire
detectors use various sensor, generally a smoke sensor and temperature and humidity sensor. The sensor input data is connected
with Arduino controller. LCD display, Buzzer and GSM module also is connected with Arduino for output result. Buzzer is notify
for fire alarm and LCD is displayed the fire detection status. GSM module can be informed to specific user to know or prevent
their home, office or building. This system can be applied in residential places, offices and hotels. With this system safety is
assured. The system can perform different parameter measurements for early detection of building fires. There should be a
minimum of two or three smoke and detectors in your home. You should install a smoke and detector on each floor of a house.
Always have a smoke and detector and fire alarm system in your home for your own safety. The advantages of the system can
help in early reaction, saving lives and property. It can also protects us and our residence.
REFERENCES
1. Official Arduino BT website: http://www.arduino.cc/en/Guide/ArduinoBT
2. John Boxall, "Arduino Workshop", 2013.
3. Karwan MUHEDEN, Ebubekir ERDEM, Sercan VAN�N, Design and Implementation of the Mobile Fire Alarm
System Using Wireless Sensor Networks, CINTI 2016, 17th IEEE International Symposium on Computational
Intelligence and Informatics • 17–19 November, 2016 • Budapest, Hungary
4. N N Mahzan, N I M Enzai, N M Zin and K S S K M Noh, Design of an Arduino-based home fire alarm system with
GSM Module, 1st International Conference on Green and Sustainable Computing (ICoGeS) 2017, IOP Conf. Series:
Journal of Physics: Conf. Series 1019 (2018) 012079 doi :10.1088/1742-6596/1019/1/012079
5. P.J. Vivek, G. Raju, S. Akarsh, “Forest Fire Detection System”, International Journal of Innovative Research in Science,
Engineering and Technology, ISSN: 2319-8753, Vol 3, Issue 6, June 2014
6. Prof. Parag Naik, Pranay Dhopte, Rajat Wanode, Roheet Kantode, Saurabh Nagre, Gas Sensor Using Arduino UNO &
MQ2 Sensor, International Journal of Advanced Research in Computer and Communication Engineering ISO 3297:2007
Certified Vol. 7, Issue 3, March 2018
www.ijasre.net Page 93
DOI: 10.31695/IJASRE.2020.33792
International Journal of Advances in Scientific Research and Engineering (ijasre), Vol 6 (4), April -2020
7. R.O.Okeke, M.Ehikhamenle, Design And Simulation Of Gas And Fire Detector And Alarm System With Water
Sprinkle, International Journal of Engineering Research and General Science Volume 5, Issue 1, January-February, 2017
ISSN 2091-2730
8. T. L. Floyd, Ninth edition, “Digital Fundamentals”, New Jersey, 2006.
www.ijasre.net Page 94
DOI: 10.31695/IJASRE.2020.33792