Micro project
Micro project
Guide By:-
1
GOVERNMENT POLYTECHNIC, WASHIM
CERTIFICATE
This is certify that Varad Manoj Botke, Mitali Suresh Rathod, Prashant
Mahadev Surve, Yash Santosh Dadgal, Bhagyashri Balaji Surushe, Kartik
Dilip Gore.
Guide By H.O.D
Principal
2
DECLARATION
I declare that this written submissions represent by idea in my own word and
where other ideas or word have been included, I have adequately cited and
referenced and originals sources. I also declare that I have adhered to all
principles of academic honestly and integrity and have not misrepresented or
fabricated or falsified any idea/ data/ facts / source in my submission. I understand
that any evolutions of the above will be cause for disciplinary actions by the
institute and can also evoke panel actions from the source which have thus not
been properly cited or from whom proper permissions has not been taken when
needed.
3
ACKNOWLEDGEMENT
4
INDEX
1 INTRODUCTION 8
2 ABSTRACT 9
3 BLOCK DIAGRAM 11
4 PROBLEM FORMULATION 12
5 METHODOLOGY 13
6 HARDWARE IMPLEMENTATION 14
7 DESIGN STRUCTURE 15
10 ULTRASONIC SENSOR 18
11 FLAME SENSORS 19
12 SERVO MOTORS 20
14 MOTOR DRIVERS 21
16 RELAY 23
5
17 MODE MCU 24
20 DC MOTORS 27
21 PUMP 27
22 PROGRAMMING 27
23 WORKING 28
24 RESULT DISCUSSION 28
26 SOFTWARE USED 30
27 CODING 30-36
28 REFERENCES 37-38
6
LIST OF FIGURES AND TABLES
7
INTRODUCTION
8
ABSTRACT
9
Fig.1 shows the Block Diagram of Fire Fighting robot. The basic theme
of this paper is to sense the environmental fire and extinguish it with the help of
a water pump. The Arduino UNO Microcontroller board based on the
ATmega328P. The ATmega328P is good platform for robotics application. Thus
the real time fire extinguishing can be performed.
The Arduino software runs on different platforms such as mac, windows and
Linux. Simple and clear programming is possible in case of Arduino software.
The Arduino libraries play a major role in making the programming easier by
providing wider range of libraries. There are many built in libraries available in
the Arduino software and it allows to add additional libraries that are available in
the open source for download. Adding of new boards to Arduino software is
possible. Since,
Arduino C is derived from C and C++ programming and is much easier when
compared other controller programming.
10
BLOCK DIAGRAM
Material Required:
1. Arduino UNO
2. Fire sensor or Flame sensor (3 Nos)
3. Servo Motor (SG90)
4. L293D motor Driver module
5. Mini DC Submersible Pump
6. Small Breadboard
7. Robot chassis with motors (2) and wheels(2) (any type)
8. A small can
9. Connecting wires
11
PROBLEM FORMULATION
Fire disaster is one of the dangerous problems that can lead to heavy loss
both financially and by taking lives. Sometime it becomes difficult for fighters to
access the site of a fire because of explosive materials, smoke, and high
temperatures. Such situations risk the lives of fire fighters too. In such
environments, fire-fighting robots can be useful. This Fire Extinguishing Robot
is based on IOT Technology. In Fire Extinguishing Robot, we intend to build a
system that could extinguish a small flame by sensing and moving to the location
itself .Sometime delay in the arrival of fire fighters leads to numerous
consequences. The Fire Extinguishing robot continuously monitors the
environment and extinguishes it without delay
12
METHODOLOGY
The Methodology is divided into three parts. The first part is on the
design structure, followed by hardware description and the finally on the
programming design. This robot’s main function is to detect fire and move
towards the fire automatically to extinguish it from a safe distance using a
water sprinkler. This robot’s movement and behaviour will be fully controlled
by the Arduino microcontroller. This advanced robot allows a user to control a
fire fighter robot equipped with water tank and gun remotely wirelessly for
extinguishing fires. For this purpose the system uses Radio frequency (RF)
remote for remote operation along with RF receiver based microcontroller circuit
for operating the robotic vehicle and water pump. The RF based remote transfers
user’s commands through radio frequency signals which are then received by the
receiver circuit. The receiver circuit then decodes the data sent by the user.
The receiver then forwards the data to the microcontroller. Now the
microcontroller processes these instructions and then instructs the vehicle motors
to run the vehicle in desired direction.
13
HARDWARE IMPLEMENTATION
14
DESIGN STRUCTURE
15
WORKING CONCEPT OF FIRE FIGHTING ROBOT
The main brain of this project is the Arduino, but in-order to sense fire we use the
Fire sensor module (flame sensor) that is shown below.
A fire sensor module (usually IR or flame sensor) detects infrared light emitted
by flames. When a flame is present, the sensor outputs a low signal; otherwise, it
stays high. This signal can trigger alarms, relays, or microcontrollers for fire
detection systems.
16
HARDWARE USED
17
ULTRASONIC SENSOR
The Transducer's sonic waves would be absorbed by an object and returned to the
transducer. The time it takes for the ultrasonic sensor to transition from emitting
to receiving sound waves is proportional to the distance between the object and
the sensor as shown in Figure 3.
Hard surfaces are the strongest reflectors of sonic waves, and may be solids,
granules, liquids, or powder. The distance can be calculated precisely and without
touch using an ultrasonic sensor. It could be anywhere from 2cm to 3m long.
18
FLAME SENSORS
A flame sensor is the most sensitive to normal light of any sensor. This sensor
senses flame if the light source emits a wave length between 760nm and
1100nm.The detection angle would be 60o and can be achieved from a distance
of 100cm. This sensor's output is either an analog or digital signal. The infrared
flame flash method is used by this sensor as shown in Figure 5.
Fig 5 shows the flame sensor. This sensor is able to detect a flame by sensing
light wavelength between 760 –1100 nanometers. The test distance depends on
the flame size and sensitivity settings.
The detection angle is 60 degrees, so the flame does not have to be right in front
of the sensor. There are two sensor outputs
i. Digital – sending either zero for nothing detected or one for a positive
detection ii. Analog – sending values in a range representing the flame
probability/size/distance; must be connected to a PWM capable input It has four
pins,
Voltage Supply (Vcc),
Ground pin (GND),
Analog output (Aout), and
Digital output (Do)
19
SERVO MOTORS
Servo Motors are electronic devices that are mainly used for providing
specific velocity and acceleration.
20
MOTOR DRIVERS
Motor drivers are used to describe the direction of movement of the robot. It
is used to give high voltage and high current as an output to run the motors which
are used in the project for the movement of the robot. Fig 5 is the circuit of the H
Bridge which is used for the motor driving in the IC L293D and also provides the
bidirectional motor control.
21
TEMPERATURE SENSOR (LM35)
The temperature sensors in the LM35 series are accuracy integrated circuits
temperature sensors with a linearly proportional output voltage to Celsius scale
value. The Temperature can be measured more precisely than with a thermistor
as shown in Figure 5.
The sensor circuitry is fully sealed and is not exposed to the elements. due to
oxidation The LM35 produces a higher output voltage than thermocouples, so it
might not be necessary to amplify the output voltage. It calibrates in Celsius with
a 0.5°C precision guarantee and a measurable range of 55°Cto+150°C.
22
RELAY
1. Armature,
23
MODE MCU
24
DTMF SINGNAL AND DECODER
Dual-tone multi-frequency signaling (DTMF) is an in- band telecommunication
signaling system using the voice- frequency band over telephone lines between
telephone equipment and other communications devices and switching centers.
DTMF was first developed in the Bell System in the United States, and became
known under the trademark Touch-Tone for use in push-button telephones
supplied to telephone customers, starting in 1963 we are using the IC
MT8870DE which is a touch tone decoder IC.
25
DTMF LOW AND HIGH FREQUENCY TONES AND
DECODE
Table.1 shows the DTMF low and high frequency tones and decoded output.
The DTMF (Dual Tone Multi Frequency) decoder circuit identifies the dial
tone from the telephone line and decodes the key pressed on the remote
telephone. Here for the detection of DTMF signaling, we are using the IC
MT8870DE which is a touch tone decoder IC. The decoded bits can be
interfaced to a computer or microcontroller for further application.
26
DC MOTORS
In this project we use simple DC motor for the rotation of the wheel which are
responsible for the movement of the robot. Usually DC motors convert electrical
energy into mechanical energy.
PUMP
PROGRAMMING
27
WORKING
The Arduino UNO development board issued to control this firefighting robotic
system, which is made up of HC-SR04 sensors. A gas sensor (MQ2) for
sensing hazardous smoke, a temperature sensor (LM35) for more precise
temperature measurement, and a fire flame sensor (IR) for detecting and
sensing the approaching fire are all mounted on a servo-motor for obstacle
detection and free path navigation. In addition, for extinguishing the flames, it
also makes use of a water tank and a spray gun mechanism. With the aid of a
12V pump, water is pumped from the main water tank to the water nozzle
RESULT DISCUSSION
Fire Fighting Robot has developed to reduce human life lost and to develop such a device that
automatically sense fire and extinguish it without human intervention. In this the fireplace is
detected using the IR Flame sensors and are connected to Arduino UNO, which control the
movement of Motor drive that helps the robot to reach the fireplace and extinguishes it with
the pumping mechanisms. In the industry if any fire accident occurs, there is a need of person
to monitor continuously and rectify it. In this process if any time delay takes place irreparable
loss occurs in industry. The firefighting robot continuously monitors the surrounding and
helps in extinguishing the fire. Fig 11 shows the overall prototype of Fire Fighting Robot
28
Figure 12. Fire Fighting Robot
The Fire Fighting Robot employs DTMF technology to control the directions of the robot. We design
the fire detection system using flame sensor that is capable of sensing the flame of wavelength range
760 to 1100 nm, and the sensing range depends on the sensitivity and varies from 10cm to 1.5feet. The
robot can operate in the environment which is out of human reach in very short time, the delay
employed is very minimal. The robot accurately and efficiently finds the fire and within minimum time
after the fire is detected it is extinguished.
29
SOFTWARE USED:
Arduino IDE
For programming the microcontrollers, the Arduino project provides an
integrated development environment (IDE) based on a programming language
named Processing, which also supports the languages C and C++.The open
source Arduino IDE makes it easy to write code and upload it to the board.
CODING
#include <Servo.h>
#define FLAME_SENSOR_LEFT A0
#define FLAME_SENSOR_CENTER A1
#define FLAME_SENSOR_RIGHT A2
#define RELAY_PIN 7
#define SERVO_PIN 3
30
// Create Servo object
Servo waterServo;
void setup() {
Serial.begin(9600);
pinMode(MOTOR_L1, OUTPUT);
pinMode(MOTOR_L2, OUTPUT);
pinMode(MOTOR_R1, OUTPUT);
pinMode(MOTOR_R2, OUTPUT);
pinMode(RELAY_PIN, OUTPUT);
waterServo.attach(SERVO_PIN);
31
waterServo.write(90); // Set initial servo position to center
pinMode(FLAME_SENSOR_LEFT, INPUT);
pinMode(FLAME_SENSOR_CENTER, INPUT);
pinMode(FLAME_SENSOR_RIGHT, INPUT);
void loop() {
Serial.print(flameLeft);
Serial.print(flameCenter);
Serial.println(flameRight);
32
// Check flame detection
moveForward();
activateWaterPump();
turnLeft();
activateWaterPump();
turnRight();
activateWaterPump();
else {
stopMotors();
33
delay(500); // Delay for stability
void moveForward() {
digitalWrite(MOTOR_L1, HIGH);
digitalWrite(MOTOR_L2, LOW);
digitalWrite(MOTOR_R1, HIGH);
digitalWrite(MOTOR_R2, LOW);
void turnLeft() {
digitalWrite(MOTOR_L1, LOW);
digitalWrite(MOTOR_L2, HIGH);
digitalWrite(MOTOR_R1, HIGH);
digitalWrite(MOTOR_R2, LOW);
stopMotors();
void turnRight() {
34
digitalWrite(MOTOR_L1, HIGH);
digitalWrite(MOTOR_L2, LOW);
digitalWrite(MOTOR_R1, LOW);
digitalWrite(MOTOR_R2, HIGH);
stopMotors();
void stopMotors() {
digitalWrite(MOTOR_L1, LOW);
digitalWrite(MOTOR_L2, LOW);
digitalWrite(MOTOR_R1, LOW);
digitalWrite(MOTOR_R2, LOW);
void activateWaterPump() {
35
waterServo.write(pos);
delay(100);
waterServo.write(pos);
delay(100);
void deactivateWaterPump() {
36
REFERENCES
[1] Jentsch and White Fire causes disruptions that are inherent, unavoidable, and
affect all levels of an ecosystem , according to 2001.
37
[11] FIRE FIGHTING ROBOT Sahil S.Shah1 , Vaibhav K.Shah2 , Prithvish
Mamtora3 and Mohit Hapani4 1,2,3,4D.J.Sanghvi College of Engineering,
Vile Parle – West, Mumbai, India
38