Fire-Fighter Robot Using Arduino Uno
Fire-Fighter Robot Using Arduino Uno
1
DEDICATED
TO OUR BELOVED
PARENTS
&
HONORABLE
TEACHERS
2
Certification
This is to certify that the project entitled " Fire Fighting Robot Using Arduino
Uno "is done by the following students under my direction supervision and this
work has been carried by the laboratories of the department of Electrical and
Electronics Engineering under the Faculty of Engineering of University of
Global Village (UGV)in partial fulfillment for the requirement of the degree of
Bachelor of Science in Electrical and Electronics Engineering.
Students Name and Signature:
………………................ ………………..............
Prodip Chandro Md. Bellal Mia
ID:22012061 ID: 22012062
………………................ ………………..............
Bikrom Chandra Mitro Md. Tawhiul Islam
ID: 22012063 ID:22012064
………………................ ………………..............
Md. Mamun Hossain Md. Abdur Razzak
ID: 22012067 ID:22012068
………………................ ………………..............
Md. Kawsar Khan Saikat Bishwas
ID:22012069 ID: 22012070
………………..........
Noor Md. Shahriar
Senior Lecturer
Department of EEE
Faculty of Engineering
University Of Global Village,Barishal
3
Acknowledgement
We would like to thank University of Global Village (UGV) for giving us the
opportunity to use their resources and work in such a challenging environment.
Then, we would like to take the opportunity to express our deepest sense of
gratitude to our supervisor Md. Abdullah bin Siddique for his guidance during
our project work. This project would not have been possible without his help
and the valuable time that he has given us amidst his busy schedule. We would
also like to extend our gratitude to our honorable department head and teachers
of this department who have always encouraged and supported us in doing our
work. We would like to thank all the staff members of Department of Electrical
and Electronic Engineering who have been very cooperative with us.
Authors
Prodip Chandro
Md. Bellal Mia
Bikrom Chandra Mitro Department of EEE
Md. Tawhidul Islam Session: Winter 2020
Md. Mamun Hossain University of Global Village
Md. Abdur Razzak Barishal, Bangladesh.
Md. Kawsar Khan
Saikat Bishwas
4
Abstract
In Bangladesh, progress towards improving fire control, using technology, is varied. Developed
countries, including China, are leading the world in using advanced technology to control fires.
Bangladesh is far behind in such technology and their technology is very poor, so every day where
there are fire accidents, there are huge losses in many places, human and state resources are
destroyed by fire. Several people lost their lives.
Therefore, we have brought a state-of-the-art fire control divide technology for the safety of people
and resources in Bangladesh. It will act as a big help in fire service of Bangladesh.
5
Contents
Certificate 3
Acknowledgement 4
Abstract 5
List of Figures 6
List of Tables 7
Chapter 1: Introduction
1.1 Introduction 9
1.2 Objective 10
1.3 Problem Statement 11
1.4 Methodology 12
1.5 Motivation 12
3.5. Buzzer 20
3.5.1 Specifications of Buzzer 21
3.6 L293D Motor Driver 21
3.6.1 Pins of Motor Driver 22
3.6.2 Specifications Motor Driver 22
6
3.7 Flame Sensor 23
3.7.1 Specifications of Flame Sensor 23
3.7.2 Pin of Flame sensor 23
3.8 Servo motor 24
3.8.1 Specifications of servo motor 24
3.9 Mini Water Pump 25
3.9.1 Specification of Mini water Pump 25
Chapter 5: Result
5.1 Result 33
5.2 Project Outlook 33
6.1 Conclusion 34
6.2 Future Work 34
6.3 Cost Analysis 34
6.4 Advantages 35
References 36
Appendix 37
7
List of Figures
Figure No Figure Contain Page No
8
List of Tables
Tab. No Table Contain Page No
9
Chapter One:
Introduction
10
1.1 Introduction
This technology of fire fighting robot car is an advanced technology. It is a technology that
automatically controls the fire by getting very close to the fire.
If a fire service personnel gets too close to a fire to control it, it can result in death. As a result,
quick fire control will not be possible.
This can lead to loss of life and loss of property.
You sent
Considering all these factors, we have invented this state-of-the-art technology. It is a fire proof
system, which can control the fire very close to the fire and save many lives and property damage. If
this smart technology is used in the fire service of our country, it will play a special role in
controlling fire in different parts of the country.
1.2 Objective
The brief objective of this project is to further improve the quality of fire control system in our
country.
Getting to the scene of the fire and controlling the fire quickly will prevent loss of life and property.
It is capable of extinguishing fire up to a distance of 45 meters. Which will play a special role in fire
control. As a result of the discovery of this technology, our country is presented in front of
developed countries of the world.
It is an easily accessible device, it will play a special role in fire control process of fire service. For a
long time, fire service personnel were burned trying to control the fire, and the fire service units
could not control the fire quickly enough. Due to this, many industrial factories, offices, courts,
houses were burnt and many people lost their lives.
But using such technology will save fire service personnel from being burned, and quickly control
fires to prevent loss of life and property.
1.4 Methodology
First, the robot has to be brought from the fire service office to the place where the fire accident
occurred, then the robot has to be activated and kept within a certain range. It will automatically
approach the fire accident site automatically without any human touch through sensors and quickly
control the fire. It will play a special role in protecting people's lives and property from fire.
11
1.5 Motivation
Fire fighters face risky situations when extinguishing fires and rescuing victims, it is an inevitable
part of being a fire fighter.
In contrast, a robot can function by itself or be controlled from a distance, which means that fire
fighting and rescue activities could be executed without putting fire fighters at risk by using robot
technology instead.
In other words, robots decrease the need for fire fighters to get into dangerous situations.
12
Chapter Two:
System Design
13
2.1 What is Fire Fighting System?
A fire fighting system is an activity of prevention during a fire spread in building, home or
warehouse with the use of proper fire safety equipment like extinguisher, hose reels, fire monitors,
nozzles and hose pipes.
A good firefighting system will save lives by preventing fires from spreading further and causing
more damage than necessary. It will allow firefighters quick access to water hoses to put out fires
wherever they start (such as electrical fires).
Our robot uses three sensors, one on the right, one on the left, and one in the middle. When a fire
occurs on the right side, by sensing this sensor, the robot will move to the right side and
automatically extinguish the fire, when the robot senses a fire on the left side, the robot will
automatically move to the left side and extinguish the fire on the left side. When there is a fire
ahead, the robot will automatically move forward to extinguish the fire.
This is how our fire fighting robot car works.
The Firefighting Robot is a compact and portable emergency responder robot that
assists firemen in fighting high-rise fires, especially in highly dangerous environments
where it is not safe for people to enter.
14
Fig 2.4 Fire Fighting Robot Car.
In the existing system of Fire Fighting, The fire is controlled by this robot without any
human interaction with the help of microcontroller Arduino UNO and fire sensor
technology. Arduino UNO is a microcontroller board. It acts as a transmitter and
receiver. Its main feature is that it is very cheap to install, and the robot can be
controlled by program. It is able to put out the fire automatically without human
contact.
Due to the lack of this advanced technology of fire fighting robots, the fire service teams were not able to put
out the fire quickly, and most of the fire service personnel were injured and many died while approaching the
fire and controlling the fire. Fires in various industries, factories, offices, courts and houses in our country
cause huge damage and many people lose their lives.
Where people cannot go and put out the fire, Our state-of-the-art firefighting robots are capable of
extinguishing fires at that location, saving many lives and saving live
15
Chapter Three:
Hardware
Implement
16
3.1 Hardware requirement
1. Gear Motor
2. Buzzer
4. Flame Sensor
5. Servo Motor
7. Jumper Wires
9. Arduino Uno
A gear motor is an all-in-one combination of a motor and gearbox. The addition of a gearbox to a
motor reduces the speed while increasing the torque output. The most important parameters in
regard to gear motors are speed (rpm), torque (lb-in) and efficiency (%).
17
Fig 3.4 : DC Robot Gear Motor
DC motor reducer, single axis, with DC 3V operating voltage and a RPM of 125R / minute, this
gear box is applied for tracing car or robot. With plastic construction and colored in bright yellow,
the DC gear motor measures approx. 2.5 inch long, 0.85 inch wide and 0.7 inch thick.
Descriptions Specification
Voltage DC 3V - 6V
RPM 100-240
18
3.5 Buzzer
a buzzer is a basic audio device that generates a sound from an incoming electrical
signal. Buzzers come in two primary forms — buzzers and magnetic buzzers.
Color is black.
The frequency range is 3,300Hz.
Operating Temperature ranges from – 20° C to +60°C.
Operating voltage ranges from 3V to 24V DC.
The sound pressure level is 85dBA or 10cm.
The supply current is below 15mA.
19
3.6 L293D Motor Driver
L293D Motor Driver Module is a medium power motor driver perfect for driving DC Motors and
Stepper Motors. It uses the popular L293 motor driver IC. It can drive 4 DC motors on and off, or
drive 2 DC motors with directional and speed control.
The L293D is a 16 pin IC, with eight pins, on each side, dedicated to the controlling of a motor.
There are 2 INPUT pins, 2 OUTPUT pins and 1 ENABLE pin for each motor. L293D consist of two
H-bridge. H-bridge is the simplest circuit for controlling a low current rated motor.
20
Fig 3.6.1 Pin Of L293D Motor Driver
21
Pin Spec
Terminal 1 4.5V-36V
Terminal 2 GND
Terminal 3 VCC
PIN EN 1 5 Volts
PIN EN 2
5 Volts
PIN IN 1
Input 1 For First Motor
PIN IN 2
Input 2 For First Motor
Input 3 For Second Motor
PIN IN 3
Attribute Value
23
3.7 Flame Sensor
This type of flame detector works by detecting the UV radiation at the point of ignition. Almost
entirely all fires emit UV radiations, so in case of the flame, the sensor would become aware of it
and produce a series of the pulses that are converted by detector electronics into an alarm output.
A flame detector is a sensor designed to detect and respond to the presence of a flame
or fire, allowing flame detection. Responses to a detected flame depend on the
installation, but can include sounding an alarm, deactivating a fuel line, and activating
a fire
Detection Angle(°) 0 to 60
24
Length (mm) 35.5
Height (mm) 14
Weight (gm) 3
No Pin Descriptions
25
3.8 Servo Motor
Servos are controlled by sending an electrical pulse of variable width, or pulse width
modulation (PWM), through the control wire. There is a minimum pulse, a maximum pulse,
and a repetition rate. A servo motor can usually only turn 90° in either direction for a total of
180° movement.
A servomotor is a rotary or linear actuator that allows for precise control of angular or linear
position, velocity, and acceleration in a mechanical system. It constitutes part of a
servomechanism, and consists of a suitable motor coupled to a sensor for position
26
Model: SG90.
Weight: 9 gm.
Operating voltage: 3.0V~ 7.2V.
Servo Plug: JR.
4.8V : 1.2kg-cm.
6.6V : 1.6kg
27
3.9.1 Specification Of Mini Water Pump
DC Voltage: 2.5-6V.
Maximum lift: 40-110cm / 15.75 "-43.4"
Flow rate: 80-120L / H.
Outside the water outlet diameter : 7.5mm /0.3 "
internal diameter of water outlet: 4.7 mm / 0:18"
Diameter: Ca. 24 mm / 0.95 "
Length: Ca. 45 mm / 1.8"
Height: Ca. 33 mm / 1.30 String "
28
3.10 Jumper Wire
29
3.3.6.1 Mini Water Pump
This is a low cost mini submersible type water pump that works on 3-6V DC. It is
extremely simple and easy to use. Just immerse the pump in water, connect a suitable
pipe to the outlet and power the motor with 3-6V to start pumping water. Great for
building science projects, fire-extinguishers, firefighting robots, fountains, waterfalls,
plant watering systems etc.
30
3.3.6.2 Specifications of Mini Water Pump
o DC Voltage: 6V -12 V
o Maximum lift: 40-110cm / 15.75"-43.4"
o Flow rate: 80-120L/H
o Outside diameter of water outlet: 7.45mm / 0.3" (our 7mm inner diameter tube
is ok for this pump)
o Inside diameter of water outlet: 4.7mm / 0.18"
o Diameter: Approx. 24mm / 0.95"
o Length: Approx. 45mm / 1.8"
o Height: Approx. 33mm / 1.30"
o Material: Engineering plastic
o Driving mode: brushless dc design, magnetic driving
31
3.10 Jumper wire
A jump wire (also known as jumper wire, or jumper) is an electrical wire, or group
of them in a cable, with a connector or pin at each end (or sometimes without them –
simply "tinned"), which is normally used to interconnect the Components of a
breadboard or other prototype or test circuit, internally or with other.
We need two power supply for our system. One for full device and one 12 volts DC
for our pump.
As 5 volts power supply we use two 18650 Li-Po battery which is connected in
parallel. These batteries contain 3.8 volts but we need 5 volts also we need to charge
these batteries. So we use a step up circuit. Which step up 5 volts from 3.5-4.9 volts.
32
Fig 3.11.1: 5V 18650 Li-Po Battery
33
3.12 Software
To make this project we used 2 software. One is programming code editor software
which name is Arduino Ide. The one is an Android app which is for controlling our
appliances.
For coding for Node MCU we need an IDE which is compatible to our NodeMCU.
The Arduino IDE is one of the most easiest and compatible UNO for Node MCU. So
we choice Arduino UNO for our coding.
34
Fig 3.12.1: Arduino
IDE
35
Chapter Four:
Implementation &
Design
36
4.1 Technical Specification
Motor Driver is used to activate the moving of the DC motor. It also consists of flame sensor
and IR distance sensor as input of the system. Fire extinguisher is mounted on robot to
reduce fire. 1) Flame Sensor: This sensor is mainly designed for detecting as well as
responding to the occurrence of a fire or flame.
4.1 Diagram
37
4.1.1 Working Flow Chart
A flowchart is a type of diagram that represents a workflow or process.
A flowchart can also be defined as a diagrammatic representation of an algorithm.
38
4.1.2 Block Diagram
A block diagram is a diagram of a system in which the principal parts or functions are
represented by blocks connected by lines that show the relationships of the blocks. They are
heavily used in engineering in hardware design, electronic design, software design, and
process flow diagrams.
39
4.1.3 Circuit Diagram
A circuit diagram (also known as an electrical diagram, elementary diagram, or
electronic schematic) is a simplified conventional graphical representation of an
electrical circuit. The diagram does not show the physical arrangement of
components.
40
Chapter Five:
Result
41
5.1 Result
The Robot implements environmental sensing, awareness, proportion motor control using ultra
violet infrared and visible light.
- The Robot automatically detects the fire and extinguish it in less time.
42
Chapter Six:
Conclusion and
Future Scope
43
6.1 Conclusion
Nowadays, the concept of fire-fighter robot is very common. But this fire-fighter robot solves some
issues in the existing fire-fighter robots. They are both autonomous and controlled. It has a
monitoring system to know the fire and people who stuck in the environment. Also the monitoring
system can be implemented as an Android application. The robot helps other fire-fighter men by
giving them a safer path to fire. Because lots of fire-fighter men have lost their life while saving
other's life. Using the robotic arm in the robot, it can pick up the people who stuck in there for help.
This fire- fighter robot can be implemented as in the form of drone. Using the application of
artificial intelligence, the robot can be trained to find fire type and to choose appropriate
extinguishing methods. For some large fires like forest fire, the extended version of this robot helps
to extinguish the fire in a large amount. So, nowadays the relevance of this robot is increasing.
44
6.4 Advantages
45
References
[1] "Autonomous Mobile Robot: Recognize & Response to Fire", Nik Md Hafizul Hasmie Md
Suhaimi, UTHM, Malaysia, 2007.
[2] "Rolly Firefighter Robot", William Dubel, Hector Gongora, Kevin Bechtold, and Daisy Diaz,
Florida International University, Miami, 2003.
[3] "Fire Protection Robot", Viet Do, Ryan Norder, and Ryan Spraetz, Moscow.
[5] Microcontroller Cookbook PIC & 8051, Second Edition, Mike James, Newnes, Reed
Educational and Professional Publishing Ltd, Jordan Hill, Oxford, United Kingdom, 2001
[6] Microcontrollers Theory and Applications, Ajay V Deshmukh, McGraw-Hill, Tata McGraw-hill
Publishing Company Limited, New Delhi, 2005
[7] Autonomous Robot Control Board Instruction Manual (SK40C ), Cytron Technologies Sdn Bhd,
Nov 2007.
[8] Designing Autonomous Mobile Robots, Elsevier Inc, John Holland, 2004
[9] Joga D. Setiawan, Mochamad Subchan, and Agus Budiyono "Virtual Reality Simulation of Fire
Fighting Robot. Dynamic and Motion." ICIUS, October 24-26 2007.
[10] Gerald Weed, Michael Schumacher, Shawn McVay, Jack Landes "PPPPokey the Fire-Fighting
Robot. A Logical Design Using Digital and Analog Circuitry", May 11 1999.
[11] Chris Flesher, Devona Williams, Sean Benbrook, Somendra Sreedhar "Fire Protection Robot.
Final Report" p. 1-78, 2004.
[12] Myles Durkin, Kevin Mchugh, Ryan Ehid, Brian Lupus, Stephen Krupp "Firefighting Robot.
A Proposal. May 5 2008.
[13] Mountney, P.; Stoyanov, D. Davison, A. Yang, G-Z. (2006). "Simultaneous Stereoscope
Localization and Soft-Tissue Mapping for Minimal Invasive Surgery". MICCAI 1: 347-354.
6doi:10.1007/11866565_43.
[14] Durrant-Whyte, H.; Bailey, T. (2006). "Simultaneous Localization and Mapping (SLAM): Part
I The Essential Algorithms". Robotics and Automation Magazine 13 (2): 99-110.
doi:10.1109/MRA.2006.1638022.
46
[15] Ian Pereira, Adrian David (2001, May 7). Painful Memories of Bright Sparklers. Page 9. News
Strait Times.
[16] Building on fire near KL Sentral (2012, Jan 18). The Malaysian Insider.
http://www.themalaysianinsider.com/malaysia/article/building-on-fire-near- kl-sentral.
[17] Fire burns down Unimas building (2012, Apr 12). The Star Online.
http://thestar.com.my/news/story.asp?file=/2012/4/5/sarawak/11051630&se =sarawak
[18] K. L. Su, "Automatic Fire Detection System Using Adaptive Fusion Algorithm for Fire
Fighting Robot," in Systems, Man and Cybernetics, 2006. SMC '06. IEEE International Conference
on, 2006, pp. 966-971.
47
Appendix
Code For this project
/*************************************************************
Project Name: Fire Fighting Robot Car !
This projet Build by EEE Department (Winter/2020Batch)!
*************************************************************#include <Servo.h>
Servo myservo;
int pos = 0;
boolean fire = false;
/*-------defining Inputs------*/
#define Left_S 9 // left sensor
#define Right_S 10 // right sensor
#define Forward_S 8 //forward sensor
/*-------defining Outputs------*/
#define LM1 2 // left motor
#define LM2 3 // left motor
#define RM1 4 // right motor
#define RM2 5 // right motor
#define pump 6
void setup()
{
pinMode(Left_S, INPUT);
pinMode(Right_S, INPUT);
pinMode(Forward_S, INPUT);
pinMode(LM1, OUTPUT);
pinMode(LM2, OUTPUT);
pinMode(RM1, OUTPUT);
pinMode(RM2, OUTPUT);
pinMode(pump, OUTPUT);
myservo.attach(11);
myservo.write(90);
}
void put_off_fire()
{
delay (500);
digitalWrite(LM1, HIGH);
digitalWrite(LM2, HIGH);
digitalWrite(RM1, HIGH);
digitalWrite(RM2, HIGH);
fire=false;
}
void loop()
{
myservo.write(90); //Sweep_Servo();
if (digitalRead(Left_S) ==1 && digitalRead(Right_S)==1 && digitalRead(Forward_S) ==1) //If Fire not detected all
sensors are zero
{
//Do not move the robot
digitalWrite(LM1, HIGH);
digitalWrite(LM2, HIGH);
digitalWrite(RM1, HIGH);
digitalWrite(RM2, HIGH);
}
49