Professional Documents
Culture Documents
PROTECTION
WITH SMS
NOTIFICATION
ABSTRACT
The process of detection of forest fire initiates at any of the nodes
planted on a tree inside the forest. The forest has a network of nodes
placed at suitable distances from each other, the nodes have a
capability to communicate through devices ( RF module in our case)
and by using Arduino. If any change above a threshold value is found
in the atmospheric parameters (temperature rise, contamination of
air with smoke, etc.) near a node (source node), the information is
passed to a nearest intermediate node until it reaches to the
main/head terminal. The main/head terminal uses a GSM modem to
pass the information to a cell phone (the forest fire monitoring
centre).
INTRODUCTION
Fire is an undesirable event. Forest fire also known as bush fire or hill fire is an uncontrolled
fire occurring wild or forest areas. It is very important to detect these kinds of fire as early as
possible so as to prevent the damage from it to ecological system. Every year millions of
acres of forest are burnt down. The land where forest is burnt it becomes impossible to
grow vegetation over there. This is because soil becomes water repellant and accepts no
more water, leading to reduction in ground water level. The global warming report 2008
mention forest fire as one of the major cause behind increase in global warming. In recent
year 2016 more than 4000 hectares of forest were burnt in the hills of Uttarakhand. This
shows that these fires cause a great loss to social wealth as well as human life. So there is an
urgent need of the hour to develop a system that could detect and alert the concerned
authorities about the fire as early as possible. The fire alarm system proposed in this paper
integrates the use of affordable instruments, connectivity and wireless communication. The
system has lower power consumption and faster processing ability at a lower cost.
Components Required
1. Arduino Uno
2. LCD
3. GAS Sensor
4. GSM MODULE
5. TEMPERATURE SENSOR LM35
ARDUINO UNO .
Arduino is an open source computer hardware and software company, project,
and user community that designs and manufactures single-board
microcontrollers and microcontroller kits for building digital devices and
interactive objects that can sense and control objects in the physical and digital
world. The project's products are distributed as open-source hardware and
software, which are licensed under the GNU Lesser General Public License
(LGPL) or the GNU General Public License (GPL), permitting the manufacture
of Arduino boards and software distribution by anyone. Arduino boards are
available commercially in preassembled form, or as do-it-yourself (DIY) kits.
Arduino board designs use a variety of microprocessors and controllers. The
boards are equipped with sets of digital and analog input/output (I/O) pins that
may be interfaced to various expansion boards or Breadboards (shields) and
other circuits. The boards feature serial communications interfaces, including
Universal Serial Bus (USB) on some models, which are also used for loading
programs from personal computers. The microcontrollers are typically
programmed using a dialect of features from the programming languages C and
C++. In addition to using traditional compiler toolchains, the Arduino project
provides an integrated development environment (IDE) based on the
Processing language project. The Arduino project started in 2003 as a program
for students at the Interaction Design Institute Ivrea in Ivrea, Italy, aiming to
provide a low-cost and easy way for novices and professionals to create devices
that interact with their environment using sensors and actuators. Common
examples of such devices intended for beginner hobbyists include simple
robots, thermostats, and motion detectors. 11 The name Arduino comes from a
bar in Ivrea, Italy, where some of the founders of the project used to meet. The
bar was named after Arduin of Ivrea, who was the margrave of the March of
Ivrea and King of Italy from 1002 to 1014
Microcontroller: ATmega328
Operating Voltage: 5V
SRAM: 2 KB (ATmega328)
EEPROM: 1 KB (ATmega328)
The Arduino board exposes most of the microcontroller's I/O pins for use by other
circuits. The Diecimila,Duemilanove, and current Uno provide 14 digital I/O pins, six
of which can produce pulse-width modulated signals, and six analog inputs, which can
also be used as six digital I/O pins. These pins are on the top of the board, via female
0.1-inch (2.54 mm) headers. Several plug-in application shields are also commercially
available. The Arduino Nano, and Arduino-compatible Bare Bones Board and
Boarduino boards may provide male header pins on the underside of the board that
can plug into solderless breadboards. Many Arduino-compatible and Arduino-derived
boards exist. Some are functionally equivalent to an Arduino and can be used
interchangeably. Many enhance the basic Arduino by adding output drivers, often for
use in school-level education, to simplify making buggies and small robots. Others are
electrically equivalent but change the form factor, sometimes retaining compatibility
with shields, sometimes not. Some variants use different processors, of varying
compatibility.
IDE .
The Arduino integrated development environment (IDE) is a cross-
platform application (for Windows, macOS, Linux) that is written in the
programming language Java. It originated from the IDE for the
languages Processing and Wiring. It includes a code editor with features
such as text cutting and pasting, searching and replacing text, automatic
indenting, brace matching, and syntax highlighting, and provides simple
one-click mechanisms to compile and upload programs to an Arduino
board. It also contains a message area, a text console, a toolbar with
buttons for common functions and a hierarchy of operation menus. The
source code for the IDE is released under the GNU General Public
License, version 2. The Arduino IDE supports the languages C and C++
using special rules of code structuring. The Arduino IDE supplies a
software library from the Wiring project, which provides many common
input and output procedures. User-written code only requires two basic
functions, for starting the sketch and the main program loop, that are
compiled and linked with a program stub main() into an executable
cyclic executive program with the GNU toolchain, also included with
the IDE distribution. The Arduino IDE employs the program avrdude to
convert the executable code into a text file in hexadecimal encoding that
is loaded into the Arduino board by a loader program in the board's
firmware.
Sketch .
A program written with the Arduino IDE is called a sketch. [58]
Sketches are saved on the development computer as text files with the
file extension .ino. Arduino Software (IDE) pre-1.0 saved sketches with
the extension .pde. 16 A minimal Arduino C/C++ program consist of
only two functions: setup(): This function is called once when a sketch
starts after power-up or reset. It is used to initialize variables, input and
output pin modes, and other libraries needed in the sketch. loop(): After
setup() has been called, function loop() is executed repeatedly in the
main program. It controls the board until the board is powered off or is
reset. Blink example Most Arduino boards contain a light-emitting diode
(LED) and a load resistor connected between pin 13 and ground, which
is a convenient feature for many tests and program functions. A typical
program for a beginning Arduino programmer blinks a LED repeatedly.
This program uses the functions pinMode(), digitalWrite(), and delay(),
which are provided by the internal libraries included in the IDE
environment. This program is usually loaded into a new Arduino board
by the manufacturer.
Arduino Uno Technical Specifications:
Microcontroller ATmesa328P - 8 bit AVR family microcontroller
Operating Voltage 5V
Recommended InputVoltage- 7-12V
Input Voltage Limits 6-20V
Analog Input Pins 5 (A0 - As)
Digital l/O Pins 14 (Out of which 6 provide PWM output)
DC Current on l/O Pins 40 Ma
DC Current on 3.3V Pin 50 Ma
Flash Memory 32 KB (0.5 KB is used for Boot loader)
SRAM 2KB
EEPROM 1KB
Frequency (Clock Speed) 1.6 Hz
This sensor can be calibrated using the potentiometer fitted in the breakout board of Me6 gas
sensor
'The sensor gives an analog output. This is a simple-to-use LpG sensor, suitable for sensing
LPG (composed of mostly propane and butane) concentrations in the air. The Me-6 can
detect gas
concentrations anywhere from 200 to 10000ppm. The sensor's output is an analog resistance.
lnterfacing with the sensor module is done through a 4-pin breadboard compatible Slp header
and
requires one l/o pin from the host microcontrotler. The onboard microcontroller provide
initial heating
interval after power-up and then starts to measure LPG sensor output. lf it found the LpG
concentration above preset value, it will inform the Host controller by pulling the output pin
to High
and Starts to blink onboard LED. The sensor module is mainly intended to provide a means
of
comparing LPG sources and being able to set an alarm limit when the source becomes
excessive.
SPECIFICATION
price, availability and programmer friendly. Most of us would have come across these
displays in our
day to day life, either at pCO's or calculators. The appearance and the pin outs have already
been
visualized above now let us get a bit technical. A liquid crystal display or LCD draws its
definition from
its name itself. lt is combination of two states of matter, the solid and the liquid. LCD uses a
liquid
crystal to produce a visible image. Liquid crystal displays are super-thin technology display
screen that
are generally used in laptop computer screen, TVs, cell phones and portable video games.
LCD's
technologies allow displays to be much thinner when compared to cathode ray tube (cRT)
technology'
L6x2 LCD consists of 16 Columns and 2 Rows. There are a lot of combinations available
like, $xt,8x2,
L1xz,16x1 in market . t6x2 LCD is the most popular among them. lt can accumulate
maximum (16x2=32J. 32
characters in total and each character will be made of 5x8 Pixel Dots.
PIN CONFIGURATION:
2 Vdd (+5 Volt) Powers the LCD with +5V (4.7V - 5.3V)
3 VE (Contrast V)
contrast.
register
5 Read/Write used to read or write data. Normally grounded to write data to LCD
Enable
data acknowledgement
Data Pin 0
These LCD's can also operate on 4-bit mode in such case Dpta pin
8 Data Pin 1
9 Data Pin 2
10 Data Pin 3
11 Data Pin 4
12 Data Pin 5
13 Data Pin 5
14 Data Pin 7
FEATURES :
WORKING EXPLANATION :
Here we have used a prefix in command string that is “#A.”. This prefix is
used to identify that the main command is coming next to it and * at the end
of string indicates that message has been ended.
When we send SMS to GSM module by Mobile, then GSM receives that
SMS and sends it to Arduino. Now Arduino reads this SMS and extract
main command from the received string and stores in a variable. After this,
Arduino compare this string with predefined string. If match occurred then
Arduino sends signal to relay via relay driver for turning ON and OFF the
home appliances. And relative result also prints on 16x2 LCD by using
appropriate commands.
Here in this project we have used 3 zero watt bulb for demonstration which
indicates Fan, Light and TV.
Below is the list of messages which we send via SMS, to turn On and Off
the Fan, Light .
GSM Module :
GSM module is used in many communication devices which are based on
GSM (Global System for Mobile Communications) technology. It is used to
interact with GSM network using a computer. GSM module only
understands AT commands, and can respond accordingly. The most basic
command is “AT”, if GSM respond OK then it is working good otherwise it
respond with “ERROR”. There are various AT commands like ATA for
answer a call, ATD to dial a call, AT+CMGR to read the message,
AT+CMGS to send the sms etc. AT commands should be followed by
Carriage return i.e. \r (0D in hex), like “AT+CMGS\r”. We can use GSM
module using these commands:
ATE0 - For echo off
AT+CNMI=2,2,0,0,0 <ENTER> - Auto opened message Receiving. (No
need to open message)
ATD<Mobile Number>; <ENTER> - making a call (ATD+919610126059;\
r\n)
AT+CMGF=1 <ENTER> - Selecting Text mode
AT+CMGS=”Mobile Number” <ENTER> - Assigning recipient’s mobile
number
>>Now we can write our message
>>After writing message
Ctrl+Z send message command (26 in decimal).
ENTER=0x0d in HEX
The SIM900A is a complete Quad-band GSM/GPRS Module which delivers
GSM/GPRS 850/900/1800/1900MHz performance for voice, SMS and Data
with low power consumption.
LM35
The sensor unit can communicate effectively with low-cost processors without
the need of A/D converters. An example for a temperature sensor is LM35.
The LM35series are precision integrated-circuit temperature sensors, whose
output voltage is linearly proportional to the Celsius temperature.
Description
LM35
ARDUINO
UNO
POWER
LCD SUPPLY
APPLICATIONS
SMS based Fire detection system using Smoke and Temperature sensor has
applications in many areas like Industries, Companies, Offices, Shopping malls
and even at our home. This project has a Smoke sensor and a temperature
sensor to detect the fire. The fire detection system sends SMS to the user
when anyone these sensor crosses threshold value. We have provided a Buzzer
which turns on when SMS is sent to the user.
References
[1]Project report by Arito atArduino.comhttps://create.arduino.cc/projecthub/Aritro
/smoke-detection-using-mq-2-gas-sensor-79c54a
[3]Muhammad Salihin Ahmad Azmil, Norsuzila Ya’acob,Khairul Nizam Tahar, Suzi Seroja
Sarnin “Wireless Fire Detection Monitoring Systemfor Fire and Rescue Application” 2015
IEEE 11th International Colloquium on Signal Processing & its Applications (CSPA2015), 6-8
Mac. 2015, Kuala Lumpur, Malaysia.
[4]Bharathkumar. v, Irshad.SM, Gowtham.S , R. Geethamani “Microcontroller based Digital
Meter with Alert System using GSM” 2017 11 th International Conference on Intelligent
Systems and Control (ISCO)
[5]T.H. Mujawar, V.D. Bachuwar, A. D. Shaligram, L.P. Deshmukh “Wireless sensor network
system: gas leakage detection and monitoring”, International Journal of Current Research, 7
(2015)18445- 18450