Documentation
Documentation
CHAPTER 1
INTRODUCTION
1. INTRODUCTION TO ROBOTICS
It uses thermistors or ultraviolet or visible sensors to detect the fire accident. A robot
capable of extinguishing a simulated tunnel fire, industry fire and military applications are
designed and built. Ultraviolet sensors/thermistors/flame sensors will be used for initial
detection of the flame. Once the flame is detected, the robot sounds the alarm with the help of
buzzer provided to it, the robot actuates an electronic valve releasing sprinkles of water on the
flame.
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. This robot provides fire protection
when there is a fire in a tunnel or in an industry by using automatic control of robot by the use
of microcontroller in order to reduced loss of life and property damage. This robot uses dc
motors, castor wheel, microcontroller, sensors, pump and sprinkler. Microcontroller is the heart
of the project. Microcontroller controls all the parts of the robot by the use of programming.
In this robot as the fire sensor senses the fire, it sends the signal to microcontroller; since the
signal of the sensor is very weak the amplifier is used so that it can amplify the signal and sends
it to microcontroller. As soon as microcontroller receives the signal a buzzer sounds, the buzzer
sound is to intimate the occurrence of fire accident. After the sounding of the buzzer
microcontroller actuates the driver circuit and it drives the robot towards fire
place, as the robot reaches near the fire microcontroller actuates the relay and pump switch
is made ON and water is sprinkled on the fire through the sprinkler.
Six degrees of freedom are, in principle, enough to manipulate objects in space with three
possible independent translations and three independent rotations. But, with a given architecture
of a robot arm and a given working environment, restrictions of workspace, dexterity and
obstacles call for additional degree(s) of free- dom. In such cases, as a human being uses
additional freedoms of the body to supplement the capabilities of the arm for enhancing the
reach, manipulate objects comfortably and reach below the table or around the corner objects,
additional degrees of freedom can be provided in the robot arm with extra joints and links. Such
robots are called redundant robots (because they use more inputs than necessary) and are used
for the purposes of workspace enhancement and avoidance of singularities and obstacles. With
a redundant robot, a particular point can be reached in infinite number of ways — to choose one
of those infinite ways is the problem of redundancy resolution, which is solved by optimizing
the performance.
Robots in space applications are light, can handle greater masses and have a special
characteristic that, unlike robots on earth, their frames are not fixed, rather they float with the
rest of the robot, together with the space vehicle.
Truly speaking, all solid bodies are flexible. Conventional behavior of robot manipulators
needs to consider the links of a robot as rigid, for which the deflections have to be negligible
from the viewpoint of positional accuracy. Consequently, the links are to be designed stronger
than necessary and heavy. But, from a physical point of view, it is not necessary and we should
not mind the links being flexible as long as they are within elastic limits and we know their
behavior. So, the recent interest has been to work with flexible robots and to take advantage of
St.Ann’s College of Engineering and Technology, Chirala. Page 2
DEPARTMENT OF MECHANICAL ENGINEERING
their light weight by incorporating their flexibility into the mathematical model which, of
course, complicates the dynamics of the system --- a price to be paid for the advantage gained.
The traditional serial chain robots, due to their cantilever structure, have less load carrying
capacity. Actuations off the base aggravate this problem and make the robot bulky.
Consequently, the serial robots tend to bend at high load and vibrate at high speed. Though they
possess a large workspace, the positioning capability is rather poor. So, where high load
carrying capacity and precise positioning is of prime concern, an alternative is provided by
parallel-actuated and closed-loop robots which have attracted tremendous research interest in
the last 15 years.
As a human being uses both arms to handle a heavy load, three fingers in parallel for doing
a precise work like writing and as animal body is supported on four legs with provision of in-
parallel actuation at the leg joints, robot manipulators also can be designed with the end effector
(hand) connected to the frame by parallel chains of joints and links having the actuations
distributed among the various chains or legs. The most celebrated among the parallel
manipulators is the six-degrees-of- freedom parallel manipulator called the Stewart platform
which has its end-effector connected to the ground by six extensible legs having ball-socket
joints at the ends, the extensions of the legs being done by six linear actuators.
Parallel robots, in general, provide high structural rigidity and load carrying capacity, good
positioning capabilities and have less vibration. But, they generally have restricted workspaces
and their kinematics and dynamics is quite complicated to study and analysis. Typical
applications of parallel robots include applications where high load capacity and precise
positioning are required, use as an assembly workstation, dexterous wrist and
micromanipulators. The application of the concept of parallel actuation has uses in cooperating
robots and in multi-fingered gripping and manipulation.
While manipulation robots manipulate objects by utilizing the freedom available at the
joints, mobile robots can carry objects to greater distances by body movement. In ordinary life,
we use trains, automobiles and animals for conveyance. Similarly, in robotics, we have tracked,
wheeled and legged vehicles. Though all of these have their own applications, walking
machines have enjoyed the maximum research interest due to their versatility over terrain
irregularities and greater mobility, and work is mostly focused on machines walking on two to
six legs.
Till now, most of these walking machines have succeeded mostly in laboratory conditions
and have achieved little breakthrough on completely unstructured ground, but the attempts in
this direction promise a high potential. Recently BARC has developed a walking machine with
six legs (presented in National Convention on Industrial Problems in Machines and
Mechanisms 1994) which moves forward and can take turns also, but the walking speed is quite
low. A challenging field of research is biped locomotion which gives rise to a problem of
stability, which is evident as equilibrium of a body with less than three supports is precarious.
The ease of biped locomotion in human beings can be attributed to their erect body
structure, the extent and nature of the surface of the foot and an extremely smart nervous
system — conditions simulating which in machines are a really challenging task.
The traditional control strategy of robot manipulators is completely error driven and shows
poor performance at high-speeds, when the high dynamic forces act as disturbances. The
current trend is towards model-based control, where the dynamic forces are incorporated in the
control strategy as feed forward gains and feed- back compensations along with the servo-
controller which is required only to take care of external noise and other factors not included in
the dynamic model of the robot. As is expected, the model-based control scheme exhibits better
performance, but demands higher computational load in real time. A particular area of model-
based control is adaptive control, which is useful when the dynamic parameters of the robot are
not well-known a priori. The controller adapts itself during execution of tasks and improves the
values of the dynamic parameters.
Conventional control schemes primarily concentrate on position control. But certain tasks
(e.g. cleaning a window pane) require the maintenance of some required contact forces. Cur-
rent trend is to control the force in such directions (in such applications) and position in other
directions. The use of compliance (flexibility) also is getting popular in control. In applications
like insertion of a peg into a hole, if the positional accuracy is poor, the forces stemming from
such errors tend to correct the position, if some compliance is provided at the wrist.
Intelligence, as pertaining to human beings, is a very subtle and profound quality which
cannot be learnt or taught (though can be enhanced in scope and application) and cannot be de-
scribed in terms of logic and knowledge alone. Again, knowledge is much more than a collec-
tion of pieces of information. As the so-called machine intelligence of the present time basically
stems from the information and logic coded in computer, we cannot expect true ‘intelligence’ in
a robot right now in the sense of the robot having true ‘understanding’. Still, the intelligent ro-
bots, as they are called, constitute an extremely popular topic in robotics, because they can per-
form various tasks in an apparently intelligent manner.
For example, machine intelligence can be applied for path planning and obstacle avoidance
by maintaining (and updating) a complete CAD model of the working environment such that
the robot navigates through obstacles without collision. As sight, sound and touch assist human
intelligence so far as the knowledge of the external world is concerned, robots also are equipped
with sensors (optical, ultrasonic, tactile) for feedback. When a robot has to work in a poorly
structured or un- structured environment (the environment not being completely known a pri-
ori), the robot intelligence heavily relies on ‘vision’, which is the process of extracting, charac-
terizing and interpreting information from two-dimensional images of the three-dimensional
world. In the whole processing of an image, the interpretation of a scene is the most difficult
task and requires highest level of intelligence. The maturity of this technique is expected to pro-
vide tremendous decision-making capabilities to the robots.
The dream of perfection for the science of robotics is a system equipped with high-perfor-
mance sensors and stereo vision, such that it can work in unstructured environment where
changes in scenario may be rapid and unexpected. In addition, certain degree of fault-tolerance
is desirable with decision-making capabilities such that it can perform tasks assigned to it as
long as they are physically possible.
Fully autonomous robots only appeared in the second half of the 20th century. The first dig-
itally operated and programmable robot, the Unimate, was installed in 1961 to lift hot pieces of
metal from a die casting machine and stack them. Commercial and industrial robots are wide-
spread today and used to perform jobs more cheaply, or more accurately and reliably, than hu-
mans. They are also employed in jobs which are too dirty, dangerous, or dull to be suitable for
humans. Robots are widely used in manufacturing, assembly, packing and packaging, transport,
earth and space exploration, surgery, weaponry, laboratory research, safety, and the mass pro-
duction of consumer and industrial goods.
Robotics is based on two enabling technologies: Telemanipulators and the ability of numeri-
cal control of machines.
Telemanipulators are remotely controlled machines which usually consist of an arm and a
gripper. The movements of arm and gripper follow the instructions the human gives through his
control device. First telemanipulators have been used to deal with radio-active material.
Numeric control allows controlling machines very precisely in relation to a given coordinate
system. It was first used in 1952 at the MIT and lead to the first programming language for ma-
chines (called APT: Automatic Programmed Tools).
The combination of both of these techniques leads to the first programmable telemanipula-
tor. The first industrial robot using these principles was installed in 1961. These are the robots
one knows from industrial facilities like car construction plants.
The development of mobile robots was driven by the desire to automate transportation in
production processes and autonomous transport systems.New forms of mobile robots have been
constructed lately like insectoid robots with many legs modelled after examples nature gave us
or autonomous robots for underwater usage.
Humanoid robots are being developed since 1975 when Wabot-I was presented in Japan.
The current Wabot-III already has some minor cognitive capabilities. Another humanoid robot
is "Cog", developed in the MIT-AI-Lab since 1994. Honda’s humanoid robot became well
known in the public when presented back in 1999. Although it is remote controlled by humans
it can walk autonomously (on the floor and stairs).
Robots are physical agents that perform tasks by manipulating the physical world. They are
equipped with sensors to perceive their environment and effectors to assert physical forces on it
(covered in more detail in next section). As mentioned before Robots can be put into three main
categories: manipulators, mobile robots and humanoid robots.
Robotics and AI
Artificial intelligence is a theory. The base object is the agent who is the "actor". It is real-
ized in software. Robots are manufactured as hardware. The connection between those two is
that the control of the robot is a software agent that reads data from the sensors decides what to
do next and then directs the effectors to act in the physical world.
Sensor
A sensor is a device that measures a physical quantity and converts it into a signal which
can be read by an observer or by an instrument. For example, a mercury-in-glass thermometer
converts the measured temperature into expansion and contraction of a liquid which can be read
on a calibrated glass tube. A thermocouple converts temperature to an output voltage which can
be read by a voltmeter. For accuracy, most sensors are calibrated against known standards.
Effectors
Effectors are the means by which robots manipulate the environment, move and change the
shape of their bodies
In robotics, end effector is the device at the end of a robotic arm, designed to interact with
the environment. The exact nature of this device depends on the application of the robot.
In the strict definition, which originates from serial robotic manipulators, the end effectors
means the last link (or end) of the robot. At this endpoint the tools are attached. In a wider
sense, end effectors can be seen as the part of a robot that interacts with the work environment.
This does not refer to the wheels of a mobile robot or the feet of a humanoid robot which are
also not end effectors—they are part of the robot's mobility.
Characteristic of robot
Sensing First of all your robot would have to be able to sense its surroundings. It
would do this in ways that are not unsimilar to the way that you sense your surroundings. Giv-
ing your robot sensors: light sensors (eyes), touch and pressure sensors (hands), chemical sen-
sors (nose), hearing and sonar sensors (ears), and taste (tongue) will give your robot awareness
of its environment.
Movement a robot needs to be able to move around its environment. Whether rolling
on wheels, walking on legs or propelling by thrusters a robot needs to be able to move. To
count as a robot either the whole robot moves, like the Sojourner or just parts of the robot
moves, like the Canada Arm.
CHAPTER 2
LITERATURE REVIEW
2.1 Introduction
This chapter are discussing about a study on the previous project based on fire fighter
robot project and thesis. The entire project had been studied and analyzed their principles,
method and applications.
2.2 Robot
Robot is a machine that looks like a human being and performs various complex tasks.
Now, let’s have a good look at existing firefighting robots.
The robot could operate only in corridor-room environment, without strange objects.
Only one fire source is meant and there are auxiliary marks on floor that mean for example
room entrance.
Pokey the Fire-Fighting Robot (USA) is the firefighting robot that made its way out of
competitions, and became more “serious” than other systems. In there are detailed description of
used equipment and basic algorithms of operating. Robots operating environment is a building,
so the robot is equipped with necessary sensors, for example, with a line sensor, that could be
unuseful in conditions of dense smoke. The main advantages of robot are:
using of two types of fire sensors,
working in different ways,
Using of complex firefighting tool.
The device is described as autonomous mean of firefighting in houses and any civil buildings.
Fire Protection Robot (USA) - another competition project, developed for «15th Annual
Trinity College Fire Fighting Robot Competition». Robot has more complex organization,
than one, shown above and is oriented for solving larger variety of tasks. The main system’s
advantages are:
low-efficiencycomputer ;
low-power chassis;
absence of home-return algorithm;
absence of mapping;
Firefighting Robot is an American Trinity College development, that was only on early-
prototype stage (in 2008). It was supposed to this robot to be an autonomous device, with 15
minutes limited working time, after which it will return to the supply station. This approach is
one of the best variants for firefighting in houses and non-industrial buildings. The main
disadvantages are:
Karel Čapek (1938) The word robot was introduced by Czech writer Karel
Čapek in his play R.U.R. (Rossum's Universal Robots)
premiered in 1920.
George (1914) A humanoid robot known as Elektro, exhibited at the 1939
Westinghouse and 1940 World's Fairs. Seven feet tall, weighing 265
pounds, humanoid in appearance, it could walk by voice
command, talk (using a 78-rpm record player).
Nikola Tesla (1943) Tesla discovered remote control and patented a radio
controlled robot-boat/submarine in November 8, 1898.
Tesla used radio waves to move the craft in a small pool of
water in Madison Square Garden, New York City during the
Electrical Exhibition in 1898.
William Grey (1977) The first electronic autonomous robot was created by
Walter William Grey Walter at Bristol University, England in 1948.
It was named Elsie, or the Bristol Tortoise. This robot could
sense light and contact with external objects, and use these
stimuli to navigate.
Figure 2.1 : Rolly Firefighter Robot by William Dubel, Hector Gongora, KevinBechtold,
and Daisy Diaz
This firefighting robot is designed to search for a fire in a small floor plan of a
house, extinguish the fire (by placing a cup over the LEDs), and then return to the
front of the house. The navigation of the robot throughout the house is achieved
by data provided by a line tracker and ultrasound transducers. The deployment of
the extinguishing device is implemented with a custom arm controlled by servos.
2.3.2 Fire Protection Robot by Viet Do, Ryan Norder, and Ryan Spraetz
Figure 2.2 : Fire Protection Robot by Viet Do, Ryan Norder, and Ryan Spraetz
This robot designed to enter a room and seek out a spot where there is extreme heat
possibly due to a fire. Upon entering the room, the robot will once again use the color
camera to pinpoint a spot where there is a large concentration of light. Once the robot has
driven up to the light source, the heat sensor is activated to check and see if there is a large
amount of heat being generated. If there is an excessive amount of heat generated, the fan is
turned on and rotated quickly with a servo motor to put out the flame. If the flame is not put
out the fan will turn on again and continue to blow on the flame. Once the flame is
extinguished, the robot leaves the home.
This project will discuss about the development of a mobile robot which is can be train
and control an autonomous robot that has a multifunction. The robot acquires basic
navigation skills as well as the ability to detect a fire and to extinguish it. This robot is
controlled by a microcontroller PlC16F84A and supported by RC circuits as driver for DC
motors and other electronic components. This robot equipped with fire sensor that can be
expand and attract so it can recognize and response to fire to operating water pump system.
The battery monitoring circuit also equipped in this robot to make an easier to monitoring
the overall robot battery power.
2.4 GSM Modem : GSM is a cellular network, which means that mobile phones connect
to it by searching for cells in the immediate vicinity. Table 2.1 show the types of GSM Modem
and used technology.
Table 2.2 : The type of GSM Modem and Technology
MOBILE
YEAR STANDARD TELEPHONE TECHNOLOGY PRIMARY
SYSTEM MARKETS
EUROPE,MID
NORDIC MOBILE ANALOG UE
1981 NMT540 TELEPHONY DLE EAST
TOTAL ACCESS
EUROPE
1985 TACS COMMUNUNIC ANALOG UE
AND CHINA
ATION SYSTEM
NORDIC EUROPE,MID
1986 NMT900 MOBILE ANALOG UE DLE EAST
TELEPHONY
GLOBAL
SYSTEM FOR
WORLD-
1991 GSM MOBILE DIGITAL
WIDE
COMMUNICATI
ON
DIVISION DIGITAL
1991 TDMA TIME AMERICA
MULTIPLE ACCESS
DIVISION DIGITAL NORTH
1992 CDMA CODE MULTIPLE ACCESS AMERICA,
KOREA
GLOBAL
SYSTEM FOR
GSM 1800 MOBILE
1993 DIGITAL EUROPE
COMMUNICATI
ON
PERSONAL
PDC DIGITAL
1994 DIGITAL JAPAN
CELLULAR
PERSONAL
PCS 1900 COMPUTER DIGITAL NORTH
1995
SERVICES AMERICA
GLOBAL
SYSTEM FOR
GSM 800 MOBILE
2001 DIGITAL NORTH
COMMUNICATI
AMERICA
ON
GLOBAL
SYSTEM FOR
2006-Till GSM 450 MOBILE WORLD-
DIGITAL
Date COMMUNICATI WIDE
ON
CHAPTER 3
Operation of Robot
There are also several different ways to describe manipulator motions. The
major characteristics of motion description are the coordinate system in which
they are expressed, whether they are absolute or relative, and the complexity of
the motion description.
Principle Operation
Co-ordinate system
The two most important systems are joint angles and Cartesian (X,Y,Z) coor-
dinates. Y-axis, Z-axis, X-axis.
A few robots support cylindrical coordinates, but these are probable nod as
useful as Cartesian because they are manipulator-centered rather than work space
centered.
The form of a joint angle description is just a list of the joint angles in all ma-
nipulator designs, any such list corresponds universally to one position & orienta-
tion of the end effectors. This is typical of simple control systems.
A frame fixed in the end effectors and rotating with it is also very useful in as-
sembly task for describing reaching motions. For ex. Animation calls this the
“Tools Frame”. Another useful moving frame moves with a conveyor belt.
done by human beings. The term robot is used for a manipulator that has a built in
control system and is capable of stand along operation.
The motion of the end effect or is generated by controlling the position and ve-
locity of the robots axes of motion. An axis of motion in robotics means degree of
freedom in which robot can move. Basically the robot needs six axes of motion
(or degree of freedom) to reach an arbitrary point with a specific orientation in
space. A different orientation might completely change the position of robot arm.
For example to place a weld on the top side of beam requires completely different
orientation from the required to place a weld at almost the same point but on the
beam and consequently the position of the arm is changed. Typically the arm has
three degrees of freedom, the linear or rotary motion and the wrist section con-
tents three rotary motion the combination of these six motions will orient the ro-
bots end effectors and position it at the required point in space nevertheless, with
increase in the number of freedom, the complexity of the machine increased and
so also the cost. Most of the industrial operations may be completed with only 3
to 6 degrees of freedom.
Robot Actuators
PROJECT SPECIFICATIONS:
POWER SUPPLY:
7805 is a voltage regulation IC which is used to supply 5V Direct current to
the microcontroller.
Controller Used:
8051 microcontroller is used in this project. It is the central processing unit of
project. There are 40 pins in this controller in 16 pin are used as I/O pin. On these
pin motor driver IC and decoder is attached.
Pump:
5V Brushless DC Pump is act as a actuator for the constant supply of water
from the tank.
Motors:
200 Rpm DC Motors are used for the movement of the robot in forward/ back-
ward and left/right.
Batteries:
There are five 4V rechargeable batteries are used in the bot. Three batteries are
connected in series to the L293D to supply 12V to the motor. Other two batteries
are connected in series to the power supply.
RF Module:
TX-RX 02 (433 MHz) is used to transmit and receive signal wirelessly to robot and remote
control.
Component of Robot
There are number of components are used for the working of the robot. These system
make the motion and functioning of system possible. Different component perform
different operation like actuation, transmission, control, motion etc. To perform these
function following component are used which is explain in subsection.
Applications:
CIRCUIT DIAGRAM
Circuit diagram of the following transmitter and receiver are as follows
8051 Microcontroller
8051 microcontroller is used in this project. It is the central processing unit of project. There
are 40 pins in this controller in 16 pin are used as I/O pin. On these pin motor driver IC and decoder
is attached.
It is an 8bit microcontroller.
8bit accumulator, 8bit Register and 8bit ALU.
On chip RAM 128 bites (data memory).
On chip ROM 4 Kbytes (program memory).
Two 16bit counter/ timer.
A 16 bit dptr(data pointer)
Two levels of interrupt priority.
4 byte bi-directional input/ output port.
Power saving mode (on some derivatives).
16bit address bus:-it can access 2^16 memory locations:-64kb (65536) each of RAM
and ROM.
It is an inclusion of Boolean processing system, have an ability to allow logic opera-
tions to be carried out on registers and RAM.
8bit data bus:-it can access 8bit of data in one operation.
UART (this serial communication port makes chip to use simply as a serial communi-
cation interface).
It has four separate Register set. (Each contains 8 Registers (R0 to R7)).
Pin Configuration
Pin 9:RSA logic one on this pin disables the microcontroller and clears the contents of most
registers. In other words, the positive voltage on this pin resets the microcontroller. By applying
logic zero to this pin, the program starts execution from the beginning.
Pins 10-17:Port3 Similar to port 1, each of these pins can serve as general input or output.
Besides, all of them have alternative functions:
Pin12:INT0Interrupt 0 input.
Pin 18, 19: X2, X1 Internal oscillator input and output. A quartz crystal which specifies
operating frequency is usually connected to these pins. Instead of it, miniature ceramics resonators
can also be used for frequency stability. Later versions of microcontrollers operate at a frequency of
0 Hz up to over 50 Hz.
Pins 21-28: If there is no intention to use external memory then these port pins are
configured as general inputs/outputs. In case external memory is used, the higher address byte, i.e.
addresses A8-A15 will appear on this port. Even though memory with capacity of 64Kb is not used,
which means that not all eight port bits are used for its addressing, the rest of them are not available
as inputs/outputs.
Pin 29: PSEN If external ROM is used for storing program then a logic zero (0) appears on
it every time the microcontroller reads a byte from memory.
Pin 30: ALE Prior to reading from external memory, the microcontroller puts the lower
address byte (A0-A7) on P0 and activates the ALE output. After receiving signal from the ALE pin,
the external register (usually 74HCT373 or 74HCT375 add-on chip) memorizes the state of P0 and
uses it as a memory chip address. Immediately after that, the ALU pin is returned its previous logic
state and P0 is now used as a Data Bus. As seen, port data multiplexing is performed by means of
only one additional (and cheap) integrated circuit. In other words, this port is used for both data and
address transmission.
Pin 31: EA By applying logic zero to this pin, P2 and P3 are used for data and address
transmission with no regard to whether there is internal memory or not. It means that even there is a
program written to the microcontroller, it will not be executed. Instead, the program written to
external ROM will be executed. By applying logic one to the EA pin, the microcontroller will use
both memories, first internal then external (if exists).
Pins 32-39: Similar to P2, if external memory is not used, these pins can be used as general
inputs/outputs. Otherwise, P0 is configured as address output (A0-A7) when the ALE pin is driven
high (1) or as data output (Data Bus) when the ALE pin is driven low (0).
Port 1
P1 is a true I/O port, because it doesn't have any alternative functions as is the case with P0, but
can be configured as general I/O only. It has a pull-up resistor built-in and is completely compatible
with TTL circuits.
Port 2
P2 acts similarly to P0 when external memory is used. Pins of this port occupy addresses
intended for external memory chip. This time it is about the higher address byte with addresses A8-
A15. When no memory is added, this port can be used as a general input/output port showing
features similar to P1.
Port 3
All port pins can be used as general I/O, but they also have an alternative function. In order to
use these alternative functions, a logic one (1) must be applied to appropriate bit of the P3 register.
In tems of hardware, this port is similar to P0, with the difference that its pins have a pull-up resistor
built-in.
Memory Organization
The 8051 has two types of memory and these are Program Memory and Data Memory. Program
Memory (ROM) is used to permanently save the program being executed, while Data Memory
(RAM) is used for temporarily storing data and intermediate results created and used during the
operation of the microcontroller. Depending on the model in use (we are still talking about the 8051
microcontroller family in general) at most a few Kb of ROM and 128 or 256 bytes of RAM is used.
However…
All 8051 microcontrollers have a 16-bit addressing bus and are capable of addressing 64 kb memory.
It is neither a mistake nor a big ambition of engineers who were working on basic core development.
It is a matter of smart memory organization which makes these microcontrollers a real
“programmers’ goody“.
Program Memory
The first models of the 8051 microcontroller family did not have internal program memory. It was
added as an external separate chip. These models are recognizable by their label beginning with 803
(for example 8031 or 8032). All later models have a few Kbyte ROM embedded. Even though such
an amount of memory is sufficient for writing most of the programs, there are situations when it is
necessary to use additional memory as well. A typical example are so called lookup tables. They are
used in cases when equations describing some processes are too complicated or when there is no
time for solving them. In such cases all necessary estimates and approximates are executed in
advance and the final results are put in the tables (similar to logarithmic tables).
Data Memory
As already mentioned, Data Memory is used for temporarily storing data and intermediate results
created and used during the operation of the microcontroller. Besides, RAM memory built in the
8051 family includes many registers such as hardware counters and timers, input/output ports, serial
data buffers etc. The previous models had 256 RAM locations, while for the later models this
number was incremented by additional 128 registers. However, the first 256 memory locations
(addresses 0-FFh) are the heart of memory common to all the models belonging to the 8051 family.
Locations available to the user occupy memory space with addresses 0-7Fh, i.e. first 128 registers.
This part of RAM is divided in several blocks.
The first block consists of 4 banks each including 8 registers denoted by R0-R7. Prior to accessing
any of these registers, it is necessary to select the bank containing it. The next memory block
(address 20h-2Fh) is bit- addressable, which means that each bit has its own address (0-7Fh). Since
there are 16 such registers, this block contains in total of 128 bits with separate addresses (address of
bit 0 of the 20h byte is 0, while address of bit 7 of the 2Fh byte is 7Fh). The third group of registers
occupy addresses 2Fh-7Fh, i.e. 80 locations, and does not have any special functions or features.
Additional RAM
In order to satisfy the programmers’ constant hunger for Data Memory, the manufacturers decided to
embed an additional memory block of 128 locations into the latest versions of the 8051
microcontrollers. However, it’s not as simple as it seems to be… The problem is that electronics
performing addressing has 1 byte (8 bits) on disposal and is capable of reaching only the first 256
locations, therefore. In order to keep already existing 8-bit architecture and compatibility with other
existing models a small trick was done.
It means that additional memory block shares the same addresses with locations intended for the
SFRs (80h- FFh). In order to differentiate between these two physically separated memory spaces,
different ways of addressing are used. The SFRs memory locations are accessed by direct
addressing, while additional RAM memory locations are accessed by indirect addressing.
Memory architecture
The MCS-51 has four distinct types of memory – internal RAM, special func-
tion registers, program memory, and external data memory.
Internal RAM (IRAM) is located from address 0 to address 0xFF. IRAM from
0x00 to 0x7F can be accessed directly. IRAM from 0x80 to 0xFF must be accessed in-
directly, using the @R0 or @R1 syntax, with the address to access loaded in R0 or
R1. The 128 bits at IRAM locations 0x20–0x2F are bit-addressable.
Special function registers (SFR) are located in the same address space as
IRAM, at addresses 0x80 to 0xFF, and are accessed directly using the same instruc-
tions as for the lower half of IRAM. They cannot be accessed indirectly via @R0 or
@R1. 16 of the SFRs are also bit-addressable.
Program memory (PMEM, though less common in usage than IRAM and
XRAM) is up to 64 KB of read-only memory, starting at address 0 in a separate ad-
dress space. It may be on- or off-chip, depending on the particular model of chip being
used. Program memory is read-only, though some variants of the 8051 use on-chip
flash memory and provide a method of re-programming the memory in-system or in-
application. In addition to code, it is possible to store read-only data in program mem-
ory, accessed by the MOVC A, @DPTR instruction. Data is fetched from the address
specified in the 16-bit special function register DPTR.
External data memory (XRAM) is a third address space, also starting at address
0. It can also be on- or off-chip; what makes it "external" is that it must be accessed
using the MOVX (Move Xternal) instruction. Many variants of the 8051 include the
standard 256 bytes of IRAM plus a few KB of XRAM on the chip.
The 8051 is designed as a strict Harvard Architecture. The 8051 can only exe-
cute code fetched from program memory. The 8051 does not have any instruction to
write to program memory. Most 8051 systems respect this distinction, and so are un-
able to download and directly execute new programs. The strict Harvard architecture
has the advantage of making such systems immune to most forms of malware. Some
8051 systems have (or can be modified to have) some "dual-mapped" RAM, making
them act somewhat more like Princeton Architecture. This (partial) Princeton architec-
ture has the advantage of making it possible for a Forth Boot Loader running on the
8051 to write new native code to RAM and then execute it, leading to faster incremen-
tal and interactive Programming cycles than strict Harvard systems.
L293D is a dual H-bridge motor driver integrated circuit (IC). Motor drivers
act as current amplifiers since they take a low-current control signal and provide a
higher-current signal. This higher current signal is used to drive the motors.
L293D contains two inbuilt H-bridge driver circuits. In its common mode of
operation, two DC motors can be driven simultaneously, both in forward and reverse
direction. The motor operations of two motors can be controlled by input logic at pins
2 & 7 and 10 & 15. Input logic 00 or 11 will stop the corresponding motor. Logic 01
and 10 will rotate it in clockwise and anticlockwise directions, respectively.
Enable pins 1 and 9 (corresponding to the two motors) must be high for motors to start
operating. When an enable input is high, the associated driver gets enabled. As a re-
sult, the outputs become active and work in phase with their inputs. Similarly, when
the enable input is low, that driver is disabled, and their outputs are off and in the
high-impedance state.
Brushless DC Pump
Specifications:
Operates on 12V supply
Head of 10m
Total Power generated 28W
Technical Concept
Brushless DC Pump uses the principle of permanent magnet brushless DC motor, coupled with the
impeller in the rotor, the housing structure designed to form the chamber for operating fluid flow,
characterized by security, because there is no brush friction, so there is no spark; high efficiency,
low power consumption (energy-efficient, effective power of 70%) than brush motors and long life
(up to 10,000 hours or more), low noise (below 40 dB in one meter).
Product Specification
Product performance
1. Liquids should be no residual, so as not to block the rotor to run, but the capacity to
exclude particles is stronger than the piston pump.
2. Working environment: ambient temperature -40 to 125 degrees Celsius.
3. High temperature of working environment: according to customer requirements, the
water pump can be operated under 80-100 degrees; these pumps need to change the material level, to
enhance resistance to temperature.
4. Flow stability: The Speed Control circuit technology is able to stabilize the voltage
changes and load changes, water flow is very stable. In particular, it is suitable for users who have
the demand for a steady flow, the flow tolerance was <±10%。
5. Low noise: noise lower than the other type, between the 40-50db, based on the vol-
ume of water flow.
6. Solar features: 30, 36 series and 45 series have DC power or solar power option (solar
water pumps can be connected to the solar cells).
7. Diving feature: according to customer requirements, the pump can function with div-
ing; motor in the chassis with the resin encapsulation, waterproof performance, high dielectric
strength, safety and reliability.
8. Provided with stainless steel or precise ceramic shaft,low wear ability and corrosion
free, either fresh water or sea water can be used, minimized maintenance.
Appliances:
Applications:
Used to transport water with high pressure from one end to the other.
In our project it is used as for throwing water
Battery
These are the main power source of the project. Five rechargeable 4V each batteries are used in the
project.
Specifications:
Sealed Lead Acid Battery
Produced 12 DC 1 Amp supply
Normal Capacity:4.5Ah
Uses:
In our project it is used as input power DC supply to drive the motor using L293D.
Figure3.10: Battery
CHAPTERS 4
At the end of the shaft a nozzle is connected to a water tanks mounted water pump which is
powered from “NO” contacts of a relay that is driven by transistor Q1 from the output of MC
pin 15, thus in the event of a fire the robotic vehicle is moved over to the location by operating
the left, right, forward & backward button etc.
After it reaches the site the nozzle mounted motor takes position through the water on the
fire from the water tank mounted DC pump actuated by the relay RL1.
Thus the fire can be extinguished.
Pump
IR Sensors:
IR Photo Diodes are used as sensors. These sensors are connected to ADC pins
of the microcontroller. IR Photo diodes are connected in reverse bias to be operated as photo
diodes otherwise they will be operated as normal diodes. The voltage variations of the sensors
is given as inputs to the Micro controller and accordingly the robot is operated.
Joysticks:
The direction of the robot is controlled using joysticks. The terminals of
joysticks is connected to ADC pins of micro controller. Joysticks are usually the potentiometer,
the potential variations is given as an input to micro controller and robot is operated
accordingly.
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.
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:
Pump is a mechanical device which is used to pump water on to the fire to extinguish it. It
uses a simple motor to pump water.
CHAPTER 5
RESULTS & FUTURE SCOPE
The Fire Detector and Extinguisher Robot has been successfully executed. In its automatic mode it
can detect the fire and try to extinguish it and also by using its manual mode we can extinguish the
fire.
Applications:
Can be used in record maintaining rooms where fire can cause lose of valuable data.
Can be used in extinguishing fire where probability of explosion is high. For eg. Hotel kitchens,
LPG/CNG gas stores, etc.
Every working environment requiring permanent operator's attention. -At power plant control
rooms. -At captain bridges. -At flight control centers.
Advantages:
Prevention from dangerous incidents
Minimization of
o ecological consequences
o financial loss
o a threat to a human life
Needs no micro-controller programming.
The reconstruction of the curse of operator’s work
Disadvantages:
Doesn’t predict nor interfere with operator’s thoughts.
Cannot force directly the operator to work
FUTURE SCOPE:
In the present condition it can extinguish fire only in the way and not in
all the rooms.
It can be extended to a real fire extinguisher by replacing the water car-
rier by a carbon-di-oxide carrier and by making it to extinguish fires of
all the room using microcontroller programming.
Also the robot could not be run through the batteries because at some
conditions the current requirement for the circuit rises to about .8A
which is very high and can not be obtained using battery
Further the project can be enhanced by interfacing it with a wireless
camera so that the person controlling it can view operation of the ro-
bot remotely on a screen.
CHAPTER 6
CONCLUSION
This paper has presented a unique vision of the concepts which are used in this
particular field. It aims to promote technology innovation to achieve a reliable and efficient outcome
from the various instruments. With a common digitalized platform, these latest instruments will
enable increased flexibility in control, operation, and expansion; allow for embedded intelligence,
essentially foster the resilience of the instruments; and eventually benefit the customers with
improved services, reliability and increased convenience. The nineties witnessed quantum leaps
interface designing for improved man machine interactions. The Mechatronics application ensures a
convenient way of simplifying the life by providing more delicate and user friendly facilities in
computing devices. Now that we have proven the method, the next step is to improve the hardware.
Instead of using cumbersome modules to gather information about the user, it will be better to use
smaller and less intrusive units. The day is not far when this technology will push its way into your
house hold, making you more lazy.
This paper presents the major features and functions of the various concepts that could
be used in this field in detail through various categories. Since this initial work cannot address
everything within the proposed framework and vision, more research and development efforts are
needed to fully implement the proposed framework through a joint effort of various entities. This
autonomous robot successfully performs the task of a fire fighter in a simulated house fire.
Benefited from this technology, since the expense of activating other types of fire extinguishers may
outweigh that of a robot, where product stock could be damaged by imprecise fire control methods.
REFERENCES