Académique Documents
Professionnel Documents
Culture Documents
Usually fire accidents are being common during summer. These are found in forests and
also in commercial buildings which leads to the loss of life in many cases.
Even after calling the Fire engine in many cases they also could not handle some
dangerous situations. So we have a solution for this problem. An autonomous robot is introduced
to detect the fire and react accordingly. This robot is driven and an IR sensor is fixed to detect
any obstacle and moves accordingly.
This can be pushed ahead and reverse direction utilizing outfitted motors of 60RPM.
Additionally this truck can make sudden turns in left and right headings. This truck utilizes
AT89S52 MCU as its controller. A highly delicate flame sensor is fixed to this truck. This truck
is additionally utilized as a flame extinguisher i.e. it can sprinkle the water or gas on the flame if
there should arise an occurrence of flame accidents. An IoT module is interfaced to the controller
to get the data about the status in web. This project uses 9V battery. This project is much useful
for mines detection and surveillance applications
ROBOT
INTRODUCTION
A Robot is a mechatronics gadget which likewise incorporates creativity or selfgovernance. A gadget with self-governance does its thing "all alone" without a human
straightforwardly directing it minute by-minute. A few writers would battle that all mechatronic
gadgets are robots, and this current book's limitation on robot involves just concentrated
programming.
Robotics can be depicted as the present apex of specialized improvement. . The study and use of
robotics will uncover an expert to many diverse avenues of study. For a few, the sentiments of
robotics delivers a practically supernatural interest in the world prompting them making great
machines.
Robotics can be characterized as the science or investigation of the innovation principally
connected with the outline, creation, hypothesis, and utilization of robots. While different fields
contribute the arithmetic, the strategies, and the parts, robotics makes the amazing finished item.
The actual utilizations of robots drive improvement of robotics and drive advancements in
different sciences.
Autonomous Fire fighter truck is an exclusice project where the robot navigates itself around
and if detects fire , then takes appropriate actions to extinguish it. It can also be manually
controlled using laptop.
Embedded System
Introduction
An Embedded System is a combination of computer hardware and software, and
perhaps additional mechanical or other parts, designed to perform a specific function. A good
example is the microwave oven. Almost every household has one, and tens of millions of them
are used everyday, but very few people realize that a processor and software are involved in the
preparation of their lunch or dinner.
This is in direct contrast to the personal computer in the family room. It too is comprised
of computer hardware and software and mechanical components (disk drives, for example).
However, a personal computer is not designed to perform a specific function rather; it is able to
do many different things. Many people use the term general-purpose computer to make this
distinction clear. As shipped, a general-purpose computer is a blank slate; the manufacturer does
not know what the customer will do wish it. One customer may use it for a network file server
another may use it exclusively for playing games, and a third may use it to write the next great
American novel.
Frequently, an embedded system is a component within some larger system. For
example, modern cars and trucks contain many embedded systems. One embedded system
controls the anti-lock brakes, other monitors and controls the vehicle's emissions, and a third
displays information on the dashboard. In some cases, these embedded systems are connected by
some sort of a communication network, but that is certainly not a requirement.
At the possible risk of confusing you, it is important to point out that a general-purpose
computer is itself made up of numerous embedded systems. For example, my computer consists
of a keyboard, mouse, video card, modem, hard drive. For example, the modem is designed to
send and receive digital data over analog telephone line. That's it and all of the other devices can
be summarized in a single sentence as well.
If an embedded system is designed well, the existence of the processor and software
could be completely unnoticed by the user of the device. Such is the case for a microwave oven,
VCR, or alarm clock. In some cases, it would even be possible to build an equivalent device that
does not contain the processor and software. This could be done by replacing the combination
with a custom integrated circuit that performs the same functions in hardware. However, a lot of
flexibility is lost when a design is hard-cooled in this way. It is much easier, and cheaper, to
change a few lines of software than to redesign a piece of custom hardware.
individuals who possess the skills and desire to design the next generation of embedded systems
will be in demand for quite some time.
MICROCONTROLLERS:
Microprocessors and microcontrollers are widely used in embedded systems products.
Microcontroller is a programmable device. A microcontroller has a CPU in addition to a fixed
amount of RAM, ROM, I/O ports and a timer embedded all on a single chip. The fixed amount
of on-chip ROM, RAM and number of I/O ports in microcontrollers makes them ideal for many
applications in which cost and space are critical.
The Intel 8052 is a Harvard architecture, single chip microcontroller (C) which was developed
by Intel in 1980 for use in embedded systems. It was popular in the 1980s and early 1990s, but
today it has largely been superseded by a vast range of enhanced devices with 8052/52compatible processor cores that are manufactured by more than 20 independent manufacturers
including Atmel, Infineon Technologies and Maxim Integrated Products.
8052/52 is an 8-bit processor, meaning that the CPU can work on only 8 bits of data at a
time. Data larger than 8 bits has to be broken into 8-bit pieces to be processed by the CPU.
8052/52 is available in different memory types such as UV-EPROM, Flash and NV-RAM.
The microcontroller used in this project is AT89S52. Atmel Corporation introduced this 89S52
microcontroller. This microcontroller belongs to 8052 family. This microcontroller had 256 bytes
of RAM, 8K bytes of on-chip ROM, two timers, one serial port and four ports (each 8-bits wide)
all on a single chip. AT89S52 is Flash type 8052/52.
The present project is implemented on Keil U vision. In order to program the device, proload
tool has been used to burn the program onto the microcontroller.
The features, pin description of the microcontroller and the software tools used are discussed in
the following sections.
FEATURES OF AT89S52:
8K Bytes of Re-programmable Flash Memory.
Description:
PIN DESCRIPTION:
Vcc
Pin 40 provides supply voltage to the chip. The voltage source is +5V.
GND
Pin 20 is the ground.
XTAL1 and XTAL2
XTAL1 and XTAL2 are the input and output, respectively, of an inverting amplifier that can be
configured for use as an on-chip oscillator, as shown in Figure 11. Either a quartz crystal or
ceramic resonator may be used. To drive the device from an external clock source, XTAL2
should be left unconnected while XTAL1 is driven, as shown in the below figure. There are no
requirements on the duty cycle of the external clock signal, since the input to the internal
clocking circuitry is through a divide-by-two flip-flop, but minimum and maximum voltage high
and low time specifications must be observed.
RESET
Pin9 is the reset pin. It is an input and is active high. Upon applying a high pulse to this pin, the
microcontroller will reset and terminate all the activities. This is often referred to as a power-on
reset.
EA (External access)
Pin 31 is EA. It is an active low signal. It is an input pin and must be connected to either Vcc or
GND but it cannot be left unconnected.
The 8052/52 family members all come with on-chip ROM to store programs. In such cases, the
EA pin is connected to Vcc. If the code is stored on an external ROM, the EA pin must be
connected to GND to indicate that the code is stored externally.
PSEN (Program store enable)
This is an output pin.
ALE (Address latch enable)
This is an output pin and is active high.
Ports 0, 1, 2 and 3
The four ports P0, P1, P2 and P3 each use 8 pins, making them 8-bit ports. All the ports upon
RESET are configured as input, since P0-P3 have value FFH on them.
Port 0(P0)
Port 0 is also designated as AD0-AD7, allowing it to be used for both address and data. ALE
indicates if P0 has address or data. When ALE=0, it provides data D0-D7, but when ALE=1, it
has address A0-A7. Therefore, ALE is used for demultiplexing address and data with the help of
an internal latch.
When there is no external memory connection, the pins of P0 must be connected to a 10K-ohm
pull-up resistor. This is due to the fact that P0 is an open drain. With external pull-up resistors
connected to P0, it can be used as a simple I/O, just like P1 and P2. But the ports P1, P2 and P3
do not need any pull-up resistors since they already have pull-up resistors internally. Upon reset,
ports P1, P2 and P3 are configured as input ports.
Port 1 and Port 2
With no external memory connection, both P1 and P2 are used as simple I/O. With external
memory connections, port 2 must be used along with P0 to provide the 16-bit address for the
external memory. Port 2 is designated as A8-A15 indicating its dual function. While P0 provides
the lower 8 bits via A0-A7, it is the job of P2 to provide bits A8-A15 of the address.
Port 3
Port 3 occupies a total of 8 pins, pins 10 through 17. It can be used as input or output. P3 does
not need any pull-up resistors, the same as port 1 and port 2. Port 3 has an additional function of
providing some extremely important signals such as interrupts.
IOT MODULE
WIFI MODULE
ESP8266EX
Introduction
Espressif Systems Smart Connectivity Platform (ESCP) is a set of high performance, high integration
wireless SOCs, designed for space and power constrained mobile platform designers. It provides
unsurpassed ability to embed WiFi capabilities within other systems, or to function as a standalone
application, with the lowest cost, and minimal space requirement.
ESP8266EX offers a complete and self-contained WiFi networking solution; it can be used to host the
application or to offload WiFi networking functions from another application processor.
When ESP8266EX hosts the application, it boots up directly from an external flash. In has integrated
cache to improve the performance of the system in such applications. Alternately, serving as a WiFi
adapter, wireless internet access can be added to any micro controller-based design with simple
connectivity (SPI/SDIO or I2C/UART interface). ESP8266EX is among the most integrated WiFi chip
in the industry; it integrates the antenna switches, RF balun, power amplifier, low noise receive
amplifier, filters, power management modules, it requires minimal external circuitry, and the entire
solution, including front-end module, is designed to occupy minimal PCB area. ESP8266EX also
integrates an enhanced version of Tensilicas L106 Diamond series 32-bit processor, with on-chip
SRAM, besides the WiFi functionalities. ESP8266EX is often integrated with external sensors and other
application specific devices through its GPIOs; sample codes for such applications are provided in the
software development kit (SDK).
Features
802.11 b/g/n
Support Smart Link Function for both Android and iOS devices
SDIO 2.0, (H) SPI, UART, I2C, I2S, IR Remote Control, PWM, GPIO
Deep sleep power <10uA, Power down leakage current < 5uA
Parameters
Categories
Items
Values
Certificates
FCC/CE/TELEC/SRRC
WiFi Protocles
802.11 b/g/n
Frequency Range
2.4G-2.5G (2400M-2483.5M)
802.11 b: +20 dBm
Tx Power
WiFi Paramters
Rx Sensitivity
Types of Antenna
Peripheral Bus
Operating Voltage
GPIO/PWM
3.0~3.6V
Hardware
Operating Current
Paramaters
-40~125
Normal temperature
Package Size
5x5mm
External Interface
N/A
WiFi mode
station/softAP/SoftAP+station
Security
WPA/WPA2
Encryption
WEP/TKIP/AES
Firmware Upgrade
Software
Parameters
Ssoftware Development
Network Protocols
Major Applications :
Major fields of ESP8266EX applications to Internet-of-Things include:
Home Appliances
Home Automation
Mesh Network
Baby Monitors
IP Cameras
Sensor Networks
Wearable Electronics
Hardware Overview
Pin Definitions
Name
Type
VDDA
Function
Analog Power 3.0 ~3.6V
RF Antenna Interface. Chip Output Impedance=50
LNA
I/O
VDD3P3
VDD3P3
VDD_RTC
NC (1.1V)
TOUT
CHIP_EN
XPD_DCDC
I/O
Deep-Sleep WakeupGPIO16
MTMS
I/O
GPIO14; HSPI_CLK
10
MTDI
I/O
GPIO12; HSPI_MISO
11
VDDPST
12
MTCK
I/O
13
MTDO
I/O
14
GPIO2
I/O
15
GPIO0
I/O
GPIO0; SPI_CS2
16
GPIO4
I/O
GPIO4
17
VDDPST
18
SDIO_DATA_2
I/O
19
SDIO_DATA_3
I/O
20
SDIO_CMD
I/O
21
SDIO_CLK
I/O
22
SDIO_DATA_0
I/O
23
SDIO_DATA_1
I/O
24
GPIO5
I/O
GPIO5
25
U0RXD
I/O
26
U0TXD
I/O
27
XTAL_OUT
I/O
28
XTAL_IN
I/O
29
VDDD
30
VDDA
31
RES12K
32
EXT_RSTB
Drives are enabled in pairs, with drives 1 and 2 enabled by 1,2EN and drives 3 and 4
enabled by 3,4EN. When an enable input is high, the associated drives are enabled and their
outputs are active and in phase with their inputs. When the enable input is low, those are disabled
and their outputs are off and in the high-impedance state.
With the proper date inputs, each pair of drives from a full-H (or bridge) reversible derives
suitable for solenoid or motor applications. On the L293, external high- speed output clamp
diodes should by used for inductive transient suppression. A VCC1 terminal, separate from
VCC2, is provided for the logic input to minimize drives power dissipation. The L293 and
L293D are characterized for operation from 0C to 70C.
8.2 Features:
Wide supply-voltage range: 4.5V to 36V
Separate input- logic supply
Internal ESD protection
Thermal shutdown
High-Noise-Immunity input
Functional Replacements for SGS L293 and SGS L293D
Output current 1A per channel (600 mA for L293D)
Peak output current 2 A per channel (1.2 A for L293D)
Output clamp diodes for Inductive Transient Suppression(L293D)
FIRE Sensor
A flame detector is a sensor designed to detect and respond to the presence of a flame or fire.
Responses to a detected flame depend on the installation, but can include sounding an alarm,
deactivating a fuel line (such as a propane or a natural gas line), and activating a fire suppression
system. When used in applications such as industrial furnaces, their role is to provide confirmation
that the furnace is properly lit; in these cases they take no direct action beyond notifying the
operator or control system. A flame detector can often respond faster and more accurately than a
smoke or heat detector due to the mechanisms it uses to detect the flame.
Triple-IR flame detectors compare three specific wavelength bands within the IR spectral region
and their ratio to each other. In this case one sensor looks at the 4.4 micrometer range while the
other sensors look at reference wavelengths both above and below 4.4. This allows the detector
to distinguish between non-flame IR sources and actual flames which emit hot CO2 in the
combustion process. As a result, both detection range and immunity to false alarms can be
significantly increased. IR3 detectors can detect a 0.1m2(1 ft2) gasoline pan fire at up to 65 m
(215 ft) in less than 5 seconds. Triple IRs, like other IR detector types, are susceptible to blinding
by a layer of water on the detector's window.
Most IR detectors are designed to ignore constant background IR radiation, which is present in
all environments. Instead they are designed to detect suddenly changing or increasing sources of
the radiation. When exposed to changing patterns of non-flame IR radiation, IR and UV/IR
detectors become more prone to false alarms, while IR3 detectors become somewhat less
sensitive but are more immune to false alarms.
This sensor is working with the principle of IR. This module consists of a preset.
With this one can vary the sensitivity of sensor. At one point it will recognize the fire.