Professional Documents
Culture Documents
1. Introduction
Robots are intelligent machines that can be controlled according to need. When fire
occurs in building, factories or any closed spaces, fighting it is quite risky for us as one may
get trapped in such closed spaces in such cases, a robot on the as designed by us, can be very
efficiently use for fire fighting with least risky human intervention. The fire fighting robot
made under this project can move in both forward and reverse direction and can turned in left
and right directions. Thus, we can operate a robot over a very long distance and there is no
need for human to go even near the area on fire.
1
2. Objectives
2
3. Components List
2 Motor Driver 3
3 Bluetooth sensor 1
4 Servo motor 1
9 USB Cable 1
3
4
4.Hardware Descriptions
A flame sensor module, or fire sensor module, is a small size electronics device that
can detect a fire source or any other bright light source. This sensor basically detects IR
(infrared) light wavelengths between 760 nm and 1100 nm that are emitted from the fire
flame or light source. The flame sensor comes with a YG1006 phototransistor sensor, which
has high speed and high sensitivity. There are two types of IR Infrared Flame Sensor Modules
available in the market: one with three pins (D0, Gnd, and Vcc) and another with four pins
(A0, D0, Gnd, and Vcc), both of which can be easily used with Arduino and other
microcontroller boards. Whenever fire is detected by the IR sensor, the LED glows, and the
output pin is set high. The out pin can be given as input to the microcontroller and can be
used for any fire detection application. Whenever the LED is on, it indicates that fire has been
deleted.
5
.
A servo motor is a type of motor that can rotate with great precision. Normally,
this type of motor consists of a control circuit that provides feedback on the current position
of the motor shaft. This feedback allows the servo motors to rotate with great precision. If
you want to rotate an object at some specific angle or distance, then you use a servo motor. It
is just made up of a simple motor that runs through a servo mechanism. If a motor is
powered by a DC power supply, then it is called a DC servo motor, and if it is an AC-
powered motor, then it is called an AC servo motor. Servo motors are rated in kg/cm
(kilograms per centimeter); most hobby servo motors are rated at 3 kg/cm, 6 kg/cm, or 12
6
kg/cm. This kg/cm tells you how much weight your servo motor can lift at a particular
distance.
The L298N Motor Driver Module is a popular electronic component used to control
and drive DC motors and stepper motors. It provides an interface between a microcontroller
and the high-current motors, allowing precise control over their speed and direction. The
L298N Motor Driver module consists of an L298 Motor Driver IC, a 78M05 voltage
regulator, resistors, capacitors, a power LED, and a 5V jumper in an integrated circuit. The
78M05 voltage regulator will be enabled only when the jumper is replaced. When the power
supply is less than or equal to 12 volts, then the internal circuitry will be powered by the
voltage regulator, and the 5-volt pin can be used as an output pin to power the
microcontroller. The jumper should not be placed when the power supply is greater than 12
volts, and separate 5 volts should be given through the 5-volt terminal to power the internal
7
circuitry. ENA and ENB pins are speed control pins for Motor A and Motor B, while IN1,
IN2, IN3, and IN4 are direction control pins for Motor A and Motor B.
8
battery replacement and maintenance. Here’s an overview of the key features and
characteristics of a typical 18650 battery holder.
9
5. System Design and Implementation
Power Supply
VCC GND
VCC Bluetooth
3.3V 5V Vin GND GND
RX Sensor
TX/D0
RX/D1 TX
D2
RESET PWM D3
Pump RESET 2 D4 VCC Flame Sensor
GND VCC ARE PWM D5
Motor 3 GND
N/C PWM D6 A0
Arduino UNO D7 D0
R3 D8
Servo VCC A0 PWM D9
GND SS/PWM D10
Motor A1 VCC Flame Sensor
Ctrl A2 MOSI/PWM D11
A0 2 GND
A3 MISO/D12
SCK/D13 D0
A4/
Left Motors
A5/
+ ICSP2 MISO VCC Flame Sensor
-
ICSP2 GND
ICSP2 MOSI A0 1
D0
Right Motors
+ -
OUT1 IN1
OUT2 IN2
L293D
Battery OUT3 IN3
Motor Driver
OUT4 IN4
+ - VCC VIN GND
This system includes an Arduino Uno microcontroller, a Bluetooth sensor, a flame sensor, a
pump motor, a servo motor, DC motors, and a L293D motor driver. A Bluetooth sensor and
flame sensors are used as input devices for the microcontroller. The pump motor and servo
motor are used as output devices to put out the fire. The L293D motor driver is used as the
output device to control the DC motors that drive the cars. The Arduino Uno is used to
10
control the processes of a firefighting system. The connection of the microcontroller, input,
and output devices involves the following steps:
1. Connect the VCC pin of the flame sensors to the positive terminal of the Arduino
(5V) pin.
2. Connect the GND pin of the flame sensors to any GND pin of the Arduino.
3. Connect the D0 pin of the three flame sensors to digital pins 9, 10, and 11 of the
Arduino.
1. Connect the VCC pin of the Bluetooth sensor to the positive terminal of the Arduino
(5 V).
2. Connect the GND pin of the Bluetooth sensor to any GND pin on the Arduino.
3. Connect the RX and TX pins of the Bluetooth sensor to digital pins 0 and 1 of the
Arduino.
1. Connect the VCC pin of the L293D to the positive terminal of the battery.
2. Connect the GND pin of the L293D to the negative terminal of the battery.
3. Connect the VIN pin of the L293D to the positive terminal of the Arduino (5 V).
4. Connect the IN1, IN2, IN3, and IN4 pins of the L293D to the Arduino Digital pins 2,
3, 4, and 5, respectively.
5. Connect the left motors to the OUT1 and OUT2 pins of the L293D, and OUT3 and
OUT4 are connected to the right motors.
Step 4: Connecting the servo motor and pump motor to the Arduino
1. Connect the GND pin of the servo motor and pump motor to any GND pin of the
Arduino.
2. Connect the control pin of the servo motor to digital pin 12, and the VCC of the pump
motor is connected to digital pin 7 of the Arduino.
11
3. Connect the VCC pin of the servo motor to the positive terminal of the Arduino (5 V).
3. Open the Arduino IDE and select the appropriate board from the Tools menu under
Boards.
5. Copy the following sketch, which appears in your web browser, to your Arduino
sketch page.
7. The final step is to connect the Arduino’s cable to the adapter and then plug it into the
socket.
12
5.3. Hardware Implementation
<A jump wire (also known as jumper, jumper wire, DuPont wire) 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 equipment or
components, without soldering.>
13
6. Future Scope/Work
We can add a keypad to arm or disarm the alarm
We can determine the position of the intruder and then send a SMS to the concerned
authorities
14
7. Conclusion
<In this project we aim to reduce the effect of fires accidents which usually start from
small, therefore people life and money would be saved. The robot can successfully find fire
and reach it without running into obstacle.
to provide security of home, laboratory, office, factory and building which is important to
human life. It is used to solve the problem of the fire extinguisher. It works there, where
human beings are not able to reached.>
15
References
[1]
[2]
[3]
16
Appendix
17