Forest Fire Prediction System Modified
Forest Fire Prediction System Modified
Saptarshi Pramanik Sambit Chanda (Prof.) Dr. Suparna Biswas Shibam Sanyal
Electronics and Communication Electronics and Communication Electronics and Communication Electronics and Communication
Engg. Engg. Engg. Engg.
Guru Nanak Institute of Guru Nanak Institute of Guru Nanak Institute of Guru Nanak Institute of
Technology Technology Technology Technology
Sodepur, India Sodepur, India Sodepur, India Sodepur, India
[email protected] [email protected] [email protected] [email protected]
The system uses a temperature sensor and a DHT When thousands of farmers do this simultaneously, much
11 humidity sensor interfaced with Node MCU to of a continent can appear from orbit to be one vast blaze. Coal
detect temperature and humidity changes seam fires burn in the thousands around the world, such as those
indicative of a fire. The sensor data is uploaded in Burning Mountain, New South Wales; Centralia,
and an analysis is conducted based on threshold Pennsylvania; and several coal-sustained fires in China. They
can also flare up unexpectedly and ignite nearby flammable
values to detect a potential fire. material.
These models, which are based on the forest Economic growth in modern industrialized societies has
structure GIS (geographical information system), resulted in factories, complex office buildings, and dense
are used to predict wildfire potential under apartment blocks located in metropolitan areas. Associated gas
various climate futures. Maps are created to stations and oil reservoirs, which are all vulnerable to fire due
to the flammable substances they house, are also found in these
identify areas more susceptible to wildfires, areas. When a fire occurs in such places, firefighting is hindered
enabling targeted management to reduce wildfire by the mazes of crowded buildings, high temperatures, smoke,
chances. and the danger of explosions Current firefighting systems are
based on humans using deluge guns and chemical fire
Keywords—Forest fire prediction, IoT based system, neural repression systems. However, in environments where humans
networks, logistic regression, decision trees, forest structure GIS, cannot work effectively, it is desirable to extinguish a fire
climate futures, SPIN protocol, Tiny OS, remote sensing, emergency quickly using fire-fighting robots. Recently, in order to cope
plan. with catastrophic fire related accidents, research on fire-
fighting robots has advanced in many countries [1].
I. INTRODUCTION
II. LITERATURE SURVEY
The Forest Fire bush or vegetation fire, can be described as
any uncontrolled and non-prescribed combustion or burning of
plants in a natural setting such as a forest, grassland, brush land This comprehensive survey explores machine learning
or tundra, which consumes the natural fuels and spreads based algorithms for forest fire prediction and detection. It covers
various methods and systems, including those based on neural
In the project of Forest Fire Prediction, we are willing to alert B. Node MCU
the people who are surrounded by the forest that they should The Node MCU is an open-source firmware and prototyping
leave the place as soon as possible. By our project we can also board design. The name "Node MCU" is a combination of
predict the fire in the forest. Thus, we can save the human's life "node" and "MCU" (micro-controller unit), and it specifically
as well as the animal’s life who lives in the forest. By automating refers to the firmware, not the development kits. Both the
the process, becomes more accurate, cost effective and firmware and the board designs are open source.
predictable. The use of this project will help us to make sure that
the people around the forest are safe. The firmware is built on the Eula project using the
Expressive Non-OS SDK for ESP8266, and it uses the Lua
In environments where humans cannot work effectively, it is scripting language. It includes various open-source projects,
desirable to extinguish a fire quickly using fire-fighting robots. such as leucosin and SPIFFS.
Recently, in order to cope with catastrophic fire related
accidents, research on fire-fighting robots has advanced in many For prototyping, a circuit board in a dual in-line package
countries [1]. (DIP) format is typically used. This board combines a USB
controller with a smaller surface-mounted board that houses the
IV. COMPONENTS USED MCU and antenna. The DIP format makes prototyping on
Certain components are used to make this setup successful. breadboards easy. The design, initially based on the ESP-12
module of the ESP8266, features a Wi-Fi System-on-Chip
A. Breadboard (SoC) integrated with a Ten silica Extensa LX106 core, which
The A breadboard, also known as a protoboard, is a platform is commonly used in IoT applications [6].
used for building prototypes of electronic circuits. The term
originally referred to a wooden board used for cutting bread.
However, in the 1970s, the solderless breadboard was
introduced, and it has since become the standard for reusable
prototyping platforms. Unlike traditional methods that require
soldering, solderless breadboards allow for the easy assembly of
Identify applicable funding agency here. If none, delete this text box.
conductivity. These sensors find applications in agriculture and
remote sensing within hydrology. They help monitor soil
moisture [6].
C. IC (74 HC CD4052)
The CD4052 is a versatile IC used for electronic circuit Figure 4. Soil Moisture Sensor
design. It can function as a 4:1 multiplexer (MUX), taking
inputs from four channels and converting them to a single E. Temperature and Humidity Sensor (DHT 11)
output, or as a 1:4 demultiplexer (DEMUX), taking one input The DHT-11 Digital Temperature and Humidity Sensor is
and providing it to one of four output channels. The selection an affordable and straightforward device. It combines a
of output depends on the settings of pins A and B. This IC can capacitive humidity sensor and a thermistor to measure air
handle both analog and digital voltages, making it suitable for conditions. The sensor provides a digital output on its data pin,
various applications [6]. eliminating the need for analog input pins. However, it’s
essential to time data retrieval carefully since new data is
available only every 2 seconds. Compared to the DHT22, the
DHT-11 is less precise, less accurate, and has a narrower
temperature/humidity range. Despite these drawbacks, it
remains a cost-effective choice for temperature and humidity
measurements [6].
G. Jumper Wires
A jumper wire, also known as a DuPont wire, is an electrical
cable or group of wires with connectors or pins at each end.
These wires are commonly used to interconnect components on
a breadboard or other prototype circuits without soldering. By
bundling the wires into a non-flexing arrangement, space is
optimized, and the risk of short circuits is minimized.
Connected to Wi-Fi
Connect to google
app-script server
Connect to
server
XII. ALGORITHM
IX. CIRCUIT DIAGRAM To understand the algorithm or functioning of the device
we need some mappings or keywords first –
• St – Start.
• E – End.
• Io1 – Input/Output: Define libraries, constants, pins,
variables).
• Io2 - Input/Output: Initialize serial communication at
9600 baud rate.
• Io3 – Input/Output: Connect to Wi-Fi network using
SSID and password.
• Op1 – Operation: Wait until Wi-Fi is connected.
• Io4 – Input/Output: Print Wi-Fi is connected.
• Op2 – Operation: Set client into insecure mode.
• Op3 – Operation: Set pin modes for sensors and
multiplexer.
• Op4 – Operation: Set multiplexer to select soil
Figure 9. Circuit Diagram moisture sensor.
• Op5 – Operation: Initialize DHT 11 sensor.
• Op6 – Operation: Check if last update time is greater
than equals to interval.
• Op7 – Operation: Read analog value from soil XIII. RESULT ANALYSIS
moisture sensor and convert to percentage.
• Op8 – Operation: Set multiplexer to select LDR.
• Op9 – Operation: Read analog value from LDR.
• Op10 – Operation: Read humidity and temperature
values from DHT 11 sensor in both Celsius and
Fahrenheit values.
• Op11 – Operation: Call send-data function.
• Op12 – Operation: Reset last update time to zero.
• Op13 – Operation: Wait for 1000 ms.
• Op14 – Operation: Increment last update time by 1000
ms.
• Op15 – Operation: Check if client can connect to host
and port.
• Io5 - Input/Output: Print host is connected.
• Op16 – Operation: Construct query string with data
value as parameters. Figure 11. Graph of the values collected from sensors
• Op17 – Operation: Send GET request to web app
using path and query string. The following values collected from the sensors (in real-
• Io6 - Input/Output: Print data is sent along with query time) are stored in google app-script server in google excel
string. sheets and based on those data, the following upper mentioned
• Io7 - Input/Output: Print error in connecting the host. graphs are plotted automatically.
• Cond1 – Condition: Wi-Fi connected?
• Cond2 – Condition: Check if last update time is • Temperature sensor graph – The temperature sensor
greater than equals to interval? graph will show a spike when there is sudden rise in
the surrounding temperature. Here the temperature is
• Cond3 – Condition: Client connected to host?
normal that is why there is a straight base-line. While
forest fire as the surrounding temperature will rise
Following is the path-flow on which the algorithm will
suddenly above its threshold it will indicate a situation
work.
of forest fire.
Op1 (no)
St
• Humidity sensor graph – In the humidity sensor graph
Io1 Io2 Io3 Op1 Op1 (yes) Io4 here we see a sudden dip. This is because when there
is a fire in the surrounding there will be sudden dip the
humidity of the surroundings below the normal
Op6 Op5 Op4 Op3 Op2 humidity level.