Documente Academic
Documente Profesional
Documente Cultură
1|Page
Km. Mayawati Govt. Girls Polytechnic, Badalpur,
Gautam Buddha Nagar, (UP)
(Department of Technical Education, Uttar Pradesh, AICTE New Delhi Approved)
Candidate Declaration
I hereby declared that the work which is being presented in the project entitled “
implementation of Robotics Sensor based Polytechnic in partial fulfillment of the
requirement for the award of the diploma in Electronics Engineering, Km.
Mayawati Government Girls Polytechnic, Badalpur, Gautam Buddha Nagar is an
authentic record of my own work carried out under the supervision of Mr. Jitndra
Kumar (H.O.D)Department of ELX KMGGP Badalpur.
The matter presented in this report has not been submitted by me for the
award of any other diploma or any other institute / university.
This is to certify that the above statement made by the candidate is correct to
the best of my knowledge.
Anamika Yadav and Hemlata Rani
BTE UP Enrollment No.:-E1610233000013
BTE UP Enrollment No.:-E1610233000020
To the best of my Knowledge, the matter embodied in the project report has not
been submitted to any other university / institute for the award of any Diploma.
2|Page
Km. Mayawati Govt. Girls Polytechnic, Badalpur,
Gautam Buddha Nagar, (UP)
(Department of Technical Education, Uttar Pradesh, AICTE New Delhi Approved)
Certificate
This is to certify that the project report entitled “implementation of Robotics
Sensor Based Polytechnic ” submitted by Anamika Yadav and Hemlata Rani, in
partial fulfillment of the requirements for the award of Diploma in Electronics
Engineering at
Km. Mayawati Govt. Girls Polytechnic Badalpur GB Nagar is an authentic work
carried out by her under my supervision and guidance.
3|Page
Acknowledgement
Jintendra Kumar Rathi, who gave me his full support and encouraged me
wide knowledge and logical thinking gave me right direction all the time.
provided at every step of the project. Last but not the least, I also convey my
regards to all other faculty members of the Department of Electronics and
Engineering.
(Project Supervisor)
- Jitendra Kumar(H.O.D)
- Ritu Anand
- Jyoti Garg
4|Page
A PROJECT REPORT
ON
“FIRE FIGHT ROBOTICS
SENSOR”
5|Page
TABLE OF CONTENTS:-
INTRODUCTION 7
PLATFORM USED 8
RESULT& CONCLUSION 59
REFERENCE 60
6|Page
INTRODUCTION
In this project , we will learn how to bulid a simple robot using Arduino that
could move to wards the fire and pump out water around it to put down the
fire. It is very simple robot that would teach us the underlying concept of
robotics ; you would be able to build more sophisticated robots once you
understand the following basics . S let’s get started more than 1.2 lakl deaths
7|Page
PLATEFORM USED
HARDWARE REQUIREMENTS:
1) Arduino UNO
4) Small Breadboard
6) A small can
7) Connecting Wires
8|Page
AIM OF PROJECT
This project aims in giving a technical solution to the mentioned problem . A
robot is desigen that is capable of carrying out a complex series of actions
automatically , especially one one programmable by a computer . Afire
extinguisher robot is a fire flam put robot that has a small fire extinguisher unit
added on to it . fire fight robot is controlled using a arduino uno through flame
sensor for its movement and reaching the fire , the flame sensor detects the fire and
gives the futher single to the extinguisher units to tigger the pump and spray the
water . the whole system is programmed using an arduino UNO board (AT mega
328P microcontroller) which froms the brain of the system
9|Page
WORKING OF PROJECT
The main brain of this project is the Arduino but in – order to sense fire we use
the fire sensor module (flame sensor)
As you can see these sensor have an IR receiver (photodiode) which is used to
detect the fire when fire burns it emits a small amount of infra-red light . this light
will be recived by the IR reciver on the sensor module .So we place oneway
such sensor in one directions of the robot to sense on which
10 | P a g e
CIRCUIT DIAGRAM
You can either connect all the shown connections for uploading the program to
check the working or you can assemble the bot completely and then proceed with
the connections. Both ways the connections are very simple and you should be able
to get it right.
Based on the robotic chassis that you are using you might not be able to use the
same type of container that I am using. In that case use your own creativity to set
up the pumping system. However the code will remain same. I used a small
aluminium can (cool drinks can) to set the pump inside it and poured water inside
it. I then assembled the whole can on top of a servo motor to control the direction
of water. My robot looks something like this after assembly.
11 | P a g e
COMPONENT LIST
1. Arduino UNO
4. Breadboard
6. Wheel(any type)
7. A small can
12 | P a g e
Consist Of:
1) Arduino Uno :
The Arduino Uno board is a microcontroller based on the ATmaga328. It
has 14 digital Input /Output pins in which 6 can be used as PWM
Outputs ,a 16 MHZ ceramic resonator , an ICSPheader, a use USB
connection , 6 analog inputs a power jack and a reset button .
2) Sensor Fire module:
A flame sensor detectors the presence of fire of fire or flames. In
extremely hazardous environments, flame sensor work to minimize the
risks associated with fire . IR Receiver which is used to detect the fire.
When fire burns it emits a small amount of Infra-read light , this light
will be recived by the IRreciver on the sensor module.
3) D.C. MOTOR:
A D.C motor is any of a class of rotary electrical machines that
converts direct current electrical energy into mechanical energy
. the most common types rely on the forces of DC motors have
some iternal mechanism, either electromechanical or electronic to
change the direction of current flow in part of the motor.
4) MOTOR DRIVER :
The Motor Driver is a madule for motors that allows you to control the
working speed and directions of two motors si,ultaneously . this Motor
Driver is designed and developed based on L293D is a16 Pin Motor
Driver IC. This is designed to provide bidirectional drive current at
voltages from 5Vto 36V .
5) Relay coil:
current flowing through the coil of the relay creats a magnetic field
which attracts a lever and changes the switch contacts …. The coil of a
relay passes a relatively large current , typically 30mA for a 12v relay ,
13 | P a g e
but it can be as much as 100mA for relays designed to operate from
lower voltage.
6) Breadboard:
A breadboard is a solderless device for temporary prototype with
electronics and test circurit designs. Most electronic components in
electrnic circuits can be interconnected by inserting their leads or
terminals into the holes and then making connections through wires
where appropriate.
7) JUMPER WIRE:
A jump wire (also know 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
sometime 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..
8) Water pump:
N the pump in the cooling system of an automobile that cause the water
to circulate . type of : pump a mechanical device that moves fluid or gas
by pressur or suction.
14 | P a g e
PROGRAMING YOUR ARDUINO
INCLUDE 328P-PU
if (digitalRead(Left_S) ==1 && digitalRead(Right_S)==1 && digitalRead(Forward_S)
==1) //If Fire not detected all sensors are zero
digitalWrite(LM1, HIGH);
digitalWrite(LM2, HIGH);
digitalWrite(RM1, HIGH);
digitalWrite(RM2, HIGH);
15 | P a g e
MICROCONTROLLER UNIT
Introduction to ATmega328:
ATmega 328 has 1KB Electrically Erasable Programmable Read Only Memory
(EEPROM). This property shows if the electric supply supplied to the micro-
controller is removed, even then it can store the data and can provide results after
providing it with the electric supply. Moreover, ATmega-328 has 2KB Static
Random Access Memory (SRAM). Other characteristics will be explained later.
ATmega 328 has several different features which make it the most popular device
in today’s market. These features consist of advanced RISC architecture, good
performance, low power consumption, real timer counter having separate
oscillator, 6 PWM pins, programmable Serial USART, programming lock for
software security, throughput up to 20 MIPS etc. ATmega-328 is mostly used
in Arduino.
16 | P a g e
PIN CONFIGURATION
17 | P a g e
ATMEGA-328 PIN DESCRIPTION
Functions associated with the pins must be known in order to use the
device appropriately.
ATmega-328 pins are divided into different ports which are given in
detail below.
Port A consists of the pins from PA0 to PA7. These pins serve as
analog input to analog to digital converters. If analog to digital
converter is not used, port A acts as an eight (8) bit bidirectional
input/output port.
Port B consists of the pins from PB0 to PB7. This port is an 8 bit
bidirectional port having an internal pull-up resistor.
Port C consists of the pins from PC0 to PC7. The output buffers
of port C has symmetrical drive characteristics with source capability
as well high sink.
18 | P a g e
ATmaga 328 PORT
19 | P a g e
ATMEGA-328 ARCHITECTURE
20 | P a g e
ATMEGA-328 MEMORY
ATmega 328 has three types of memories e.g. EEPROM, SRAM etc.
21 | P a g e
ATMEGA-328 BLOCK DIAGRAM
Block diagram shows the internal circuitry and the flow of the program of any
device.
22 | P a g e
ATMEGA328 ARDUINO PIN
The encircled section analog pins consists of the Arduino pins which are
connected to the corresponding AVR micro
micro-controller
controller ATmega-328
ATmega pins.
I have written both of the pins in front of each other, it will help to
understand easily.
If you want to work on this Arduino board then you must try
these Arduino Projects for Beginners
Beginners,, they will help to get your hands on
Arduino
23 | P a g e
APPLICATIONS
Quad-copter and even small aero-plane can also be designed through it.
i have designed this Home Security System using Arduino, you should
have a look
24 | P a g e
ARDUINO-UNO
25 | P a g e
16 MHz ceramic resonator, an ICSP header, a USB connection, 6 analog
inputs, a power jack and a reset button. This contains all the required
support needed for microcontroller. In order to get started, they are simply
connected to a computer with a USB cable or with a AC-to-DC adapter or
battery. Arduino Uno Board varies from all other boards and they will not
use the FTDI USB-to-serial driver chip in them. It is featured by the
Atmega16U2 (Atmega8U2 up to version R2) programmed as a USB-to-
serial converter.
ARDUINO-BLOCK-DIAGRAM
26 | P a g e
Arduino Uno with Digital Input/Output
There are various types of Arduino boards in which many of them were
third-party compatible versions. The most official versions available are the
Arduino Uno R3 and the Arduino Nano V3. Both of these run a 16MHz
Atmel ATmega328P 8-bit microcontroller with 32KB of flash RAM 14 digital
I/O and six analogue I/O and the 32KB will not sound like as if running
Windows. Arduino projects can be stand-alone or they can communicate
with software on running on a computer. For e.g. Flash, Processing,
Max/MSP). The board is clocked by a 16 MHz ceramic resonator and has a
USB connection for power and communication. You can easily add micro
SD/SD card storage for bigger tasks.
27 | P a g e
Features of the Arduino Uno Board
The chip on the board plugs straight into your USB port and supports
on your computer as a virtual serial port. The benefit of this setup is
that serial communication is an extremely easy protocol which is
time-tested and USB makes connection with modern computers and
makes it comfortable.
28 | P a g e
It is a 16 MHz clock which is fast enough for most applications and
does not speeds up the microcontroller.
13 digital pins and 6 analog pins. This sort of pins allows you to
connect hardware to your Arduino Uno board externally. These pins
are used as a key for extending the computing capability of the
Arduino Uno into the real world. Simply plug your electronic devices
and sensors into the sockets that correspond to each of these pins
and you are good to go.
This has an ICSP connector for bypassing the USB port and
interfacing the Arduino directly as a serial device. This port is
necessary to re-bootload your chip if it corrupts and can no longer
used to your computer.
29 | P a g e
It has a 32 KB of flash memory for storing your code.
Arduino was created in the year 2005 by two Italian engineers David
Cuartielles and Massimo Banzi with the goal of keeping in mind about
students to make them learn how to program the Arduino uno
microcontroller and improve their skills about electronics and use it in the
real world.
30 | P a g e
ATmega168/328-Arduino Pin Mapping:
31 | P a g e
ATmega168-328Arduino Pin Mapping
Programming:
Select “Arduino Uno from the Tools > Board menu (according to the
microcontroller on your board).
The ATmega16U2 (or 8U2 in the rev1 and rev2 boards) firmware
source code is available .
32 | P a g e
Pin Diagram of Arduino Uno
You can then use Atmel’s FLIP software (Windows) or the DFU
programmer (Mac OS X and Linux) to load a new firmware. Or you can use
the ISP header with an external programmer (overwriting the DFU
bootloader).
33 | P a g e
Arduino Uno Starter Kit
34 | P a g e
Arduino Based Home Automation
35 | P a g e
Arduino Based Auto Intensity Control
36 | P a g e
CODE
int pos = 0;
boolean fire = false;
/*-------defining Inputs------*/
#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 7
void setup()
{
pinMode(Forward_S, INPUT);
pinMode(LM1, OUTPUT);
pinMode(LM2, OUTPUT);
pinMode(RM1, OUTPUT);
pinMode(RM2, OUTPUT);
pinMode(13,OUTPUT);
pos=digitalRead(8);
void loop()
{
if(digitalRead(8)==0)
{
37 | P a g e
digitalWrite(LM1, HIGH);
digitalWrite(LM2, LOW);
digitalWrite(RM1, HIGH);
digitalWrite(RM2, LOW);
digitalWrite(13, LOW);
}
else
{
digitalWrite(LM1, LOW);
digitalWrite(LM2, LOW);
digitalWrite(RM1, LOW);
digitalWrite(RM2, LOW);
digitalWrite(13, HIGH);
38 | P a g e
WORKING OF IR SENSOR OR FLAME SENSOR
The main brain of this project is the Arduino, but in-order to sense fire we
use the Fire sensor module (flame sensor)
39 | P a g e
ROBOT CHASIS
We detect the direction of the fire we can use the motors to move near the
fire by driving our motors through the L293D module. When near a fire we
have to put it out using water. Using a small container we can carry water,
a 5V pump is also placed in the container and the whole container is placed
on top of a servo motor so that we can control the direction in which the
water has to be sprayed. Let’s proceed with the connections now
40 | P a g e
Working Principle of Relay
The inner section of the relay is shown in the figure below. It has
an iron core which is wound by a control coil. The power supply is
given to the coil through the contacts of the load and the control
switch. The current flows through the coil produces the magnetic
field around it.
41 | P a g e
Due to this magnetic field, the upper arm of the magnet attracts
the lower arm. Hence close the circuit, which makes the current
flow through the load. If the contact is already closed, then it
moves oppositely and hence open the contacts.
42 | P a g e
CONSTRUCTION of RELAY
The relay operates both electrically and mechanically. It consists
electromagnetic and sets of contacts which perform the operation
of the switching. The construction of relay is mainly classified into
four groups. They are the contacts, bearings, electromechanical
design, terminations and housing.
Contacts :–
The contacts are the most important part of the relay that affects
the reliability. The good contact gives limited contact resistance
and reduced contact wear. The selection of the contact material
depends upon the several factors like nature of the current to be
interrupted, the magnitude of the current to be interrupted,
frequency and voltage of operation.
Bearing :–
43 | P a g e
Electromechanical design :–
44 | P a g e
Concept:
It works on the concept of H-bridge. H-bridge is a circuit which
allows the voltage to be flown in either direction. As you know
voltage need to change its direction for being able to rotate the
motor in clockwise or anticlockwise direction, Hence H-bridge IC
are ideal for driving a DC motor.
In a single L293D chip there are two h-Bridge circuit inside the IC
which can rotate two dc motor independently. Due its size it is
very much used in robotic application for controlling DC motors.
Given below is the pin diagram of a L293D motor controller.
There are two Enable pins on l293d. Pin 1 and pin 9, for being
able to drive the motor, the pin 1 and 9 need to be high. For
driving the motor with left H-bridge you need to enable pin 1 to
high. And for right H-Bridge you need to make the pin 9 to high.
If anyone of the either pin1 or pin9 goes low then the motor in
the corresponding section will suspend working. It’s like a switch.
TIP: you can simply connect the pin16 VCC (5v) to pin 1 and pin
9 to make them high.
45 | P a g e
L293D Pin Diagram
46 | P a g e
Working of L293D
There are 4 input pins for l293d, pin 2,7 on the left and pin 15
,10 on the right as shown on the pin diagram. Left input pins will
regulate the rotation of motor connected across left side and right
input for motor on the right hand side. The motors are rotated on
the basis of the inputs provided across the input pins as LOGIC 0
or LOGIC 1.
47 | P a g e
Circuit For l293d motor driver
48 | P a g e
Voltage Specification:
VCC is the voltage that it needs for its own internal operation 5v;
L293D will not use this voltage for driving the motor. For driving
the motors it has a separate provision to provide motor supply
VSS (V supply). L293d will use this to drive the motor. It means
if you want to operate a motor at 9V then you need to provide a
Supply of 9V across VSS Motor supply.
The maximum voltage for VSS motor supply is 36V. It can supply
a max current of 600mA per channel.Since it can drive motors Up
to 36v hence you can drive pretty big motors with this l293d.
VCC pin 16 is the voltage for its own internal Operation. The
maximum voltage ranges from 5v and upto 36v.
49 | P a g e
DIGRAM OF MOTOR DIVER L293D
50 | P a g e
BREADBOARD
51 | P a g e
Working Principle Of A DC Motor
52 | P a g e
What is a Jumper Wire?
Jumper wires are simply wires that have connector pins at each end,
allowing them to be used to connect two points to each other without
soldering. Jumper wires are typically used with breadboards and other
prototyping tools in order to make it easy to change a circuit as needed.
Fairly simple. In fact, it doesn’t get much more basic than jumper wires.
53 | P a g e
What Do the Colors Mean?
jumper wires come in a variety of colors, the colors don’t actually mean
anything. This means that a red jumper wire is technically the same as a
black one. But the colors can be used to your advantage in order to
differentiate between types of connections, such as ground or power.
While jumper wires are easy and inexpensive to purchase, it can also be a
fun task to challenge students to make their own. Doing so requires
insulated wire and wire strippers. However, beware that it is important not
to nick the wire when stripping off the insulation.
54 | P a g e
Types of Jumper Wires
55 | P a g e
point of the wire. Male ends have a pin protruding and can plug into things,
while female ends do not and are used to plug things into. Male-to-male
jumper wires are the most common and what you likely will use most often.
When connecting two ports on a breadboard, a male-to-male wire is what
you’ll need.
Alligator Clips:-
Alligator clips, which consist of two spring metal clips connected by wire,
are actually just fancy jumper wires! Their unique connection point (they
can be clipped on instead of inserted into) allow alligator clips to be used in
a variety of situations that would get a little awkward with a traditional
jumper wire. One of the most common uses for alligator clips in education
is with the Makey Makey, though they can also be used to connect the
ports on a LilyPad board as well as for a number of other applications.
56 | P a g e
If you want to get really fancy, it’s even possible to get jumper wires with a
male pin connection on one end and an alligator clip on the other, making it
possible to connect just about anything!
57 | P a g e
Working of Fire Fighting Robot
58 | P a g e
RESULTS AND CONCLUSIONS
In this project we aim to reduce the effect of fires accidents which usually
start from small flame, therefore people life and money would be saved.
The robot can successfully find fire and reach it without running into
obstacle
The Fire Fighting Robot employs 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
extinguishe
59 | P a g e
REFERENCE
1) https://www.researchgate.net/publication/269406029_Fire_Fighting_
Robot
2) https://www.slideshare.net/vibs1893/fire-fighting-robot-using-8051-
microcontroller
3) https://www.ijettc.org/Volume2Issue4/JETTCS-2013-08-13-084.pdf
4) www.slideshare.net/ranjithamudhiraj/fire-fighting-robot
5) http://www.slideshare.net/maastech/robotics-projects-
abstractfirefighting-robot-with
6) https://en.wikipedia.org/wiki/Arduino
60 | P a g e