Arduino Based Fire Detection and Control System 12345
Arduino Based Fire Detection and Control System 12345
CONTROL SYSTEM
A project report submitted in partial fulfilment of the requirements for award of the Degree of
BACHELOR OF TECHNOLOGY
In
ELECTRONICS AND COMMUNICATION ENGINEERING
IS A BONAFIED RECORD OF WORK DONE BY
CH DEEPIKA 20KP1A0420
CH ARUN KUMAR 20KP1A0421
G B SURYA SAI 21KP5A0403
D SANDIP 20KP1A0423
2021-2024
NRI INSTITUTE OF TECHNOLOGY
(Approved by AICTE, Affiliated to JNTU, KAKINADA)
VISADALA (P.O.), MEDIKONDURU MANDAL, GUNTUR ANDHRA
PRADESH.
CERTIFICATE
This is to certify that the project report entitled “ ARDUINO BASED FIRE
DETECTION AND CONTROL SYSTEM ” is a bonafide record of work carried out
by the members CH.DEEPIKA (20KP1A0420), CH .ARUN KUMAR (20KP1A0421),
G.B SURYA SAI (21KP5A0403), D.SANDIP (20KP1A0423) who carried out the
research under the super vision .Certified further ,that to the best of knowledge the work
reported here in does not form part of any other Project report or dissertation on the basis
of which a degree of award was conferred on an earlier occasion on this or any other
candidates. This work is done under the supervision and guidance.
External examiner
ACKNOWLEDGEMENT
Our heartfelt thanks to beloved HOD of our department Dr. K. SRIHARI RAO
for his motivation, care and valuable guidance at every step of our project work and in every
aspect for our success.
We thank wholeheartedly our project coordinators Dr. Kalaiselvan, Professor
and Dr. B Saidaiah, Professor For their special care towards completion of our project in
smooth manner.
It’s our pleasure to thank all the faculty members of ECE department for
extending their constant co-operation and support during our stay in NRIIT.
Our heartiest thanks to our beloved parents who are well behind us for all our
success as well as achievements.
Finally, we thank all our friends who helped either directly or indirectly to achieve our
GOAL.
CH. DEEPIKA 20KP1A0420
D. SANDIP 20KP1A0423
DECLARATION
We hereby declare that the work which is being presented in the Dissertation
Entitled “ARDUINO BASED FIRE DETECTION AND CONTROL SYSTEM”
submitted towards the partial fulfilment of requirements for the award of the degree in
Bachelor of Technology and authentic record in Department of Electronics and
Communication Engineering at NRI Institute of Technology, Guntur.
The matter embodied in this dissertation report has not been submitted by us
for the award of any other degree. Further the technical details furnished in the various
chapters in this report are purely relevant to the above project and there is no deviation
from the theoretical point of view for design, development and implementation.
PROJECT MEMBERS
D. SANDIP 20KP1A0423
NRI INSTITUTE OF TECHNOLOGY
(Approved by AICTE, Approved by JNTU, Kakinada)
Visdala (P.O), Medikonduru (M), Guntur-522438, Andhra Pradesh
INSTITUTE VISION:
To become reputed institution of Engineering & Management programs, producing
competitive, ethical & socially responsible professionals.
INSTITUTE MISSION:
IM1: Provide quality education through best teaching and learning practices of committed
staff.
IM2: Establish a continuous interaction, participation and collaboration with industry to provide
solutions.
IM3: Provide the facilities that motivate/encourage faculty and students in research and
development activities.
IM4: Develop human values, professional ethics, and interpersonal skills amongst the
individuals.
DEPARTMENT VISION:
To become a centre of excellence by bringing out the professional competence in the core
areas of electronics and communication engineering.
DEPARTMENT MISSION:
DM1: To provide conducive environment that impart electronics & communication knowledge
through quality teaching and self-learning.
.
DM2: To serve the needs of electronics, telecommunication and allied industries through
industry interaction.
DM3: To encourage innovative thinking, continuous learning among the stakeholders and
creates new techniques in IOT & VLSI.
DM5: To Inculcate human values and ethics to make learners sensitive towards social issues.
PEO1: Graduates with competences in the area of electronics and communication engineering.
PEO2: Graduates with continuous learning ability in hardware and software system.
PEO3: Graduates with successful career in industry, research with technical and interpersonal
skills.
PEO4: Graduates with professional and ethical values.
PEO5: Graduate shall contribute to organizational goals with individual and teamwork.
PSO2: Problem-solving skills: Apply the principles of analog, digital and signal processing
systems for consumer electronics, medical and radar systems.
PSO3: Software usage: Use VHDL, MATLAB, MULTISIM, and MENTOR GRAPHICS to
design integrated circuits and analyse signals.
SIGNATURE OF HOD
NRI INSTITUTE OF TECHNOLOGY
5. Modern tool usage: Create, select, and apply appropriate techniques, resources,
and modern engineering and IT tools including prediction and modelling to complex
engineering activities with an understanding of the limitations.
12. Life-long learning: Recognize the need for, and have the preparation and ability
to engage in independent and life-long learning in the broadest context of technological
change.
CONTENTS
DESCRIPTION PAGE NO
ABSTRACT i
LIST OF FIGURES ii
CHAPTER – 1 INTRODUCTION TO EMBEDDED SYSTEMS 1-6
1.1 INTRODUCTION 2
1.2 EMBEDDED SYSTEMS 2
1.3 MICROPROCESSOR (MP) 3-4
1.4 MICROCONTROLLER (MC) 4
1.5 COMPARISSION B/W MP AND MC 5-6
1.5.1 PERIPHERALS 5
1.5.2 TOOLS 6
CHAPTER - 2 OVERVIEW OF THE PROJECT 7-12
2.1 INTRODUCTION 8-9
2.2 EXISTING SYSTEM 9-10
2.3 PROPOSED SYSTEM 10-12
2.3.1 BLOCK DIAGRAM OF PROPOSED SYSTEM 10
2.3.2 CIRCUIT DIAGRAM 11-12
2.3.3 HARDWARE COMPONENTS 12
2.3.4 SOFTWARE COMPONENTS 12
2.3.5 TECHNOLOGY USED 12
CHAPTER – 3 LITERATURE REVIEW 13-15
3.1 FIRE EXTINGUISHING SYSTEMS 14
3.2 FIXED GAS FIRE EXTINGUISHING SYSTEMS 14
3.3 FIXED WATER EXTINGUISHING SYSTEMS 14-15
3.4 PORTABLE FIRE EXTINGUISHER 15
CHAPTER – 4 WSN TECHNOLOGY 16-26
4.1 INTRODUCTION 17-18
4.1.1 BACKGROUND OF SENSOR NETWORK 18-22
TECHNOLOGY
4.2 APPLICATIONS OF SENSOR NETWORKS 22-23
4.3 SENSOR NODE TECHNOLOGY 23-24
4.4 DATA DISSCMINATION AND GATHERING 25
4.5 OPERATING SYSTEM 25-26
CHAPTER – 5 HARDWARE IMPLEMENTATION 27-29
5.1 HARDWARE COMPONENTS 28
5.2 POWER SUPPLY 28
5.2.1 TRANSFORMER 28-29
5.2.2 RECTIFIER 29
5.2.3 FILTERS 29
5.3 ARDUINO NANO (AT MAGA 328P) 29-32
5.3.1 INTRODUCTION ARDUINO NANO U3 30
5.3.2 ARDUINO NANO PIN OUT 31-32
5.4 FIRE SENSOR 32-34
5.4.1 SPECIFICATIONS 33-34
5.5 GSM 34-39
5.5.1 DEFINITION OF GSM 34
5.5.2 HISTORY TO GSM 35
5.5.3 GSM SERVICE 35
5.5.4 BREAD BOARD DATA SERVICES 35
5.5.5 SUPPLEMENTARY SERVICE 36
5.5.6 OPERATION OF GSM 36
5.5.7 CHARACTERISTICS OF GSM STANDARD 37
5.5.8 ADVANTAGES OF GSM OVER ANALOG SYSTEM 37-38
5.6 LCD (LIQUID CRYSTAL DISPLAY) 38-39
5.6.1 FUNDAMENTALS OF LIQUID CRYSTAL DISPLAYS 38-39
5.7 BUZZERS 39
5.8 RELAY 39-42
5.8.1 RELAY CONTACT TYPES 41
5.8.2 TYPES OF RELAYS 42
5.9 WATER PUMP 42-44
5.9.1 OPERATING PRINCIPLE 42-43
5.9.2 STATOR 44
5.9.3 ROTOR 44
CHAPTER – 6 SOFTWARE 45-51
6.1 PROTEUS 50-51
6.3.1 INTRODUCTION 50-51
CHAPTER – 7 RESULT & DISCUSSION 52-54
7.1 RESULTS 53
7.2 ADVANTAGES AND APPLICATIONS 54
CHAPTER – 8 CONCLUSION & FUTURE SCOPE 55-56
8.1 COCLUSION 56
8.2 FUTURE SCOPE 56
REFERANCE 57-58
APPENDIX 59-64
ABSTRACT
Fire accidents pose a significant threat to life and property. Hence, there is
an urgent need for efficient fire detection and control systems. This paper presents an
Arduino based fire detection and control system designed to detect fires in their early
stages and initiate prompt actions to mitigate their impact. The system integrates
sensors, actuators, and a microcontroller to detect the presence of fire, alert the
occupants, and activate firefighting mechanisms. The core component of the system is
an Arduino microcontroller, programmed to receive inputs from various sensors
including temperature, smoke, and flame sensors. These sensors continuously monitor
the environment for any signs of fire. Upon detecting abnormal changes in temperature
or the presence of smoke or flames, the microcontroller triggers appropriate responses.
In the event of a fire detection, the system activates alarms such as buzzers or sirens to
alert the occupants, enabling swift evacuation. Simultaneously, it triggers actuators
connected to firefighting equipment such as water sprinklers or fire extinguishers to
suppress the fire and prevent its escalation. The system's design ensures real- time
monitoring and rapid response to fire emergencies, enhancing safety measures in
residential, commercial, and industrial settings. Furthermore, the use of Arduino-based
technology makes the system cost-effective, scalable, and easily customizable to suit
specific requirements. Overall, the proposed Arduino-based fire detection and control
system offers an effective solution to mitigate the risks associated with fire accidents,
thereby safeguarding lives and property.
i
LIST OF FIGURES
ii
ARDUINO BASED F I R E DETECTION AND CONTROL SYSTEM
CHAPTER 1
1.1 INTRODUCTION
Physically, embedded systems range from portable devices such as digital watches
and MP3 players, to large stationary installations like traffic lights, factory controllers, or
the systems controlling nuclear power plants. Complexity varies from low, with a single
microcontroller chip, to very high with multiple units, peripherals and networks mounted
inside a large chassis or enclosure
In general, "embedded system" is not an exactly defined term, as many systems
have some element of programmability. For example, Handheld computers share some
elements with embedded systems such as the operating systems and microprocessors
which power them but are not truly embedded systems, because they allow different
applications to be loaded and peripherals to be connected. Embedded systems spanall
aspects of modern life and there are many examples of their use. Telecommunications
systems employ numerous embedded systems from telephone switches for the network
and network bridges to route data.
CHARACTERISTICS
Ser
ial
CPU RAM ROM I/O Port Timer COM
General
MICROCON
TROLLERS
(MC)-
Purpose
Such computer systems are small but have enough computing power to perform
many business, industrial, and scientific tasks. The microprocessor also permitted the
development of so-called intelligent terminals, such point-of-sale terminals employed in
retail stores.
Fig1.2 Microcontroller
1.5.1 PERIPHERALS
• Embedded Systems talk with the outside world via peripherals such as Serial
Communication Interfaces(SCI):RS-232,RS-422,RS-485etc
• Synchronous-SerialCommunicationInterface:I2C,JTAG,SPI,SSC-and-ESSI
Universal Serial Bus (USB)
• Networks : Ethernet, Controller Area Network ,LAN networks, etc
• Timers : PLL(s),Capture/Compare and Time Processing Units Discrete
• IO: aka General Purpose Input/output(GPIO)
• Analog to Digital/Digital to Analog (ADC/DAC)
1.5.2 TOOLS
As for other software, embedded system designers use compilers, assemblers, and
debuggers to develop embedded system software. However, they may also use some more
specific tools.
Utilities to add a check sum or CRC to a program, so the embedded system can
check if the program is valid. For systems using digital signal processing, developers may
use a math workbench such as MATLAB, Simulink, Mathcad, or Mathematica to simulate
the mathematics. They might also use libraries for both the host and target which
eliminates developing DSP routines as done in DSP nano RTOS and Unison Operating
System.
Custom compilers and linkers may be used to improve optimization for the particular
hardware.
An embedded system may have its own special language or design tool, or add
enhancements to an existing language such as Forth or Basic. Another alternative is to
add a Real-time operating system or Embedded operating system, which may have DSP.
CHAPTER 2
2.1 INTRODUCTION
The fire hazards bring great problems in the domestic as well as working places.
The flames occurred due to short circuits and various fire accidents in the house and at
work places. The leakage of the gas causes fire and destructible impact to the lives and as
well as to the heritage of the people. So, by keeping it in the concept of the project we
have determined to develop an examining system which detects fire and protects the work
places by taken correct precaution at correct time. This system provides the information
such as fire, sensors of in the project are used to notice the fire and immediately turns ON
the buzzer for the danger indication. Buzzer is a clear indication of fire detection. By the
detection of the fire the alerting message reached to the person who has control over it
from the GSM. Detection of the fire is important and halting is important equally. The
main objective of this project is that it is extremely accurate with a least cost, this project
system is best to detect fire and also warn people around by buzzer beep sound and an
SMS is been send to the responsible person for preparatory safety calculations and it also
respond quickly and turn on the water motor to minimize the damage.
According to ABS-CBN news 2017 that from January to June last 2017, the BFP
has recorded a total of 2,522 fire incidents. It was traced that LPG is one of the major
causes of fire during that year where half of the total which is 1,253 beside from the
electrical causes. " More than the lifetime Arduino has been a reason that thousands of
projects from everyday bodies to complicated scientific mechanism. Worldwide societies
of scholars, performers, programmers, and specialists have assembled around this
opensource program. Their knowledge about the said matter contributions a lot to help
the society in this subject area. The project entitled fire alarm with water sprinkler and
SMS alert will be a great help in terms of preventing any danger caused by fire accidents.
The purpose of this project is to detect the fire as a part of a safety system. Apart from
sound alarm, an SMS alert will inform the authorized person and the water motor should
be turned on to minimize the damage. Descriptively, we use a fire sensor to monitor the
fire. This proposed project will trigger the sound alarm. In addition, the authorized person
will be informed about the detection via SMS alert and the water motor will be
automatically turned on. The people can be saved from a potential explosion caused by
fire accidents.
But it may lead to major fire incidents when LPG is leaked and both material damage
and human injury or death occur, which are growing day by day for so many reasons. From
0.72% of all kitchen accidents, LPG gas leaks have risen to 10.74% of all kitchen accidents.
prevent fire accidents and to provide house protection to create an alert warning system based
on the Global System for Mobile (GSM) network. The presence of fires can be detected using
it. "The sensors used in the circuit will detect that it turns on the buzzer whenever fire detects,
and at this time the GSM modem will send an SMS alert and also call to be sent to owner to
the mobile user not that the gas has been Fire Detected in your home please immediately take
action! which provides notification in real-time. This device can be mounted in kitchens,
storage rooms parking garages industries for fire detection, factories, or any place that is
considered appropriate.
put on the electrical systems, there is always a chance that they may overload, for
example, which could start an electrical fire that quickly spreads across the factory. The
Existing system does not respond quickly.
POWER
SUPPLY LCD
FIRE ARDUINO
RELAY MOTOR
SENSOR NANO
GSM BUZZER
connected to 12th pin ; Vcc connected to 5V power supply; ground is grounded. GSM to
Arduino: Receiver pin is connected to transmitter pin ; Transmitter pin is connected to
receiver pin. Lcd to Arduino D7 pin connected to 5thpin ; D6 pin connected to 4th pin of
Arduino; D5 pin connected to 3rd pin; D4 pin connected to 2nd pin; EN pin connected to
6th pin; RS pin connected to 7th pin; 5v pin connected to 5v power supply.
CHAPTER 3
LITERATURE REVIEW
Throughout the development of our project, we were able to review some projects,
Journals, Articles and books which are related to the title of our project. We believe that
all the reviewed materials have been a good asset for the overall design and development
of the project we have chosen. In this section some of the related projects we have
reviewed are discussed.
the fire, and therefore, a reduction in the amount of with a reduction of the radiant heat
received at the fuel surface and the additional cooling of the fuel surface by direct
contact with the water droplets, there is a reduction in the amount of combustible gases
released. With sufficient cooling of the flame temperature and/or the fuel, the rate of
pyrolysis or vaporization of combustible vapors will be reduced to a point which
combustion will no longer be self-supporting. Water chemical reaction, displaces the air
that supplies oxygen for the combustion process and results in a smothering of the fire.
Fixed water extinguishing systems are normally considered to include water spray,
water sprinkler
system piping and then into the foam proportional. The foam solution produced by water
and foam concentrate flows into the system piping and is discharged through the open
nozzles or sprinklers
CHAPTER 4
WSN TECHNOLOGY
4.1 INTRODUCTION
A sensor network is an infrastructure comprised of sensing (measuring),
computing, and communication elements that gives an administrator the ability to
instrument, observe, and react to events and phenomena in a specified environment. The
administrator typically is a civil, governmental, commercial, or industrial entity. The
environment can be the physical world, a biological system, or an information technology
(IT) framework. Network(ed) sensor systems are seen by observers as an important
technology that will experience major deployment in the next few years for a plethora of
applications, not the least being national security. Typical applications include, but are
not limited to, data collection, monitoring, surveillance, and medical telemetry. In
addition to sensing, one is often also interested in control and activation.
There are four basic components in a sensor network:
1. An assembly of distributed or localized sensors;
2. An interconnecting network (usually, but not always, wireless-based);
3. A central point of information clustering; and
4. A set of computing resources at the central point (or beyond) to handle data
correlation, event trending, status querying, and data mining.
In this context, the sensing and computation nodes are considered part of the
sensor network; in fact, some of the computing may be done in the network itself.
Because of the potentially large quantity of data collected, algorithmic methods for data
management play an important role in sensor networks. The computation and
communication infrastructure associated with sensor networks is often specific to this
environment and rooted in the device and application-based nature of these networks.
For example, unlike most other settings, in-network processing is desirable in sensor
networks; furthermore, node power (and/or battery life) is a key design consideration.
The information collected is typically parametric in nature, but with the emergence of
low-bit-rate video [e.g., Moving Pictures Expert Group 4 (MPEG-4)] and imaging
algorithms, some systems also support these types of media.
In this book we provide an exposition of the fundamental aspects of wireless
sensor networks (WSNs). We cover wireless sensor network technology, applications,
communication techniques, networking protocols, middleware, security, and system
management. There already is an extensive bibliography of research on this topic; the
NRIIT ELECTRONICS AND COMMUNICATION ENGINEERING 17
ARDUINO BASED F I R E DETECTION AND CONTROL SYSTEM
reader may wish, for example, to consult [1.4] for an up-to date list. We seek to
systematize the extensive paper and conference literature that has evolved in the past
decade or so into a cohesive treatment of the topic. The book is targeted to
communications developers, managers, and practitioners who seek to understand the
benefits of this new technology and plan for its use and deployment.
Nanoscopic (also known as nanoscale) refers to objects or devices on the order of 1 to 100
nm in diameter; mesoscopic scale refers to objects between 100 and 10,000 nm in diameter;
the microscopic scale ranges from 10 to 1000 mm, and the macroscopic scale is at the
millimetre-to-meter range. At the low end of the scale, one finds, among others, biological
sensors, small passive microsensors (such as Smart Dust4), and ‘‘lab-on-a-chip’’ assemblies.
At the other end of the scale, one finds platforms such as, but not limited to, identity tags,
toll collection devices, controllable weather data collection sensors, bioterrorism sensors,
radars, and undersea submarine traffic sensors based on sonars.5 Some refer to the latest
generation of sensors, especially the miniaturized sensors that are directly embedded in some
physical infrastructure, as microsensors. A sensor network supports any type of generic
sensor; more narrowly, networked microsensors are a subset of the general family of sensor
networks Microsensors with onboard processing and wireless interfaces can be utilized to
study and monitor a variety of phenomena and environments at close proximity.
Sensors can be simple point elements or can be multipoint detection arrays.
Typically, nodes are equipped with one or more application-specific sensors and with
onnode signal processing capabilities for extraction and manipulation (pre-processing) of
physical environment information. Embedded network sensing refers to the synergistic
incorporation of microsensors in structures or environments; embedded sensing enables
spatially and temporally dense monitoring of the system under consideration (e.g., an
environment, a building, a battlefield). Sensors may be passive and/or be self-powered;
farther down the power-consumption chain, some sensors may require relatively low
power from a battery or line feed. At the high end of the power- consumption chain, some
sensors may require very high-power feeds (e.g., for radars).
Sensors facilitate the instrumenting and controlling of factories, offices, homes,
vehicles, cities, and the ambiance, especially as commercial off-the-shelf technology
becomes available. With sensor network technology (specifically, with embedded
networked sensing), ships, aircraft, and buildings can ‘‘self-detect’’ structural faults (e.g.,
fatigue-induced cracks). Places of public assembly can be instrumented to detect airborne
agents such as toxins and to trace the source of the contamination should any be present
(this can also be done for ground and underground situations). Earthquake- oriented
sensors in buildings can locate potential survivors and can help assess structural damage;
tsunami-alerting sensors are useful for nations with extensive coastlines. Sensors also find
extensive applicability on the battlefield for reconnaissance and surveillance.
Total e ort
Engineering/
R&Deffort Implement t ef t
monitoring. More recently, interest has focused on networked biological and chemical
sensors for national security applications; furthermore, evolving interest extends to direct
consumer applications. Existing and potential applications of sensor networks include,
among others, military sensing, physical security, air traffic control, traffic surveillance,
video surveillance, industrial and manufacturing automation, process control, inventory
management, distributed robotics, weather sensing, environment monitoring, national
border monitoring, and building and structures monitoring.
A short list of applications follows :
• Military applications Monitoring inimical forces
• Monitoring friendly forcesand equipment Military- the ater or battle field surveillance
Targeting
• Battle damage assessment
• Environmental applications
• Microclimates
• Forest fire detection
• Flood detection Precision agriculture.
• Health applications
• Remote monitoring of physiological data
• Tracking and monitoring doctors and patients inside a hospital Drug administration
• Elderly assistance.
• Home applications
• Home automation
• Commercial applications
4.3 SENSOR NODE TECHNOLOGY
As we saw in earlier chapters, a WSN consists of a group of dispersed sensors
(motes) that have the responsibility of covering a geographic area (the sensor field) in
terms of some communication capabilities and some logic for signal processing, topology
management (if and where applicable), and transmission handling (including digital
encoding and possibly encryption and/or forward error correction). Figured epicts the
progression of sensor technology overtime during the past few years. WSNs that expected
to) will be of benefit ;design of such systems is now being encouraged by U.S. research
agencies (e.g., the National Science Foundation). Some sensor applications also support
over a dozen platforms and numerous sensor boards. A wide community uses it in
simulation to develop and test various algorithms and protocols. Contiki provides IP
communication, both for IPv4 and IPv6. Many key mechanisms and ideas from Contiki
have been widely adopted within the industry. The UIP embedded IP stack, originally
released in 2001, is today used by hundreds of companies in systems such as freighter
ships, satellites and oil drilling equipment. Contiki’s protothreads, first released in 2005,
have been used in many different embedded systems, ranging from digital TV decoders
to wireless vibration sensors. Contiki’s idea of using IP communication in low-power
WSNs has lead to an IETF standard and an international industry alliance - IP for Smart
Objects (IPSO) Alliance (IPSO Alliance - promoting the use of IP for Smart Objects,
n.d.). There are also other OSs that can be used by WSNs. or example, SOS (SOS
Embedded Operating System, n.d.) is an event-driven OS for mote-class sensor.
CHAPTER 5
HARDWARE IMPLEMENTATION
5.1 HARDWARE COMPONENTS
• Power Supply
• Arduino NANO
• Fire Sensor
• GSM
• LCD
• Buzzer
• Relay
• AC Motor
5.2 POWERSUPPLY
In this project we have power supplies with +5V & -5V option normally +5V is
enough for total circuit. Another (-5V) supply is used in case of OP amp circuit.
Transformer primary side has 230/50HZ AC voltage whereas at the secondary
winding the voltage is step downed to 12/50 H zand this voltage is rectified using
two full wave rectifiers the rectified output is given to a filter circuit to fitter the
unwanted ac in the signal. After that the output is again applied to are gulator
LM7805 (toprovide+5v) regulator. WhereasLM7905 is for providing –5Vregulation.
Z (+12V circuit is used for stepper motors, Fan and Relay by using LM7812 regulator
same process like above supplies).
5.2.1 TRANSFORMER
Transformers are used to convert electricity from one voltage to another with
minimal loss of power. They only work with AC (alternating current) because they require
a changing magnetic field to be created in their core. Transformers can increase voltage
(step-up) as well as reduce voltage (step-down). Alternating current flowing in the
primary (input) coil creates a continually changing magnetic field in them on core. This
field also passes through the secondary (output) coil and the changing strength of the
magnetic field induces an alternating voltage in the secondary coil. If the secondary coils
connected to a load the induced voltage will make an induced current flow. The correct
term for the induced voltage is ‘induced electromotive force’ which is usually abbreviated
to induced e.m.f.
5.2.2 RECTIFIERS
The purpose of a rectifier is to convert an AC wave form into a DC wave form
(OR) Rectifier converts A current or voltages into DC current or voltage. There are two
different rectification circuits, known as 'half-wave' and 'full-wave' rectifiers. Both use
components called diodes to convert AC into DC.
5.2.3 FILTERS
A filter circuit is a device which removes the ac component of rectifier output but
allows the dc component to the load. The most commonly used filter circuits are capacitor
filter, choke input filter and capacitor input filter or pi-filter. We used capacitor filter here.
The capacitor filter circuit is extremely popular because of its low cost, small size, little
weight and good characteristics. For small loadcurrents this t peoffilter is preferred. It is
commonly used in transistor radio battery eliminators.
I/O headers, in aDIP30-like configuration, which can be programmed using the Arduino
Software integrated development environment (IDE), which is comm onto all Arduino
boards and running both online and offline The board can be powered through a type-B
micro-USB cable or from a 9 V battery. In 2019, Arduino released the Arduino Nano
Every, a pin-equivalent evolution of the Nano. It features a more powerful ATmega4809
processor and twice the RAM.
The Arduino Nano has a number of facilities for communicating with a computer,
another Arduino, or other microcontrollers. The ATmega328 provide UART TTL (5V)
serial communication, which is available on digital pins 0 (RX) and 1 (TX). An FTDI
FT232RL on the board channels this serial communication over USB and the FTDI
drivers (included with the Arduino software) provide a virtual com port to software on
the computer. The Arduino software includes a serial monitor which allows simple textual
data to be sent to and from the Arduino board. The RX and TX LEDs on the board will
flash when data is being transmitted via the FTDI chip and USB connection to the
computer (but not for serial communication on pins 0 and 1). A Software Serial library
allows for serial communication on any of the Nano's digital pins. The ATmega328 also
support I2C (TWI) and SPI communication. The Arduino software includes a Wire library
to simplify use of the I2C bus.
FEATURES
• Microcontroller:MicrochipATmega328P[5]
• Operatingvoltage:5vols
• Inputvoltage:6to20volts
• Digital I/Opins:14(6optionalPWMoutputs)
• Analoginputpins:8
• DC per I/Opin:40mA
• DCfor3.3Vpin:50 mA
• Flashmemory:32KB, of which0.5KBisusedbybootloader
• SRAM:2KB
• EEPROM:1KB
• Clockspeed:16MHz
• Length:45mm
• Width:18mm
• Mass:7g
Note: We use Arduino IDE software for programming this module. It is important to note
that the pin configuration appearing on the board is different from the configuration we
use to program the board on the software i.e., when we write code for targeting pin 16 on
the Arduino IDE, it will actually help is laying out the communication with the D0 pin
on the module. Following figure, the shows the pin configuration to use in Arduino IDE.
is generally used as flame alarm purposes. This module can detect flame or wavelength
in 760 nm to 1100 nm range of light source. Small plate output interface can and single
chip can be directly connected to the microcomputer IO port. The sensor and flame should
keep a certain distance to avoid high temperature damage to the sensor. The shortest test
distance is 80 cm, if the flame is bigger, test it with farther distance. The detection angle
is 60 degrees so the flame spectrum is especially sensitive. The detection angle is 60
degrees so the flame spectrum is especially sensitive.
5.4.1 SPECIFICATIONS
• On-board LM393 voltage comparator chip and infrared sensing probe.
Support 5V/3.3V voltage input.
• On-board signal output indication, output effective signal is high level,
and the same time the indicator lights up, output signal can directly
connect with microcontroller IO. Signal detection sensitivity can be
adjusted.
• Reserved a line voltage compare circuit (P3 is leaded out). PCB size:
30(mm) x15(mm).
Pin Configuration:
VCC
Output
Ground
SCHEMATIC DIAGRAM
5.5 GSM
o Tele-services.
o Supplementary services.
o TELE-SERVICES:
o Telecommunication services that enable voice communication via mobile phones.
• Fullydigitalsystemusing900,1800MHzfrequencyband.
• Encryption of speech and data transmission over the radio path. User / terminal
authentication for fraud control.
• Full international roaming capability.
• Low speed data services(upto9.6Kb/s).
Compatibility with ISDN.
• Support of Short Message Service (SMS).
• Better security against fraud (through terminal validation and user authentication).
Generation-WCDMA (Wide band CDMA its data rate:
0.348 – 2.0 Mb).
FEATURES
• Compatible with most I/O ports in the E-Block range (requires 5 I/O lines via 9-way
D- type connector)
• Ease to develop programming code using Flow code icons
• Low cost
• E-blocks compatible
twisted. Applying an electric current to these liquid crystals will untwist them to varying
degrees, depending on the current's voltage. LCDs use these liquid crystals because they
react predictably to electric current in such a way as to control the passage of light.
The working of a simple LCD is shown in Figure 1. It has a mirror (A) in back,
which makes it reflective. There is a piece of glass (B) with a polarizing film on the
bottom side, and a common electrode plane (C) made of indium-tin oxide on top. A
common electrode plane covers the entire area of the LCD. Above that is the layer of
liquid crystal substance (D). Next comes another piece of glass (E) with an electrode in
the shape of the rectangle on the bottom and, on top, another polarizing film (F), at a right
angle to the first one
5.7 BUZZERS
Buzzer is usually like an alarm. Whenever we press the switch button it gives an
output like an alarm sound and then activates the machine. Buzzer contains of two pins.
The negative end is connected to the data pin of microcontroller. The positive end is
connected to the Vcc in the microcontroller.
5.8 RELAY
WHAT IS A RELAY?
A Relay is a simple electromechanical switch. While we use normal switches to
close or open a circuit manually, a Relay is also a switch that connects or disconnects two
circuits. But instead of a manual operation, a relay uses an electrical signal to control an
electromagnet, which in turn connects or disconnects another circuit.Relays can be of
different types like electromechanical, solid state. Electromechanical relays are
frequently used. Let us see the internal parts of this relay before knowing about it
working.
Fig5.14Relay
Every electromechanical relay consists of an
consists:
• Electromagnet
• Mechanically movable
• contact Switching points and
• Spring
Solid state relays will have sensing element to sense the input voltage and switches the
output using opto-coupling.
• Electromagnetic
• Latching
• Electronic
• Non-Latching
• Reed
• High-Voltage
• Small Signal
• Time Delay
SPECIFICATION AND FEATURES
Operating
Voltage:5V
Max Current: 20mA
Relay Contact Current Capacity at AC250V: 10A
Relay Contact Current Capacity at DC5V: 10A
High impedance controller pin
Power supply indicator lamp
Control indicator lamp
Indicator for Relay
output status
5.9.2 STATOR
The stator produces a rotating magnetic field. It has a solid metal axle, a loop of
wire, coils, squirrel cage, and interconnections. Though a squirrel cage is not found in all
AC motors, it is the most common type. In AC motors, electricity is sent directly to the
outer coils of the stator. The stator has multiple plates that extend out from its center with
copper magnetic wire.
For a three phase AC motor, it has three phase windings with a core and housing. The
windings are 120o apart, which can be six or twelve windings. The windings are placed
on a laminated iron core. The construction of the core can be seen in the diagram below.
5.9.3 ROTOR
Unlike a DC motor, the rotor on an AC motor does not have any connection with
the external power source. It receives its power from the stator. In a three phase induction
motor, the rotor can be a squirrel cage or wound version.In the squirrel cage version, the
rotor consists of rotor bars with end rings at both ends. There are several versions of the
squirrel cage rotor, which include split phase, capacitor start, capacitor start and run,
permanent split phase capacitor run, and shaded pole with classifications of A, B, C, D,
and E. In the majority of cases, the squirrel cage is made of aluminium or copper.
CHAPTER 6
SOFTWARE
STEP 1: Download And Extract Arduino IDE Software
6.1 PROTEUS
6.1.1 INTRODUCTION
Generally, we are listening the words PCB’s, PCB layout, PCB designing, etc. But
what is PCB? Why we are using this PCB? We want to know about all these things as a
electronic engineer. PCB means Printed Circuit Board. This is a circuit board with printed
copper layout connections. These PCBs are two types. One is dotted PCB and another
one is layout PCB. The two examples are shown in below.
designing software with integrated space-based auto router, it the curser at the
component pin end then draw the connections with that pen symbol. Connect all
the components according to circuit.
If any modifications want to do to the component place the mouse point and click on
right button then option window will open. That is shown in below figure.
After completion of designing save with some mane and debug it. This is virtual
simulation means without making circuit we can see the result in virtually through this
software and we can design the PCB layout to our required circuit with this software.
CHAPTER 7
The result obtained after completion the project is whenever the fire is detected
by the sensor it shows notification on lcd and the major thing is it will blow the alarm
then it sends the message to the owner. And make the call to the owner finally the motor
will turn on automatically for some time
APPLICATIONS
• Homes
• Portable fire Detector
• Factories
• Industrial applications
• Parking garages
• Industries and colleges
• E-houses
• Battery manufacturing places
• Theaters
CHAPTER 8
After this project performance, can conclude that This project has been made in
order to help building owner and industries etc. to overcome the problem which is fire
spreading whenever the owner is not in the building. The unpredictable situation or
critical situation always occurs in the building or resident areas without the residents’
notice. Based on the results obtained, the home alert system is durable and functional to
the residents to protect their houses. In fact, the system built is cheap in value compared
to other existing alarm system in the market and easy to apply to the houses.
REFERENCE
REFERENCE
APPENDIX
#include
<SoftwareSerial.h> #include
<LiquidCrystal.h>
LiquidCrystallcd(7, 6, 5, 4, 3, 2);
SoftwareSerialgsm(9, 8); //(Rx, Tx)
char phone_no[] = "+919989280023"; //replace with phone no. to get ms
String textMessage; #defineFire_Sensor 12
#define relay 11
#definebuz 13
void setup()
{
Serial.begin(9600);
gsm.begin(9600);
pinMode(Fire_Sensor,INPUT);
pinMode(buz, OUTPUT);
digitalWrite(buz,HIGH);
pinMode(relay,OUTPUT);
digitalWrite(relay, HIGH);
delay(700);
digitalWrite(buz, LOW);
lcd.begin(16, 2);
lcd.clear();
lcd.print(" FIRE DETECTION "); //arduino base accident prevention and
identification lcd.setCursor(0, 1);
lcd.print("Alerting System ");
delay(1500);
lcd.clear();
lcd.print("Arduino and GSM ");
delay(1500);
lcd.clear();
lcd.print("Searching");
lcd.setCursor(0,1);
lcd.print("GSMNetwork");
delay(1500);
gsm_init();
delay(1000);
lcd.clear();
lcd.print("System Ready ... ");
sendSMS(phone_no, "GSM Connected Successfully. . !");
delay(1500);
lcd.setCursor(0, 1);
lcd.print("*-WELCOMES YOU-*");
delay(1500);
}
void loop()
{
if (digitalRead(Fire_Sensor) == LOW)
{
digitalWrite(buz, HIGH);
digitalWrite(relay, LOW);
lcd.clear();
lcd.print("FireDetected...");
lcd.setCursor(0,1);
lcd.print("***Buzzer ON***");
delay(1500);
digitalWrite(buz,LOW);
sendSMS(phone_no, "Fire Detected in your home.\nPlease immediately takeaction!");
delay(1000);
call(phone_no);
delay(1000);
}
else
{ lcd.clear();
lcd.print("NoFireDetected...");
digitalWrite(buz,LOW);
digitalWrite(relay,HIGH);
delay(500);
}
delay (500);
}
void gsm_init()
{
lcd.clear();
lcd.print("Finding Module..");
booleanat_flag = 1;
while (at_flag)
{
gsm.println("AT");
while (gsm.available() > 0)
{
if
(gsm.find("OK"))
at_flag= 0;
}
delay(1000);
}
lcd.clear();
lcd.print("ModuleConnected..);
delay(1000);
lcd.clear();
lcd.print("Disabling ECHO");
boolean echo_flag = 1;
while (echo_flag)
{ gsm.println("ATE0");
}
lcd.clear();
}
void sendSMS(char *number, char *msg)
{
lcd.clear();
lcd.print("Message");
lcd.setCursor(0, 1);
lcd.print("Sending ... ");
delay(1000);
gsm.print("AT\r");
delay(400);
gsm.print("AT+CMGF=1\r");
delay(400);
gsm.print("AT+CMGS=\"");
gsm.print(number);
gsm.println("\"\r\n");
delay(500);
gsm.println(msg);
delay(500);
gsm.write(byte(26));
delay(3000);
lcd.clear();
lcd.print(" MESSAGE SENT ");
delay(1000);
}
void call (char *number)
{
lcd.clear();
lcd.print("Connecting Call to ");
lcd.setCursor(0,1);
lcd.print(number);
delay(1000);
gsm.print("ATD");
gsm.print(number)
;
gsm.println(";");
gsm.println("") ;
delay(10000);
}
COURSE OUTCOMES
PROJECT MEMBERS
PO7,PO3,PO6
58-59 Student able to identify the future scope of the proposed system C426.6
ARDUINO BASED FIRE DETECTION AND CONTROL
SYSTEM
Student is able to refer and collect information from latest
61 C426.5 PO3PO6,
journals