Automated Fire Alert and Extinguishing System
Automated Fire Alert and Extinguishing System
AND EXTINGUISHING
SYSTEM
Group Members:
VAIKUNT RAJESH – 18BCM0004
ANUSHKA RANAUT – 18BCM0051
PRIOJIT SARKAR - 18BCM0083
AYUSH SINGH – 18BCM0097
YASHVARDHAN SAROGI – 18BCM0098
ANNIKKA KUMAR - 18BCM0116
Fire Accident will occur very rarely, but once it occurred it consequences will be
devastating. So at any cost fire accidents should be eliminated completely. Through this
project you are going to build for a unique fire protection system for the Homes and
commercial buildings.
PROJECT DESCRIPTION
• We will need NodeMCU to interface the microcontroller with flame sensor,
sprinkler, DC motor and motor driver.
• We will program the microcontroller in such a way that say whenever the
flame sensor detects a fire an email would be triggered to the concerned
authority immediately and also the sprinkler would be turned on.
• Email is triggered via an IOT platform called SMTP2Go. The data collected by
the sensor into the NodeMCU is published on an external cloud service and
continuously observed by the IOT platform. In case of positive response from
the flame sensor, immediately an email is triggered about the fire hazard that
has occurred.
• The sprinkler will be in on position till the flame sensor would detect any
traces of fire present in the surrounding.
• Thereby we can avoid loss of life.
MATERIALS REQUIRED
• NodeMCU ESP8266:
It is an open source IoT platform. It includes firmware which runs on the low
cost Wi-Fi enabled ESP8266 Wi-Fi SoC from Espressif Systems, and
hardware which is based on the ESP-12 module. It has GPIO, SPI, I2C, ADC,
PWM AND UART pins for communication and controlling other peripherals
attached to it. On board NodeMCU has CP2102 IC which provides USB to
TTL functionality. In
this IoT Fire Alarm, we are using one GPIO pin to get the digital data from
the flame sensor.
• Flame Sensor:
Flame sensor is a device which is used to detect the presence of fire in its
surrounding. There are many types of flame sensors available such as Infrared
Flame sensor, Ultraviolet flame sensor etc. In this project we will be
using Infrared Flame Sensor to detect the fire.
Infrared Flame Sensor consists of a photodiode coated with black epoxy which
makes it sensitive to the infrared radiations having wavelength between 700nm
to 1mm and can detect fire up to distance of 100cm within 60 degrees of
angle of detection. This photodiode is based on a three terminal YG1006 NPN
Photo transistor.
• Motor Driver:
Generally the Arduino board is not capable of providing required
amount of current for running the motors. So we use a device called
Motor Driver which will provide sufficient current for driving the motors.
• DC Motors:
A DC motor is a A DC motor is any of a class of rotary electrical motors
that converts direct current electrical energy into mechanical energy. It
would rotate 360 degrees in a particular direction.
• Submersible pump:
A submersible pump will take water from the water tank till the dc
motor sprinkler system.
Configure SMTP2GO to send Email on
Fire Detection
• SMTP (Simple Mail Transfer Protocol) is a platform used to send and receive large number
of emails from remote locations automatically. Due to its fast and reliable service it is mostly
used by developers and marketers to save their time in sending emails in a secured way.
• Its servers and data centres are all around the world which helps it to select the nearest
server and hence provides fastest connection in sending and receiving emails.
• It can be used in IOT projects to send emails automatically when a particular task is
occurred. In this project we will be using SMTP2GO to send emails alerts when fire is
detected by the flame sensor.
Setting up SMTP2Go:
• Go to https://www.smtp2go.com/ and click on Try SMTP2GO Free.
• Fill the details with your name, email id and password and click on
Submit. Then it will redirect to a page where it will ask you to activate
SMTP2GO.
• Go to your mail box and click on the mail received by SMTP2GO. Click
on Activate Account.
• Now enter the username which is your email id and password. A new
page will open with your username. Save these username and password
in a notepad file which will be needed later in Arduino IDE code. Now click
on Settings and then Click on Users. A new page will open with your user
name and SMTP server details. Save the SMTP server and SMTP Port as
these will be used in Arduino code to connect with SMTP server.
Encoding to Base64 Value