Fire Alarm System With SMS Notification
Fire Alarm System With SMS Notification
Project Design
Introduction
exothermic reaction taking place in a thin zone. Flame, rapidly reacting body of
gas, commonly a mixture of air and a combustible gas that gives off heat and light,
of combustion, releasing heat, light, and various reaction products. Fire occurs
temperature becomes gas. Fire in its most common form can result in
conflagration, which has the potential to cause physical damage through burning.
It is the reason why nowadays we need a fire alarm system in our house.
outbreak of fire in that building or area. Fire alarm systems are mandatory in
buildings, industrial installations, markets, offices, living spaces, public areas and
some kinds of transports. Fire alarms are generally audible and/or visible,
evacuation from a building or an affected area. There are three stages of Fire
There are many kinds of fire alarm system like Fire Alarm System with SMS
notification that detects the fire through flame sensor and gives signal initiation
Page | 1
through a sound and light and notification through sending an SMS to the owner.
It sends an SMS to a set mobile numbers when fire occurs. It is very useful in
locations and alert during fire that occurs at night time. Furthermore, it gives
warning immediately to multiple mobile numbers and hence remedy can be taken
quickly and helps to prevent major damages and losses created by a fire accident.
Design Details
1. Components
Page | 2
SIM 900A GSM/GPRS MODULE – It is the device that is
connected to the flame sensor module that sends SMS to
the set mobile number when the flame sensor detects fire.
Page | 3
2. House Layout and Design
Page | 5
4. Flowchart
Figure 4. Flowchart
Page | 6
5. Block Diagram
LED
Flame sensor Arduino Uno Buzzer
GSM module
Input Process Output
Figure 5. Block Diagram
6. Program Code
#include <SoftwareSerial.h>
SoftwareSerial mySerial(9, 10);
char msg;
int buzzer1 = 8;//bedroom
int buzzer2 = 5;//kitchen
int buzzer3 = 6; //livingroom
int LED1 = 7;//bedroom
int LED2 = 3;//kitchen
int LED3 = 2;//livingroom
int flame_sensor1 = 4;//bedroom
int flame_sensor2 = 11;//kitchen
int flame_sensor3 = 12;//livingroom
int flame_detected;
void setup()
{
mySerial.begin(9600);
Serial.begin(9600);
Page | 7
pinMode(buzzer1, OUTPUT);
pinMode(buzzer2, OUTPUT);
pinMode(buzzer3, OUTPUT);
pinMode(LED1, OUTPUT);
pinMode(LED2, OUTPUT);
pinMode(LED3, OUTPUT);
pinMode(flame_sensor1, INPUT);
pinMode(flame_sensor2, INPUT);
pinMode(flame_sensor3, INPUT);
}
void loop()
{
//FLAME SENSOR 1
flame_detected = digitalRead(flame_sensor1);
if (flame_detected == 1)
{
digitalWrite(buzzer1, HIGH);
digitalWrite(LED1, HIGH);
mySerial.println("AT+CMGF=1");
delay(1000);
mySerial.println("AT+CMGS=\"+639662744995\"\r");
delay(1000);
mySerial.println("Bedroom is on Fire");
delay(100);
mySerial.println((char)26);
delay(1000);
}
Else
Page | 8
{
digitalWrite(buzzer1, LOW);
digitalWrite(LED1, LOW);
}
//FLAME SENSOR 2
flame_detected = digitalRead(flame_sensor2);
if (flame_detected == 0)
{
digitalWrite(buzzer2,HIGH);
digitalWrite(LED2,HIGH);
mySerial.println("AT+CMGF=1");
delay(1000);
mySerial.println("AT+CMGS=\"+639662744995\"\r");
delay(1000);
mySerial.println("Kitchen is on Fire");
delay(100);
mySerial.println((char)26);
delay(1000);
}
else
{
digitalWrite(LED2, LOW);
digitalWrite(buzzer2, LOW);
}
//FLAME SENSOR 3
flame_detected = digitalRead(flame_sensor3);
if (flame_detected == 0)
{
digitalWrite(buzzer3, HIGH);
Page | 9
digitalWrite(LED3, HIGH);
mySerial.println("AT+CMGF=1");
delay(1000);
mySerial.println("AT+CMGS=\"+639662744995\"\r");
delay(1000);
mySerial.println("Livingroom is on Fire");
delay(100);
mySerial.println((char)26);
delay(1000);
}
else
{
digitalWrite(LED3,LOW);
digitalWrite(buzzer3,LOW);
}}
7. System Operation
The flame sensor module is sensitive to a flame and its radiation. It can
detect ordinary light source in the range of a wavelength from 760 nm to 1100 nm.
Using this flame sensor, you can detect infrared light up to a distance of 1 m within
its detection angle. At which a phototransistor is the one who senses light levels.
Under normal conditions, the output from the flame sensor is high. When the
sensor detects any fire, its output becomes low. After the Arduino Uno checks the
logic state of the flame sensor, it therefore triggers the buzzer and LED, also the
GSM module. The GSM module sends an sms to a registered receiver alerting that
the house is on fire. After the flame is out of range of the sensor, the buzzer and
LED automatically turns off.
Page | 10
II. Project Procedure
The buzzer
The sensor’s
Testing of 2 The buzzer will buzzed even if
initial state is
sensors, 2 buzz and the there’s no
Flame HIGH wherein
buzzers and 2 LED must be flame and did
our code’s
LED turned on not buzz if
initial state is
there’s a flame
LOW
Page | 11
The GSM The GSM
Activating of The sim is not
Module’s C5 Module’s C5
GSM Module Phone Call properly
and D6 must and D6 did not
Sim900A inserted
blink or it must blink and did
ring if you call it not ring.
Testing of
The GSM The GSM
GSM Module
Module must Module
Sim900A by
Input in Serial initialize and initialized and
switch case Working
monitor the Serial the Serial
and inputting in
Monitor must Monitor
the Serial
show that it is showed that it
Monitor
successful is successful
Testing of
The GSM The GSM The sensor’s
GSM Module
Module must Module initial state is
Sim900A by
Input in Serial initialize and initialized and HIGH wherein
switch case
monitor the Serial the Serial our codes
and inputting in
Monitor must Monitor initial state is
the Serial
show that it is showed that it LOW
Monitor
successful is unsuccessful
Page | 12
blink or it must
ring if you call it
The buzzer
The buzzer
and LED will
and LED The GSM
turn on and the
Testing of the turned on but module is not
Flame GSM module
whole system the GSM connected
will send an
module did not properly.
SMS to the
send a SMS.
registered
number.
Project
Suggestion
☻ ☻ ☻ ☻ ☻ ☻ ☻
Buying of
Components
☻ ☻ ☻ ☻ ☻ ☻ ☻
Buying of
Materials for ☻ ☻ ☻ ☻ ☻ ☻ ☻
Casing
Page | 13
Case Design ☻ ☻ ☻ ☻ ☻ ☻ ☻
Case Making ☻ ☻ ☻ ☻ ☻ ☻ ☻
Coding ☻ ☻
Documentation ☻ ☻ ☻ ☻ ☻ ☻ ☻
V. Bill of Materials
TOTAL
COMPONENTS AND MATERIALS QUANTITY PRICE(Php)
PRICE(Php)
Page | 14
Styrofoam 1 30.00 30.00
VI. Appendices
User Manual
3. Activate the GSM Module Sim900A by calling the number of the sim
4. Place the candle near the sensor at least 10 inch apart from the
prototype.
Data Sheet
1. SIM 900A GSM/GPRS Module
configuration, SIM900A can fit in almost all the space requirements in user
applications, especially for slim and compact demand of design. The module is
accessible via AT commands. The baud rate can be configurable from 9600-
115200 through AT command. The modem need only 3 wires (Tx,Rx,GND) except
Power supply to interface with microcontroller/Host PC. The module has two set
onboard power supply interface for 5V and 3V power supply, optional power on
Page | 15
Features:
Page | 16
Table 5. GSM Module Pin Configuration
KY-026 Flame Sensor Module for Arduino detects infrared light emitted by
fire. The module has both digital and analog outputs and a potentiometer to adjust
Connect the board's analog output (A0) to pin A0 on the Arduino and the
digital output (D0) to pin 3. Connect the power line (+) and ground (G) to 5V and
GND respectively.
3. Buzzer
project/system. It is very small and compact 2-pin structure hence can be easily used
on breadboard, Perf Board and even on PCBs which makes this a widely used
The buzzer can be used by simply powering it using a DC power supply ranging
from 4V to 9V. A simple 9V battery can also be used, but it is recommended to use a
regulated +5V or +6V DC supply. The buzzer is normally associated with a switching
circuit to turn ON or turn OFF the buzzer at required time and require interval.
Specifications:
Rated Voltage: 12V DC
Operating Voltage: 8V DC to 16V DC
Rated Current at Rated Voltage: 30mA
Sound Output at 10cm, at rated voltage: ≥85dB
Resonant Frequency at rated voltage: 2,300 ±300Hz
Operating Temperature: -20°C to +70°C
Figure 9. Buzzer
Storage Temperature: -30°C to +80°C
Weight: 2g
Page | 18
Table 7. Buzzer Pin Configuration
4. LED
These diffused LEDs are perfect for a variety of applications. The diffused
lenses, wide viewing and medium luminous intensity make them ideal for indicators
Technical information:
Forward Voltage: 2.1V
Angle: 60 deg
Luminous intensity: 275 mCd(@20mA)
Max forward current: 25Ma
Lens type: Diffused
Page | 19
5. AC/DC Power Supply Adaptor
solution for your projects that require high power consumption. It is ideal for
supplying Arduino with power when there is no computer nearby. And for
port. This high quality power supply can provide with 5V@2A DC from an AC wall
adapter. Therefore, these will power most projects that don't require more than 2A
of current.
TECHNICAL DETAILS
Dimension: 47mm x 33mm x 33mm (1.9in x 1.3in x 1.3in)
Cable Length: 1.83/72in (5')
Cable Diameter: 3.5mm (0.125in)
Plug type: 5.5mm OD / 2.1mm ID 'coaxial' DC plug
Input: 110V-220V AC
Output: ~5V DC up to 2A
Page | 20
Curriculum Vitae
Page | 21
JERSY AURECRISTY M. ARIOLA
PHILOSOPHY
Happiness is always in our hearts. Love and
forgiveness are always the key to be happy.
DATE OF BIRTH
August 4, 1998
AFFILIATION
AGE
20 years old Junior Institute of Electronics Engineers of the
Philippines (JIECEP)
GENDER University of Batangas Chapter
Female MEMBER
2017 – Present
NATIONALITY
Filipino Institute of Electronics Engineers of the
Philippines (IECEP)
RELIGION Batangas Chapter
Roman Catholic MEMBER
2017 – Present
CIVIL STATUS
Single UB Checkmate
University of Batangas Chapter
WEIGHT President
50 kgs. 2018-2019
HEIGHT
4’10
Page | 22
MERRY LALAINE M. DE LEON
PHILOSOPHY
Differences of habit and language are nothing at all if
our aims are identical and our hearts are open.
DATE OF BIRTH
January 11, 1999 AFFILIATION
Junior Institute of Integrated Electrical Engineers
AGE (JIIEE)
20 years old University of Batangas Chapter
MEMBER
GENDER 2017 – Present
Female
NATIONALITY
Filipino
RELIGION
Roman Catholic
CIVIL STATUS
Single
WEIGHT
50 kgs.
HEIGHT
5’2
Page | 23
PAUL ABNER T. PANOPIO
PHILOSOPHY
Kung sino pa ang nakakaramdam ng pain sila
pa ang nasasaktan.
ADDRESS
Sambat, San Pascual SKILLS AND ABILITIES:
Batangas
Oriented in application such as:
TELEPHONE Microsoft Office Word
09993819082 Microsoft Office PowerPoint
Microsoft Office Excel
E-MAIL Multisim
[email protected] Arduino
Matlab
DATE OF BIRTH
AutoCAD
September 01, 1998
AGE AFFILIATION
20 years old
Junior Institute of Integrated Electrical Engineers
GENDER (JIIEE)
Male University of Batangas Chapter
MEMBER
NATIONALITY 2017 – Present
Filipino
RELIGION
Roman Catholic
CIVIL STATUS
Single
WEIGHT
60 kgs.
HEIGHT
5’7
Page | 24
\
PHILOSOPHY
We’re all living in the same hell just dealing
with different devils
DATE OF BIRTH
June 08, 1999 AFFILIATION
NATIONALITY
Filipino
RELIGION
Roman Catholic
CIVIL STATUS
Single
WEIGHT
50 kgs.
HEIGHT
4’10 Page | 25
MEZAEL B. CASAO JR.
PHILOSOPHY
“I can do all things through Christ who
strengthens me.” - Philippians 4:13
NATIONALITY
Filipino
RELIGION
Roman Catholic
CIVIL STATUS
Single
WEIGHT
50 kgs.
HEIGHT
5’3
Page | 26
CHRISTIAN C. DALISAY
PHILOSOPHY
PM is the key.
DATE OF BIRTH
October 29, 1997
AFFILIATION
AGE
21 years old UNIVERSITY OF BATANGAS CAMERAL
PRESIDENT (2016-2017)
GENDER PROJ. DEVELOPMENT OFFICER(2017-2018)
Male VICE PRESIDENT (2018-2019)
WEIGHT
69 kgs.
HEIGHT
5’7”
Page | 27
AHRYZ R. BRIONES
PHILOSOPHY
A dream without action is just a wish.
DATE OF BIRTH
November 23, 1996
AFFILIATION
AGE
22 years old Junior Institute of Electronics Engineers of the
Philippines (JIECEP)
GENDER University of Batangas Chapter
Male MEMBER
2017 – Present
NATIONALITY
Filipino Institute of Electronics Engineers of the
Philippines (IECEP)
RELIGION Batangas Chapter
Born Again, Christian MEMBER
2017 – Present
CIVIL STATUS
Single
WEIGHT
43 kgs.
HEIGHT
5’1”
Page | 28