Академический Документы
Профессиональный Документы
Культура Документы
On
ADITYA BADAMI
(097F1A0402)
(097F1A0405)
(097F1A0425)
Mrs. S. NIHARIKA
Asst. Professor
Department of ECE
Date:
__________________
CERTIFICATE
INTERNAL GUIDE
Mr.C.ASHOK VISHNU
PRINCIPAL
EXTERNAL EXAMINER
DECLARATION
We the undersigned, declare that the project title entitled WIRELESS BOMB
DETECTION ROBOT carried out at WINEYARD TECHNOLOGIES is
original and is being submitted to the Department of ECE VISHWA BHARATHI
INSTITUTE OF TECHNOLOGY AND SCIENCES, Hyderabad towards partial
fulfillment for the award of Bachelor of Technology.
We, declare that, the result embodied in the Project work has not been submitted to
any other University or Institute for the award of any Degree.
Date:
ADITYA BADAMI
Place: Hyderabad
iii
(097F1A0402)
(097F1A0425)
ACKNOWLEDGEMENT
The completion of this project work gives us an opportunity to convey our gratitude to
all those who have helped us to reach a stage where we have the confidence to launch
our career in the competitive world in the field of ELECTRONICS AND
COMMUNICATION ENGINEERING.
We express our sincere thanks to Dr. D.MAHESHWAR REDDY Principal,
VISHWA BHARATHI INSTITUTE OF TECHNOLOGY AND SCIENCES
for providing all necessary facilities in completing our project report.
iv
ABSTRACT
The aim of our project is to design a wireless robot for bomb surveillance and
detection with a metal detector and to diffuse it by using a mobile jammer.
This is an interesting robot that can be controlled by hand gestures and by an
RF remote. This can be moved in forward and reverse direction using geared motors
of 60RPM. Also this robot can take sharp turnings towards left and right directions.
This project uses Arduino MCU as its controller. A high sensitive induction type
metal detector is designed using colpitts oscillator principle and fixed to this robot.
Also a mobile phone signal isolator is interfaced to the kit.
When the robot is moving on a surface, the system produces a beep sound
when Bomb is detected. Simultaneously a signal is fed to the jammer section to
switch on the jammer. This jammer diffuses the bomb by jamming the mobile signal
of GSM or CDMA or 3G networks.
The RF modules used here are STT-433 MHz Transmitter, STR-433 MHz
Receiver, HT12E RF Encoder and HT12D RF Decoder. The three switches are
interfaced to the RF transmitter through RF Encoder. The encoder continuously reads
the status of the switches, passes the data to the RF transmitter and the transmitter
transmits the data. This project uses 9V battery. This project is much useful for mines
detection and surveillance applications.
LIST OF CONTENTS
TITLE
PAGE NO
i
ii
iii
iv
v
vi
viii
ix
CHAPTER-1:
INTRODUCTION
CHAPTER-2:
BLOCK DIAGRAM
2.1
2.2
2.3
Transmitter block
Receiver block
Hardware implementation
4
4
5
6
CHAPTER-3:
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11
3.12
CHAPTER-4:
4.1
4.2
4.3
4.4
4.5
4.6
4.7
HARDWARE DETAILS
Power supply
Accelerometer
Encoder HT12E
RF Technology
Decoder HT12D
Mobile Jammer
Metal Detector
Buzzer
Liquid Crystal Display
DC Motor
H-Bridge
Microcontroller
WIRELESS COMMUNICATION
Introduction
Properties of RF
Brief description of RF
Different RF Ranges and Applications
RF Transmitter STT-433MHZ
RF Receiver STR-433MHZ
RF Advantages
vi
8
8
9
11
12
13
14
16
16
17
18
21
24
26
26
27
27
28
29
31
33
4.8
4.7
4.8
CHAPTER-5:
5.1
5.2
5.3
CHAPTER-6:
6.1
6.2
6.3
6.4
6.5
CHAPTER-7:
7.1
7.2
7.3
CHAPTER-8:
8.1
8.2
RF Disadvantages
Interfacing of RF Transmitter with AT89S52
Interfacing of RF Receiver with ARDUINO
33
34
34
MEMS TECHNOLOGY
35
35
38
41
MEMS Introduction
Accelerometer
Interfacing of MEMS sensor with Microcontroller
MICROCONTROLLER
Introduction
Features
PIN Description of AT89S52
ARDUINO
ATmega328 Microcontroller
SOFTWARE DETAILS
KEIL Software
PROLOAD
ARDUINO Software tools
SCHEMATIC REPRESENTATION
Schematic representation of Transmitter
Schematic representation of Receiver
42
42
42
43
46
49
52
52
54
55
60
60
61
Applications
Advantages
62
62
62
CHAPTER-10:
RESULT
63
CHAPTER-11:
66
CHAPTER-9:
9.1
9.2
67
REFERENCES
APPENDIX
vii
LIST OF FIGURES
FIG NO.
DESCRIPTION
PAGE
NO.
FIG 3.1
FIG 3.2
FIG 3.3
FIG 3.4
FIG 3.5
FIG 3.6
FIG 3.7
FIG 3.8
FIG 3.9
FIG 3.10
FIG 3.11
FIG 3.12
FIG 3.13
FIG 3.14
FIG 3.15
FIG 3.16
FIG 3.17
FIG 4.1
FIG 4.2
FIG 4.3
FIG 4.4
FIG 4.5
FIG 5.1
FIG 5.2
FIG 5.3
FIG 5.4
FIG 5.5
FIG 6.1
FIG 6.2
FIG 6.3
FIG 6.4
Components of RPS
Accelerometer
G-Whiz
Encoder PIN diagram
RF Transmitter and
Decoder PIN Diagram
Mobile Jammer
Jammer Signal
Buzzer
LCD display
Two Pole DC Motor
Rotation DC Motor
Three Pole DC Motor
DC Motor
Circuit of H-Bridge
Block Diagram of H-Bridge
PIN Connection
RF Transmitter
Applications
RF Receiver
PIN Diagram of RF Receiver
Digital Data PIN
Components of MEMS
Accelerometer
The Piezo electric Accelerometer
G-Whiz
Surface Micro Machined Accelerometer
AT89S52 PIN Diagram
Arduino Board
Arduino PIN diagram
AT mega PIN diagram
viii
8
9
10
11
12
13
14
15
17
17
18
19
20
20
21
23
24
29
30
31
31
32
35
38
38
39
40
43
46
47
50
LIST OF TABLES
TABLE NO.
DESCRIPTION
PG NO.
Table 3.1
Table 3.2
Table 3.3
Table 3.4
Table 4.1
Table 6.1
Table 6.2
ix
12
13
22
23
28
44
45
ECE
CHAPTER-1
INTRODUCTION
1.1 INTRODUCTION TO PROJECT
A Robot is a mechatronics device which also includes resourcefulness or autonomy.
A device with autonomy does its thing "on its own" without a human directly guiding
it moment-by-moment. Some authors would contend that all mechatronic devices are
robots, and that this book's restriction on robot entails only specialized software.
Robotics can be described as the current pinnacle of technical development.
Robotics is a confluence science using the continuing advancements of mechanical
engineering, material science, sensor fabrication, manufacturing techniques, and
advanced algorithms. The study and practice of robotics will expose a dabbler or
professional to hundreds of different avenues of study. For some, the romanticism of
robotics brings forth an almost magical curiosity of the world leading to creation of
amazing machines. A journey of a lifetime awaits in robotics.
Robotics can be defined as the science or study of the technology primarily
associated with the design, fabrication, theory, and application of robots. While other
fields contribute the mathematics, the techniques, and the components, robotics
creates the magical end product. The practical applications of robots drive
development of robotics and drive advancements in other sciences in turn. Crafters
and researchers in robotics study more than just robotics.
In this project we use a robot and it is controlled by hand gestures and these
hand movements are recognized by the hand gesture technology and based on the
movement of the hand the robot is moved in the respective direction i.e. either in
forward, backward, left or right. The benefits of such robots to these operations
include reduced personnel requirements, reduced fatigue, and access to otherwise
unreachable areas. Robotic search is useful since robots may be deployed in
dangerous environments without putting human responders at risk. This project is a
prototype which is widely used for military applications.
Page 1
ECE
Page 2
ECE
Page 3
ECE
CHAPTER-2
BLOCK DIAGRAM
2.1 TRANSMITTER BLOCK
LCD Display
Hand
gesture
recognizerACCELER
OMETER
Step
down
T/F
RF
AT89S52
Bridge
Rectifier
Filter
Circuit
ENCODER
Transmitter
HT12E
STT - 433
Regulator
Page 4
ECE
Power
supply
Geared
Motor I
RF
Receiver
RF
Decoder
HBridge
Geared
Motor 2
Arduino
Reset
Buzzer
Metal
Detector
Lead
acid
battery
Regulator
Mobile
Isolator
Page 5
ECE
TRANSMITTER BLOCK:
As the overall system contains two microcontroller units, the function of
microcontrollers differ to each other, two different software programs are prepared to
function as data transmitter and data receiver.
VISHWA BHARATHI INSTITUTE OF TECHNOLOGY & SCIENCES (VBITS)
Page 6
ECE
RECEIVER BLOCK:
Similarly, the data receiving unit consists of the following devices:
RF Receiver
Arduino Microcontroller
Motors
Metal Detector
Mobile Jammer
Buzzer
The data which is transmitted from RF transmitter is received by RF receiver.
This information is sent to Arduino (ATMEGA 328).From Arduino the data is sent to
H-Bridge through Port (PC0-PC3) and the motor moves according to the hand
gesture made.
While the robot is moving, we have added a metal detector externally which
works on a separate battery. This metal detector is connected to buzzer as well as
mobile jammer. If metal detector detects the bomb, the buzzer makes the sound and
automatically mobile jammer is activated.
Page 7
ECE
CHAPTER-3
HARDWARE DETAILS
3.1 POWER SUPPLY:
The input to the circuit is applied from the regulated power supply. The a.c. input i.e.,
230V from the mains supply is step down by the transformer to 12V and is fed to a
rectifier. The output obtained from the rectifier is a pulsating d.c voltage. So in order
to get a pure d.c voltage, the output voltage from the rectifier is fed to a filter to
remove any a.c components present even after rectification. Now, this voltage is given
to a voltage regulator to obtain a pure constant dc voltage.
3.1.1 TRANSFORMER
Usually, DC voltages are required to operate various electronic equipment and these
voltages are 5V, 9V or 12V. But these voltages cannot be obtained directly. Thus the
a.c input available at the mains supply i.e., 230V is to be brought down to the required
voltage level.
This is done by a transformer. Thus, a step down transformer is employed to
decrease the voltage to a required level.
VISHWA BHARATHI INSTITUTE OF TECHNOLOGY & SCIENCES (VBITS)
Page 8
ECE
3.1.2 RECTIFIER
The output from the transformer is fed to the rectifier. It converts A.C. into pulsating
D.C. The rectifier may be a half wave or a full wave rectifier. In this project, a bridge
rectifier is used because of its merits like good stability and full wave rectification.
3.1.3 FILTER
Capacitive filter is used in this project. It removes the ripples from the output of
rectifier and smoothens the D.C. Output received from this filter is constant until the
mains voltage and load is maintained constant. However, if either of the two is varied,
D.C. voltage received at this point changes. Therefore a regulator is applied at the
output stage.
3.2 ACCELEROMETER
An accelerometer is an apparatus, either mechanical or electromechanical, for
measuring acceleration or deceleration - that is, the rate of increase or decrease in the
velocity of a moving object. Accelerometers are used to measure the efficiency of the
braking systems on road and rail vehicles; those used in aircraft and spacecraft can
determine accelerations in several directions simultaneously. There are also
accelerometers
for
detecting
vibrations
in
machinery.
Page 9
ECE
3.2.1 G-WHIZ
The ADXL202 two-axis 2-g accelerometer from Analog Devices is a good example
of a micro machine thats making waves in the commercial market. More sensitive
than earlier airbag designs, its well suited for novel applications like two-axis tilt
sensing and inertial navigation. For instance, Microsoft is using the 202 in their new
Freestyle Pro game controller, which senses body motion.
The basic principle of micro machined accelerometers is simple enough. A
tethered or "sprung" mass is forced into motion by an applied acceleration. The
distance that the mass moves, and thus the acceleration, is determined by differential
capacitance, as shown in figure.
Figure 3.3G-Whiz
The principle may be simple, but the implementation is incredible, given the
intricacy of crafting it in silicon. Consider that the smallest detectable capacitance
change, 20 zF (yes, thats "z" as in 1021 F), corresponds to a 2-pm deflection! But
while its capable of resolving mere mgs (thousandths of a g), the device can take a
5001000-g hit and keep on ticking.
The use of a standard IC process means the same die can integrate signalconditioning and digitizing circuits, dispensing with the design hassles of dealing with
low-level analog signals. That makes the ADXL202 real easy to use. Just add power
(35.25 V, a mere 1 mA at that) and have at it with your favorite MCU or PLD.
Page 10
ECE
Page 11
ECE
3.4 RF TECHNOLOGY:
Radio frequency (RF) is a frequency or rate of oscillation within the range of about 3
Hz to 300 GHz. This range corresponds to frequency of alternating current electrical
signals used to produce and detect radio waves. Since most of this range is beyond the
vibration rate that most mechanical systems can respond to, RF usually refers to
oscillations in electrical circuits or electromagnetic radiation.
Radio frequency is a frequency or rate of oscillation within the range of about 3 Hz to
300 GHz. This range corresponds to frequency of alternating current electrical signals
used to produce and detect radio waves since most of this range is beyond the
vibration rate that most mechanical systems can respond to, RF usually refers to
oscillations in electrical circuits. RF is widely used because it does not require any
line of sight, less distortions and no interference.
Page 12
ECE
Page 13
ECE
FEATURES
Page 14
ECE
OPERATION
As with other radio jamming, cell phone jammers block cell phone use by
sending out radio waves along the same frequencies that cellular phones use.
This causes enough interference with the communication between cell phones
and towers to render the phones unusable. On most retail phones, the network
would simply appear out of range. Most cell phones use different bands to
send and receive communications from towers (called full duplexing).
Jammers can work by either disrupting phone to tower frequencies or tower to
phone frequencies. Smaller handheld models block all bands from 800MHz to
1900MHz within a 30-foot range (9 meters). Small devices tend to use the
former method, while larger more expensive models may interfere directly
with the tower. The radius of cell phone jammers can range from a dozen feet
for pocket models to kilometers for more dedicated units. The TRJ-89 jammer
can block cellular communications for a 5-mile (8 km) radius.
Actually it needs less energy to disrupt signal from tower to mobile phone,
than the signal from mobile phone to the tower (also called base station),
because base station is located at larger distance from the jammer than the
mobile phone and that is why the signal from the tower is not so strong.
Page 15
ECE
iDEN, GSM, et al.) and are even very effective against newer phones which
hop to different frequencies and systems when interfered with. As the
dominant network technology and frequencies used for mobile phones vary
worldwide, some work only in specific regions such as Europe or North
America.
The jammer's effect can vary widely based on factors such as proximity to
towers, indoor and outdoor settings, presence of buildings and landscape, even
temperature and humidity play a role.
There are concerns that crudely designed jammers may disrupt the functioning
of medical devices such as pacemakers. However, like cell phones, most of the
devices in common use operate at low enough power output (<1W) to avoid
causing any problems.
3.8 BUZZER:
An electric coil is wound on a plastic bobbin, the latter having a central sleeve within
which a magnetic core is slide ably positioned. One end of the sleeve is closed and
VISHWA BHARATHI INSTITUTE OF TECHNOLOGY & SCIENCES (VBITS)
Page 16
ECE
projects beyond the coil. An inverted cup-shaped housing surrounds the coil and
bobbin and has a central opening through which the closed end of the sleeve projects.
The core projects into the closed end of the sleeve beyond the margin of the
opening in the housing to augment the magnetic coupling between the housing and
the core. The open end of the housing is attached to a support bracket of magnetic
material, there being a spring between the bracket and bobbin normally urging the
core toward the closed end of the sleeve.
A model described here is for its low price and great possibilities most
frequently used in practice. It is based on the HD44780 microcontroller (Hitachi) and
can display messages in two lines with 16 characters each.
Page 17
ECE
3.10 DC MOTOR:
A DC motor is an electric motor that runs on direct current (dc) electricity.
Every DC motor has six basic parts -- axle, rotor (a.k.a., armature), stator,
commutator, field magnet(s), and brushes. In most common DC motors (and all that
VISHWA BHARATHI INSTITUTE OF TECHNOLOGY & SCIENCES (VBITS)
Page 18
ECE
Beamers will see), the external magnetic field is produced by high-strength permanent
magnets. The stator is the stationary part of the motor -- this includes the motor
casing, as well as two or more permanent magnet pole pieces. The rotor (together with
the axle and attached commutator) rotates with respect to the stator. The rotor consists
of windings (generally on a core), the windings being electrically connected to the
commutator. The above diagram shows a common motor layout -- with the rotor
inside the stator (field) magnets.
The geometry of the brushes, commutator contacts, and rotor windings are
such that when power is applied, the polarities of the energized winding and the stator
magnet(s) are misaligned, and the rotor will rotate until it is almost aligned with the
stator's field magnets. As the rotor reaches alignment, the brushes move to the next
commutator contacts, and energize the next winding. Given our example two-pole
motor, the rotation reverses the direction of current through the rotor winding, leading
to a "flip" of the rotor's magnetic field, driving it to continue rotating.
In real life, though, DC motors will always have more than two poles (three is
a very common number). In particular, this avoids "dead spots" in the commutator.
You can imagine how with our example two-pole motor, if the rotor is exactly at the
middle of its rotation (perfectly aligned with the field magnets), it will get "stuck"
there. Meanwhile, with a two-pole motor, there is a moment where the commutator
shorts out the power supply (i.e., both brushes touch both commutator contacts
simultaneously). This would be bad for the power supply, waste energy, and damage
motor components as well. Yet another disadvantage of such a simple motor is that it
would exhibit a high amount of torque "ripple" (the amount of torque it could produce
is cyclic with the position of the rotor).
Page 19
ECE
So since most small DC motors are of a three-pole design, let's tinker with the
workings of one via an interactive animation.
You'll notice a few things from this -- namely, one pole is fully energized at a
time (but two others are "partially" energized). As each brush transitions from one
commutator contact to the next, one coil's field will rapidly collapse, as the next coil's
field will rapidly charge up (this occurs within a few microsecond). We'll see more
about the effects of this later, but in the meantime you can see that this is a direct
result of the coil windings' series wiring:
The use of an iron core armature (as in the Mabuchi, above) is quite common,
and has a number of advantages. First off, the iron core provides a strong, rigid
support for the windings -- a particularly important consideration for high-torque
motors. The core also conducts heat away from the rotor windings, allowing the
motor to be driven harder than might otherwise be the case. Iron core construction is
also relatively inexpensive compared with other construction types. But iron core
construction also has several disadvantages. The iron armature has a relatively high
VISHWA BHARATHI INSTITUTE OF TECHNOLOGY & SCIENCES (VBITS)
Page 20
ECE
inertia which limits motor acceleration. This construction also results in high winding
inductances which limit brush and commutator life.
In small motors, an alternative design is often used which features a 'coreless'
armature winding. This design depends upon the coil wire itself for structural
integrity. As a result, the armature is hollow, and the permanent magnet can be
mounted inside the rotor coil. Coreless DC motors have much lower armature
inductance than iron-core motors of comparable size, extending brush and
commutator life.
3.11 H-BRIDGE:
Page 21
ECE
3.11.1 OPERATION:
The H-Bridge arrangement is generally used to reverse the polarity of the motor, but
can also be used to 'brake' the motor, where the motor comes to a sudden stop, as the
motors terminals are shorted, or to let the motor 'free run' to a stop, as the motor is
effectively disconnected from the circuit. The following table summarizes operation.
S1 S2 S3 S4 Result
1
Motor brakes
3.11.3 FEATURES:
PER CHANNEL
PER CHANNEL
ENABLE FACILITY
OVERTEMPERATURE PROTECTION
Page 22
ECE
3.11.4 DESCRIPTION:
The Device is a monolithic integrated high voltage, high current four channel driver
designed to accept standard DTL or TTL logic levels and drive inductive loads (such
as relays solenoids, DC and stepping motors) and switching power transistors. To
simplify use as two bridges each pair of channels is equipped with an enable input. A
separate supply input is provided for the logic, allowing operation at a lower voltage
and internal clamp diodes are included. This device is suitable for use in switching
applications at frequencies up to 5 kHz. The L293D is assembled in a 16 lead plastic
package which has 4 center pins connected together and used for heat sinking The
L293DD is assembled in a 20 lead surface mount which has 8 center pins connected
together and used for heat sinking.
3.11.5 BLOCK DIAGRAM:
Page 23
ECE
3.12 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 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-compatible processor cores that are manufactured by
more than 20 independent manufacturers including Atmel, Infineon Technologies and
Maxim Integrated Products.
8052 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 is available in different memory types such as UVEPROM, Flash and NV-RAM. The present project is implemented on Keil uVision.
In order to program the device, proload tool has been used to burn the program onto
the microcontroller.
VISHWA BHARATHI INSTITUTE OF TECHNOLOGY & SCIENCES (VBITS)
Page 24
ECE
3.12.1 ARDUINO:
Arduino is an open source electronics prototyping platform based on flexible, easy-touse hardware and software. Its intended for artists, designers, hobbyists, and anyone
interested in creating interactive objects or environments. Its an open-source physical
computing platform based on a microcontroller board, and a development
environment for writing software for the board.
In simple words, Arduino is a small microcontroller board with a USB plug to
connect to your computer and a number of connection sockets that can be wired up to
external electronics, such as motors, relays, light sensors, laser diodes, loudspeakers,
microphones, etc., They can either be powered through the USB connection from the
computer or from a 9V battery. They can be controlled from the computer or
programmed by the computer and then disconnected and allowed to work
independently.
Anyone can buy this device through online auction site or search engine. Since
the Arduino is an open-source hardware designs and create their own clones of the
Arduino and sell them, so the market for the boards is competitive.
Page 25
ECE
CHAPTER-4
WIRELESS COMMUNICATION
4.1 WIRELESS COMMUNICATION INTRODUCTION:
Wireless communication, as the term implies, allows information to be exchanged
between two devices without the use of wire or cable. A wireless keyboard sends
information to the computer without the use of a keyboard cable; a cellular telephone
sends information to another telephone without the use of a telephone cable.
Changing television channels, opening and closing a garage door, and transferring a
file from one computer to another can all be accomplished using wireless technology.
In all such cases, information is being transmitted and received using electromagnetic
energy, also referred to as electromagnetic radiation. One of the most familiar sources
of electromagnetic radiation is the sun; other common sources include TV and radio
signals, light bulbs and microwaves. To provide background information in
understanding wireless technology, the electromagnetic spectrum is first presented
and some basic terminology defined.
Page 26
ECE
Page 27
ECE
4.4
DIFFERENT
RANGES
PRESENT
IN
RF
AND
Frequency
range
Distance
Uses
3 to 30 Hz
10,000 km to
100,000 km
30 to 300 Hz
1,000 km to
10,000 km
300 to 3000
Hz
100 km
1,000 km
3 to 30 kHz
10 km to 100
km
to
Low frequency
30 to 300 kHz
1 km to 10
km
AM broadcasting,
beacons, low FER
Medium frequency
300 to 3000
kHz
100 m to 1
km
Navigational
beacons,
AM
broadcasting, maritime and aviation
communication
High frequency
3 to 30 MHz
10 m to 100
m
30 to
MHz
1 m to 10 m
FM
broadcasting
broadcast
television, aviation, GPR
300 to 3000
MHz
300
3 to 30 GHz
30 to 300 GHz
navigational
10 cm to 100
cm
Broadcast
television,
mobile
telephones, , wireless networking,
microwave ovens, GPR
1 cm to 10
cm
1 mm to 10
mm
Page 28
ECE
DATA
Digital data input. This input is CMOS compatible and should be driven with CMOS
level inputs.
VCC
Operating voltage for the transmitter. VCC should be bypassed with a .01uF ceramic
capacitor and filtered with a 4.7uF tantalum capacitor. Noise on the power supply
will degrade transmitter noise performance.
ANT
50 ohm antenna output. The antenna port impedance affects output power and
harmonic emissions. Antenna can be single core wire of approximately 17cm length
or PCB trace antenna.
The STT-433 is ideal for remote control applications where low cost and
longer range is required.
The transmitter operates from a1.5-12V supply, making it ideal for batterypowered applications.
Page 29
ECE
The manufacturing-friendly SIP style package and low-cost make the STT433 suitable for high volume applications.
FEATURES:
Low Cost
1.5-12V operation
Small size
APPLICATION:
The typical connection shown in the above figure cannot work exactly at all times
because there will be no proper synchronization between the transmitter and the
microcontroller unit. i.e., whatever the microcontroller sends the data to the
transmitter, the transmitter is not able to accept this data as this will be not in the radio
frequency range. Thus, we need an intermediate device which can accept the input
from the microcontroller, process it in the range of radio frequency range and then
send it to the transmitter. Thus, an encoder is used.
VISHWA BHARATHI INSTITUTE OF TECHNOLOGY & SCIENCES (VBITS)
Page 30
ECE
The data is received by the RF receiver from the antenna pin and this data is available
on the data pins. Two Data pins are provided in the receiver module. Thus, this data
can be used for further applications
PIN-OUT:
ANT
Antenna input.
GND
Receiver Ground. Connect to ground plane.
Page 31
ECE
VCC (5V)
VCC pins are electrically connected and provide operating voltage for the
receiver. VCC can be applied to either or both. VCC should be bypassed with
a .1F ceramic capacitor. Noise on the power supply will degrade receiver
sensitivity.
DATA
Digital data output.
This output is capable of driving one TTL or CMOS load. It is a CMOS compatible
output.
Page 32
ECE
4.7 RF ADVANTAGES:
1. No line of sight is needed.
2. Not blocked by common materials: It can penetrate most solids and pass
through walls.
3. Longer range.
4. It is not sensitive to the light.
5. It is not much sensitive to the environmental changes and weather conditions.
4.8 RF DISADVANTAGES:
1. Interference: communication devices using similar frequencies - wireless
phones, scanners, wrist radios and personal locators can interfere with
transmission
2. Lack of security: easier to "eavesdrop" on transmissions since signals are
spread out in space rather than confined to a wire
3. Higher cost than infrared
4. Federal Communications Commission(FCC) licenses required for some
products
5. Lower speed: data rate transmission is lower than wired and infrared
transmission.
Page 33
ECE
Page 34
ECE
CHAPTER 5
MEMS TECHNOLOGY
5.1 MEMS INTRODUCTION:
MEMS stand for Micro-Electro Mechanical Systems. MEMS techniques allow both
electronic circuits and mechanical devices to be manufactured on a silicon chip,
similar to the process used for integrated circuits. This allows the construction of
items such as sensor chips with built-in electronics that are a fraction of the size that
was previously possible.
Micro electromechanical systems (MEMS) are small integrated devices or
systems that combine electrical and mechanical components. They range in size from
the sub micrometer (or sub micron) level to the millimeter level and there can be any
number, from a few to millions, in a particular system. MEMS extend the fabrication
techniques developed for the integrated circuit industry to add mechanical elements
such as beams, gears, diaphragms, and springs to devices.
Examples
of
MEMS
device
applications
include
inkjet-printer
Page 35
ECE
The MEMS industry has an estimated $10 billion market, and with a projected
10-20% annual growth rate, it is estimated to have a $34 billion market in 2002 [1].
Because of the significant impact that MEMS can have on the commercial and
defense markets, industry and the federal government have both taken a special
interest in their development.
IC fabrication is dependent upon sensors to provide input from the
surrounding environment, just as control systems need actuators (also referred to as
transducers) in order to carry out their desired functions. Due to the availability of
sand as a material, much effort was put into developing Si processing and
characterization tools. These tools are now being used to advance transducer
technology. Today's IC technology far outstrips the original sensors and actuators in
performance, cost and size.
Around 1982, the term micromachining came into use to designate the
fabrication of micromechanical parts (such as pressure-sensor diaphragms or
accelerometer suspension beams) for Si micro sensors. The micromechanical parts
were fabricated by selectively etching areas of the Si substrate away in order to leave
behind the desired geometries. Isotropic etching of Si was developed in the early
1960s for transistor fabrication. Anisotropic etching of Si then came about in 1967.
Various etch-stop techniques were subsequently developed to provide further process
flexibility.
These techniques also form the basis of the bulk micromachining processing
techniques. Bulk micromachining designates the point at which the bulk of the Si
substrate is etched away to leave behind the desired micromechanical elements [3].
Bulk micromachining has remained a powerful technique for the fabrication of
micromechanical elements. However, the need for flexibility in device design and
VISHWA BHARATHI INSTITUTE OF TECHNOLOGY & SCIENCES (VBITS)
Page 36
ECE
three
characteristic
features
of
MEMS
fabrication
technologies
are
Page 37
ECE
Applications of MEMS:
Pressure sensors
Accelerometers
Inertial sensors
Micro engines
5.2 ACCELEROMETER
An accelerometer is an apparatus, either mechanical or electromechanical, for
measuring acceleration or deceleration - that is, the rate of increase or decrease in the
velocity of a moving object. Accelerometers are used to measure the efficiency of the
braking systems on road and rail vehicles; those used in aircraft and spacecraft can
determine accelerations in several directions simultaneously. There are also
accelerometers for detecting vibrations in machinery.
The types of sensor used to measure acceleration, shock, or tilt include piezo film,
5.2.1 THE PIEZO ELECTRIC ACCELEROMETER:
Among the desirable features of the piezoelectric (PE) accelerometer are accuracy,
durability, large dynamic range, ease of installation, and long life span. Although
these devices cost more than other types, in many situations their benefits outweigh
the higher price. To provide useful data, PE accelerometers require proper signal
conditioning circuitry. We will briefly review the important characteristics of a PE
accelerometer and circuit techniques for signal conditioning. In particular, we will
examine an interface that will allow the accelerometer output's magnitude and
frequency to be measured by a microcontroller unit (MCU).
Page 38
ECE
Figure 5.4G-Whiz
The principle may be simple, but the implementation is incredible, given the
intricacy of crafting it in silicon. Consider that the smallest detectable capacitance
VISHWA BHARATHI INSTITUTE OF TECHNOLOGY & SCIENCES (VBITS)
Page 39
ECE
change, 20 zF (yes, thats "z" as in 1021 F), corresponds to a 2-pm deflection! But
while its capable of resolving mere mgs (thousandths of a g), the device can take a
5001000-g hit and keep on ticking.
The use of a standard IC process means the same die can integrate signalconditioning and digitizing circuits, dispensing with the design hassles of dealing with
low-level analog signals. That makes the ADXL202 real easy to use. Just add power
(35.25 V, a mere 1 mA at that) and have at it with your favorite MCU or PLD.
5.2.3 SURFACE MICRO-MACHINED ACCELEROMETERS:
In recent years, silicon micro-machined sensors have made tremendous advances in
terms of cost and level of on-chip integration for measurements such as acceleration
and/or vibration. These products provide the sensor and the signal conditioning
circuitry on chip, and require only a few external components. Some manufacturers
have taken this approach one step further by converting the analogue output of the
analogue signal conditioning to a digital format such as duty cycle. This method not
only lifts the burden of designing fairly complex analogue circuitry for the sensor, but
also reduces cost and board area. Micro-machined accelerometers are now being
incorporated into products such as joysticks and airbags, applications that were
previously impossible due to sensor price and or size. A surface micro-machined
device consists of springs, masses, and motion-sensing components. These sensors are
made with the standard IC processing techniques used in wafer fabrication facilities
Page 40
5.3
INTERFACING
OF
ECE
MEMS
SENSOR
WITH
MICROCONTROLLER:
Page 41
ECE
CHAPTER-6
MICROCONTROLLER
6.1 MICROCONTROLLERS INTRODUCTION:
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 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-compatible processor cores that are manufactured by
more than 20 independent manufacturers including Atmel, Infineon Technologies and
Maxim Integrated Products.
6.2 FEATURES:
Compatible with MCS-51 Products
8K Bytes of In-System Programmable (ISP) Flash Memory
4.0V to 5.5V Operating Range
Fully Static Operation: 0 Hz to 33 MHz
Three-level Program Memory Lock
256 x 8-bit Internal RAM
32 Programmable I/O Lines
Three 16-bit Timer/Counters
Eight Interrupt Sources
Full Duplex UART Serial Channel
Low-power Idle and Power-down Modes
Interrupt Recovery from Power-down Mode
Watchdog Timer
Dual Data Pointer
Power-off Flag
VISHWA BHARATHI INSTITUTE OF TECHNOLOGY & SCIENCES (VBITS)
Page 42
ECE
Page 43
ECE
Port 0
Port 0 is an 8-bit open drain bidirectional I/O port.
Port 1
Port 1 is an 8-bit bidirectional I/O port with internal pullups. The Port 1 output buffers
can sink/source four TTL inputs.
Port 2
Port 2 is an 8-bit bidirectional I/O port with internal pull-ups. The Port 2 output
buffers can sink/source four TTL inputs. Port 2 also receives the high-order address
bits and some control signals during Flash programming and verification.
Port 3
Port 3 is an 8-bit bidirectional I/O port with internal pull-ups. The Port 3 output
buffers can sink/source four TTL inputs. Port 3 also serves the functions of various
special features of the AT89S52, as shown in the following table. Port 3 also receives
some control signals for Flash programming and verification.
Page 44
ECE
RST
Reset input. A high on this pin for two machine cycles while the oscillator is running
resets the device.
ALE/PROG
Address Latch Enable (ALE) is an output pulse for latching the low byte of the
address during accesses to external memory. This pin is also the program pulse input
(PROG) during Flash programming.
PSEN
Program Store Enable (PSEN) is the read strobe to external program memory. When
the AT89S52 is executing code from external program memory, PSEN is activated
twice each machine cycle, except that two PSEN activations are skipped during each
access to external data memory.
EA/VPP
External Access Enable, EA must be strapped to GND in order to enable the device
to fetch code from external program memory locations starting at 0000H up to
FFFFH. This pin also receives the 12-volt programming enable voltage (VPP) during
Flash programming.
XTAL1
Input to the inverting oscillator amplifier and input to the internal clock operating
circuit.
XTAL2
Output from inverting oscillator amplifier.
Page 45
ECE
A Register (Accumulator)
This is a general-purpose register which serves for storing intermediate results during
operating
B Register:
B register is used during multiply and divide operations which can be performed only
upon numbers stored in the A and B registers.
6.4 ARDUINO
Arduino interface boards provide the engineers, artists, designers, hobbyists and
anyone who tinker with technology with a low-cost, easy-to-use technology to create
their creative, interactive objects, useful projects etc., A whole new breed of projects
can now be built that can be controlled from a computer.
Page 46
ECE
VIN: The input voltage to the Arduino board when it's using an external power
source (as opposed to 5 volts from the USB connection or other regulated
power source). You can supply voltage through this pin, or, if supplying
voltage via the power jack, access it through this pin.
Page 47
ECE
5V: The regulated power supply used to power the microcontroller and other
components on the board. This can come either from VIN via an on-board
regulator, or be supplied by USB or another regulated 5V supply.
3V3: A 3.3 volt supply generated by the on-board regulator. Maximum current
draw is 50 mA.
Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial
data. These pins are connected to the corresponding pins of the ATmega8U2
USB-to-TTL Serial chip.
PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analog Write
() function.
LED: 13. There is a built-in LED connected to digital pin 13. When the pin is
HIGH value, the LED is on, when the pin is LOW, it's off.
The Uno has 6 analog inputs, each of which provides 10 bits of resolution.
Each of the 14 digital pins on the Uno can be used as an input or output, using
pin Mode(), digital Write(), and digital Read() functions
Digital pins:
Page 48
ECE
Analog input:
Analog output:
Page 49
ECE
PIN DIAGRAM:
Page 50
ECE
Port C (PC5:0)
Port C is a 7-bit bi-directional I/O port with internal pull-up resistors (selected for
each bit). The PC5..0 output buffers have symmetrical drive characteristics with both
high sink and source capability. As inputs, Port C pins that are externally pulled low
will source current if the pull-up resistors are activated. The Port C pins are tri-stated
when a reset condition becomes active, even if the clock is not running.
PC6/RESET
If the RSTDISBL Fuse is programmed, PC6 is used as an I/O pin. Note that the
electrical characteristics of PC6 differ from those of the other pins of Port C. If the
RSTDISBL Fuse is unprogrammed, PC6 is used as a Reset input. A low level on this
pin for longer than the minimum pulse length will generate a Reset, even if the clock
is not running.
Port D (PD7:0)
Port D is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for
each bit). The Port D output buffers have symmetrical drive characteristics with both
high sink and source capability.
AVCC
AVCC is the supply voltage pin for the A/D Converter, PC3:0, and ADC7:6. It should
be externally connected to VCC, even if the ADC is not used. If the ADC is used, it
should be connected to VCC through a low-pass filter.
AREF
AREF is the analog reference pin for the A/D Converter.
ADC7:6 (TQFP and QFN/MLF Package Only)
In the TQFP and QFN/MLF package, ADC7:6 serve as analog inputs to the A/D
converter. These pins are powered from the analog supply and serve as 10-bit ADC
channels.
Page 51
ECE
CHAPTER-7
SOFTWARE DETAILS
7.1 KEIL SOFTWARE:
Keil compiler is software used where the machine language code is written and
compiled. After compilation, the machine source code is converted into hex code
which is to be dumped into the microcontroller for further processing. Keil compiler
also supports C language code.
Page 52
ECE
9. The most widely used vendor is Atmel. So click on Atmel and now the family
of microcontrollers manufactured by Atmel opens. You can select any one of
the microcontrollers according to the requirement.
10. When you click on any one of the microcontrollers, the features of that
particular microcontroller will be displayed on the right side of the page. Click
on this microcontroller and have a look at its features. Now click on OK to
select this microcontroller.
11. A small window opens asking whether to copy the startup code into the file
you have created just now. Just click on No to proceed further.
12. Now you can see the TARGET and SOURCE GROUP created in the project
workspace.
13. Now click on File and in that New. A new page opens and you can start
writing program in it.
14. After the program is completed, save it with any name but with the .asm
extension. Save the program in the file you have created earlier.
15. You can notice that after you save the program, the predefined keywords will
be highlighted in bold letters.
16. Now add this file to the target by giving a right click on the source group. A
list of options open and in that select Add files to the source group. Check
for this file where you have saved and add it.
17. Right click on the target and select the first option Options for target. A
window opens with different options like device, target, output etc. First click
on target.
18. Since the set frequency of the microcontroller is 11.0592 MHz to interface
with the PC, just enter this frequency value in the Xtal (MHz) text area and put
a tick on the Use on-chip ROM. This is because the program what we write
here in the keil will later be dumped into the microcontroller and will be stored
in the inbuilt ROM in the microcontroller.
19. Now click the option Output and give any name to the hex file to be created
in the Name of executable text area and put a tick to the Create HEX file
option present in the same window. The hex file can be created in any of the
drives. You can change the folder by clicking on Select folder for Objects.
Page 53
ECE
20. Now to check whether the program you have written is errorless or not, click
on the icon exactly below the Open file icon which is nothing but Build
Target icon. You can even use the shortcut key F7 to compile the program
written.
21. To check for the output, there are several windows like serial window,
memory window, project window etc. Depending on the program you have
written, select the appropriate window to see the output by entering into debug
mode.
22. The icon with the letter d indicates the debug mode.
23. Click on this icon and now click on the option View and select the
appropriate window to check for the output.
24. After this is done, click the icon debug again to come out of the debug
mode.
25. The hex file created as shown earlier will be dumped into the microcontroller
with the help of another software called Proload.
7.2 PROLOAD:
Proload is software which accepts only hex files. Once the machine code is converted
into hex code, that hex code has to be dumped into the microcontroller placed in the
programmer kit and this is done by the Proload. Programmer kit contains a
microcontroller on it other than the one which is to be programmed. This
microcontroller has a program in it written in such a way that it accepts the hex file
from the keil compiler and dumps this hex file into the microcontroller which is to be
programmed. As this programmer kit requires power supply to be operated, this
power supply is given from the power supply circuit designed above. It should be
noted that this programmer kit contains a power supply section in the board itself but
in order to switch on that power supply, a source is required. Thus this is
accomplished from the power supply board with an output of 12volts or from an
adapter connected to 230 V AC.
1. Install the Proload Software in the PC.
2. Now connect the Programmer kit to the PC (CPU) through serial cable.
3. Power up the programmer kit from the ac supply through adapter.
VISHWA BHARATHI INSTITUTE OF TECHNOLOGY & SCIENCES (VBITS)
Page 54
ECE
4. Now place the microcontroller in the GIF socket provided in the programmer
kit.
5. Click on the proload icon in the PC. A window appears providing the
information like Hardware model, com port, device type, Flash size etc. Click
on browse option to select the hex file to be dumped into the microcontroller
and then click on Auto program to program the microcontroller with that
particular hex file.
6. The status of the microcontroller can be seen in the small status window in the
bottom of the page. After this process is completed, remove the
microcontroller from the programmer kit and place it in your system board.
Now the system board behaves according to the program written in the
microcontroller.
Page 55
ECE
STEP 2:
Now choose the location that the Arduino drivers are stored in. This will be in a
subfolder called drivers in your Arduino directory
Page 56
ECE
STEP3:
After selecting next you may get a message like the one shown right.
Select Continue Anyway
STEP 4:
Windows should now have found the Arduino drivers. Click Finish to complete the
installation
Page 57
ECE
STEP 5:
The computer communicates with the Arduino board via a special serial port chip
built into the Arduino board. The Arduino IDE software needs to know the serial port
number that Windows has just allocated to it Open the Windows Control Panel and
select the System app. Click on the Hardware tab and then on the Device Manager
button. Click on the Ports (COM and LPT) option and note what COM port has been
allocated to the Arduino Board.
STEP 6:
Next, run the Arduino IDE application, which will be in c:\program files\arduino0021 or similar
Click on Tools | Serial Port and select the port number from above
Page 58
ECE
STEP 7:
Next click on Tools | Board and select the type of board that you have
STEP 8:
Now try opening the Simple program from the example directory within the Arduino
IDE, Verify/Compile it and upload it to your board.
You should see the TX and RX leds on the board flash showing you that it is
working.
Finally the built in LED connected to Pin 13 will flash. Thats your first program
running
Page 59
ECE
CHAPTER 8
SCHEMATIC REPRESENTATION
8.1 SCHEMATIC REPRESENTATION OF TRANSMITTER
Page 60
ECE
Page 61
ECE
RF RECEIVER
Page 62
ECE
CHAPTER-9
APPLICATIONS AND ADVANTAGES
9.1 APPLICATIONS:
Defense: This project is useful in bomb detection and surveillance areas.
Temples: A metal detection robot is used at sacred places & crowded areas
like shopping malls instead of men power .
VIP security: A bomb diffusion robot with a CCTV camera can be used at
VIPs houses for their security.
Terrorist prone areas.
Instead of manpower to detect landmines in combing operations, this project is
much helpful for mines detection.
9.2 ADVANTAGES:
Spontaneous output.
Long range.
Not light sensitive.
Line of sight not required.
Not as sensitive to weather/environmental conditions
Page 63
ECE
CHAPTER-10
RESULT
TRANSMITTER
INPUT:
RECEIVER
LCD DISPLAY:
Page 64
ECE
OUTPUT:
OUTPUT
Page 65
ECE
CHAPTER- 11
CONCLUSION & FUTURE SCOPE
10.1 CONCLUSION
This project presents the movement of the robot using Hand gesture technology which
runs on the 9V power supply. This project is been designed and implemented with
ARDUINO MCU in embedded system domain. Experimental work has been carried
out carefully. The result shows that higher efficiency is indeed achieved using the
embedded system. The proposed method is verified to be highly beneficial for the
security purpose.
Page 66
ECE
REFERENCES:
1. Www. howstuffworks.com
2. Embedded System by Raj Kamal
3. 8051 Microcontroller and Embedded Systems by Mazzidi
4. Electronics Maker.
5. Electronics for you
6. Electrikindia
7. www.wikipedia.com
8. www.Electronic projects.com
Page 67
APPENDIX
SOURCE CODE
TRANSMITTER:
#include<reg52.h>
#include"I2C_MEM.c"
#include"LCD4.h"
sbit
sbit
sbit
sbit
frw=P2^7;
lft=P2^6;
rht=P2^5;
bck=P2^4;
void main()
{
LCD_init();
LCD_puts(0x80," I2C
MEMS_Init();
LCD_puts(0x80,"
Mem inited
");
while (1)
{
x=RrByte_MEMS(0x00);
y=RrByte_MEMS(0x01);
z=RrByte_MEMS(0x02);
Robo_Movements(x,y);
}
}
}
else
if(l_r>15&&l_r<35)
{
LCD_puts(0x80,"
lft=0;
return;
}
else
if(l_r<50&&l_r>35)
{
LCD_puts(0x80,"
rht=0;
return;
}
else
if((f_b<10 && l_r<10)
{
LCD_puts(0x80,"
}
LEFT
");
RIGHT
");
RECEIVER:
//RF////////////////////
const int sw1=1;
const int sw2=2;
const int sw3=3;
const int sw4=4;
////////////////////////
//H-Bridge//////////////
const int h1=5;
const int h2=6;
const int h3=11;
const int h4=12;
////////////////////////
int
int
int
int
int
sw1State=0;
sw2State=0;
sw3State=0;
sw4State=0;
firesensState=0;
void setup()
{
pinMode(sw1,INPUT);
pinMode(sw2,INPUT);
pinMode(sw3,INPUT);
pinMode(sw4,INPUT);
pinMode(h1,OUTPUT);
pinMode(h2,OUTPUT);
pinMode(h3,OUTPUT);
");
pinMode(h4,OUTPUT);
}
void loop()
{
if(sw1State==LOW)
{
digitalWrite(h1,HIGH);
digitalWrite(h2,LOW);
digitalWrite(h3,HIGH);
digitalWrite(h4,LOW);
}
if(sw2State==LOW)
{
digitalWrite(h1,LOW);
digitalWrite(h2,HIGH);
digitalWrite(h3,LOW);
digitalWrite(h4,HIGH);
}
if(sw3State==LOW)
{
digitalWrite(h1,HIGH);
digitalWrite(h2,LOW);
digitalWrite(h3,HIGH);
digitalWrite(h4,HIGH);
}
if(sw4State==LOW)
{
digitalWrite(h1,HIGH);
digitalWrite(h2,HIGH);
digitalWrite(h3,HIGH);
digitalWrite(h4,LOW);
}
}