Project DTMF
Project DTMF
Project DTMF
INTRODUCTION
The DTMF based remote monitoring system consists of sensors for sensing
the present parameters of the process or machine.
The whole system can be installed at a distance place from where these data
can be directly sent to the logging system.
The data obtained is sent to doctor’s system by converting it into DTMF
signals.
The DTMF stands for dual tone multiple frequencies.
The idea behind this project is generation of DTMF signal for sending data.
In communication any digit may be transmitted in pulse mode or in DTMF
mode. We are generating DTMF tones at transmitter end and decoding these tones
at receiving end which can be used for transmitting the data from one end to
another end.
pg. 1
These signals are decoded at the receiving end and original data is recovered
form it by the doctors.
As a method of in-band signaling, DTMF tones were also used by cable television
broadcasters to indicate the start and stop times of local commercial insertion
points during station breaks for the benefit of cable companies. Until better out-of-
band signaling equipment was developed in the 1990s, fast, unacknowledged, and
loud DTMF tone sequences could be heard during the commercial breaks of cable
channels in the United States and elsewhere.
pg. 2
CHAPTER- 2
BLOCK DIAGRAM
3g Mobile
Phone
Headpho (Caller)
ne Mobile
Phone
DTMF Decoder
Different devices
pg. 3
CHAPTER-3
CIRCUIT DIAGRAM AND ITS WORKING
3.1 CIRCUIT DIAGRAM:
pg. 4
3.2 WORKING OF CIRCUIT:
DTMF decoder sends the information in the form of frequency from the 3G
hand set ,Then DTMF decoder decode the information in the form of
frequency and this information fed Here microcontroller is the heart of this
project ,Firstly the power supply of 5v DC is very essential for this set up, this
power supply trigger the microcontroller 8051,then 8051 is directly connected
with LCD & device control, LCD gives the info regarding devices that can be
operated by microcontroller 8051 & device control here acting as a switch with
the help of relays .
pg. 5
Chapter-4
INSTRUMENT
4.1Microcontroller (AT89C51)
4.5 transformer
4.6 capacitors
4.7 resister
pg. 6
4.1-MICROCANTROLER (AT89C51)
Introduction to AT89C51
pg. 7
Features of AT89C51
• Compatible with MCS-51™ Products
Description
The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with
4K bytes of Flash Programmable and Erasable Read Only Memory (PEROM). The
device is manufactured using Atmel’s high density nonvolatile memory technology
and is compatible with the industry standard MCS-51™ instruction set and pinout.
The on-chip Flash allows the program memory to be reprogrammed in-system or
by a conventional nonvolatile memory programmer. By combining a versatile 8-bit
CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful
microcomputer which provides a highly flexible and cost effective solution to
many embedded control applications
pg. 8
Pin configuration of AT89C51
pg. 9
Pin Description
VCC
GND
0v Ground. This pin is connected to -ve dc supply voltage.
Ports
pg. 10
RST
Reset input. This pin is used to reset the microcontroller. If a high remains on this
pin for two machine cycles while
the oscillator is running, the microcontroller is reseted.
ALE/PROG
Address Latch Enable output pulse for latching the low byte
the address during accesses to external of memory. This
pin is also the program pulse input (PROG) during Flash
programming. This pin used to program the microcontroller.
PSEN
pg. 11
EA/VPP
XTAL1
XTAL2
Output from the inverting oscillator amplifier
There are two major ways to program AT89C51 microcontroller.
Using a high level programming language like C-language or
Using assembly language.
But in this particular tutorial, I am going to teach you how to use assembly
language to program AT89C51
pg. 12
Function:
SETB sets the indicated bit to one (HIGH). SETB can be used to set the value of
the carry flag to 1 (HIGH) when desired or can be used to set the value of any
addressable bit to one (HIGH).
Example: Lets assume that Port 2 has the value
1 0 0 0 0 0 1 1 (remember the first bit is the MSB (P2.7) and the last bit the
LSB ( P2.0)
If we write : SETB P2.6
we have 1 (1) 0 0 0 0 1 1. we have now changed the bit no. 2 (which P2.6) from
LOW voltage state to 1 (HIGH voltage state).51 is a CMOS 8-bit microcomputer
with 4K bytes of Flash programmable and erasable .
pg. 13
4.2:-_DTMF decoder 8870
Features
• Low Power Consumption
Applications
• Telephone switch equipment
• Paging systems
• Personal computers
pg. 14
Description
The LM-8870 is a full DTMF Receiver that integrates both bandsplit filter and
decoder functions into a single 18-pin DIP or SOIC package. Manufactured using
CMOS process technology, the LM-8870 offers low power consumption (35 mW
max) and precise data handling. Its filter section uses switched capacitor
technology for both the high and low group filters and for dial tone rejection. Its
decoder uses digital counting techniques to detect and decode all 16 DTMF tone
pairs into a 4-bit code. External component count is minimized by provision of an
on-chip differential input amplifier, clock generator, and latched tri-state inter-face
bus. Minimal external components required include a low-cost 3.579545 MHz
color burst crystal, a timing resistor, and a timing capacitor. The LM-8870-02
provides a “power-down” option which, when enabled, drops consumption to less
than 0.5 mW. The LM-8870-02 can also inhibit the decoding of fourth column
digits
pg. 15
4.3: -Overload relay :
These relay utilized the electro thermal effect of the actuating current for
their operation. They are widely used for protection of small motors against
overloading and unbalance current. The thermal element is bimetallic strip; a
bimetallic element consists of two metal strip of different co-efficient of thermal
expansion, joined together.
pg. 16
by increasing or decreasing the flow rate. For longer time periods, a
mechanical clockwork timer is installed.
4. Protective relays are essential for isolating faults in the system and keep
equipment safe from being damaged.
pg. 17
4.4 . LCD DISPLAY
Description
Above is the quite simple schematic. The LCD panel's Enable and Register Select
is connected to the Control Port. The Control Port is an open collector / open drain
output. While most Parallel Ports have internal pull-up resistors, there are a few
which don't. Therefore by incorporating the two 10K external pull up resistors, the
circuit is more portable for a wider range of computers, some of which may have
no internal pull up resistors.
We make no effort to place the Data bus into reverse direction. Therefore we hard
wire the R/W line of the LCD panel, into write mode. This will cause no bus
conflicts on the data lines. As a result we cannot read back the LCD's internal Busy
Flag which tells us if the LCD has accepted and finished processing the last
instruction. This problem is overcome by inserting known delays into our program.
The 10k Potentiometer controls the contrast of the LCD panel. Nothing fancy here.
As with all the examples, I've left the power supply out. You can use a bench
power supply set to 5v or use a onboard +5 regulator. Remember a few de-
pg. 18
coupling capacitors, especially if you have trouble with the circuit working
properly.
Most projects you create with the 8051 CPU require some form of display. The
most common way to accomplish this is with the LCD (Liquid Crystal Display).
LCDs have become a cheap and easy way to get text display for an embedded
system Common displays are set up as 16 to 20 characters by 1 to 4 lines.
Pinout
Used to latch the data present on the data pins. A high-to-low edge is needed to
latch the data.
• VEE : contrast control
NOTE: When writing to the display, data is transferred only on the high to low
transition of this signal. However, when reading from the display, data will become
available shortly after the low to high transition and remain available until the
signal falls low again.
pg. 19
Display data RAM (DDRAM) is where you send the characters (ASCII code) you
want to see on the LCD screen. It stores display data represented in 8-bit character
codes. Its capacity is 80 characters (bytes). Below you see DD RAM address
layout of a 2*16 LCD.
In the above memory map, the area shaded in black is the visible display (For 16x2
display) .
For first line addresses for first 15 characters is from 00h to 0Fh. But for second
line address of first character is 40h and so on up to 4Fh for the 16th character.
pg. 20
4.5-Transformer
pg. 21
Fig: 4.5.1 Transformer
pg. 22
In the vast majority of transformers, the windings are coils wound around a
ferromagnetic core, air-core transformers being a notable exception.
pg. 23
An ideal transformer. The secondary current arises from the action of the
secondary EMF on the (not shown) load impedance.
Detailed operation
The simplified description above neglects several practical factors, in particular
the primary current required to establish a magnetic field in the core, and the
contribution to the field due to current in the secondary circuit.
The changing magnetic field induces an electromotive force (EMF) across each
winding.[33] Since the ideal windings have no impedance, they have no associated
voltage drop, and so the voltages VP and VS measured at the terminals of the
transformer, are equal to the corresponding EMFs. The primary EMF, acting as it
pg. 24
does in opposition to the primary voltage, is sometimes termed the "back EMF".[34]
This is due to Lenz's law which states that the induction of EMF would always be
such that it will oppose development of any such change in magnetic field.
The ideal transformer model assumes that all flux generated by the primary
winding links all the turns of every winding, including itself. In practice, some flux
traverses paths that take it outside the windings.[35] Such flux is termed leakage
flux, and results in leakage inductance in series with the mutually coupled
transformer windings.[34] Leakage results in energy being alternately stored in and
discharged from the magnetic fields with each cycle of the power supply. It is not
directly a power loss (see "Stray losses" below), but results in inferior voltage
regulation, causing the secondary voltage to fail to be directly proportional to the
primary, particularly under heavy load.[35] Transformers are therefore normally
designed to have very low leakage inductance. Nevertheless, it is impossible to
eliminate all leakage flux because it plays an essential part in the operation of the
pg. 25
transformer. The combined effect of the leakage flux and the electric field around
the windings is what transfers energy from the primary to the secondary. [36]
In some applications increased leakage is desired, and long magnetic paths, air
gaps, or magnetic bypass shunts may be deliberately introduced to a transformer's
design to limit the short-circuit current it will supply.[34] Leaky transformers may
be used to supply loads that exhibit negative resistance, such as electric arcs,
mercury vapor lamps, and neon signs; or for safely handling loads that become
periodically short-circuited such as electric arc welders.[37]
Air gaps are also used to keep a transformer from saturating, especially audio-
frequency transformers in circuits that have a direct current flowing through the
windings.[38]
Energy losses
An ideal transformer would have no energy losses, and would be 100%
efficient. In practical transformers energy is dissipated in the windings, core, and
surrounding structures. Larger transformers are generally more efficient, and those
rated for electricity distribution usually perform better than 98%.
pg. 26
Losses in transformers (excluding associated circuitry) vary with load current,
and may be expressed as "no-load" or "full-load" loss. Winding resistance
dominates load losses, whereas hysteresis and eddy currents losses contribute to
over 99% of the no-load loss. The no-load loss can be significant, so that even an
idle transformer constitutes a drain on the electrical supply and a running cost;
designing transformers for lower loss requires a larger core, good-quality silicon
steel, or even amorphous steel, for the core, and thicker wire, increasing initial
cost, so that there is a trade-off between initial cost and running cost. (Also see
energy efficient transformer).
Transformer losses are divided into losses in the windings, termed copper loss,
and those in the magnetic circuit, termed iron loss. Losses in the transformer arise
from:
Winding resistance
Current flowing through the windings causes resistive heating of the
conductors. At higher frequencies, skin effect and proximity effect create
additional winding resistance and losses.
Hysteresis losses
Each time the magnetic field is reversed, a small amount of energy is lost
due to hysteresis within the core. For a given core material, the loss is
proportional to the frequency, and is a function of the peak flux density to
which it is subjected.
pg. 27
Eddy currents
ferromagnetic materials are also good conductor, and a core made from such
a material also constitutes a single short-circuited turn throughout its entire
length. eddy current therefore circulate within the core in a plane normal to
the flux, and are responsible for resistive heting of the core material. The
eddy current loss is a complex function of the square of supply frequency
and inverse square of the material thickness. Eddy current losses can be
reduced by making the core of a stack of plates electrically insulated from
each other, rather than a solid block; all transformers operating at low
frequencies use laminated or similar cores.
Magnetostriction
Magnetic flux in a ferromagnetic material, such as the core, causes it to
physically expand and contract slightly with each cycle of the magnetic
field, an effect known as magnetostriction. This produces the buzzing sound
commonly associated with transformers, and can cause losses due to
frictional heating.
Mechanical losses
In addition to magnetostriction, the alternating magnetic field causes
fluctuating forces between the primary and secondary windings. These incite
vibrations within nearby metalwork, adding to the buzzing noise , and
consuming a small amount of power.
Stray losses
Leakage inductance is by itself largely lossless, since energy supplied to its
magnetic fields is returned to the supply with the next half-cycle. However,
pg. 28
any leakage flux that intercepts nearby conductive materials such as the
transformer's support structure will give rise to eddy currents and be
converted to heat. There are also radiative losses due to the oscillating
magnetic field, but these are usually small.
pg. 29
4.6:- CAPACITOR:
A capacitor is a device that can store electrical charge. Because it can store
a charge and then release that charge, it resists any change of voltage across it.
Because of this, it can be used to "damp" changes in voltage, and it can also be
used to block DC while permitting AC to "pass through" it (which is called
filtering or coupling, depending on the circuit). The capacitor's one ability can be
applied in a number of ways in electronic circuits, and it makes the capacitor an
indispensable electronic component. The capacitor is the component that employs
the electronic characteristic we call capacitance, which is the resistance of
something to a change in voltage across it.
Types of capacitor:
1) Electrolytic capacitor
2) Ceramic capacitor
3) Mica capacitor
4) Paper capacitor
pg. 30
4.7 :- RESISTOR
In electronic circuits, resistors play an important role to limit the current and
provide only the required biasing to the vital active parts like the transistors and the
ICs. We will try to find out what is the function of a resistor in electronics through
the following illustrations:
Transistor Biasing: Through one of my previous articles you must have acquired
a good knowledge regarding transistors. A transistor basically needs a small base
voltage (>0.6) to make a large voltage flow through its collector/ emitter terminals.
But the base of a transistor is quite vulnerable to high currents, so a resistor is
incorporated here to limit the current and provide a safe biasing voltage.
Application:
R.C. filter
Voltage regulator circuit
Amplifie
pg. 31
Applications of Project
The typical applications of this serial modem is for developing a wide range of
equipment like
Security and alarms devices
Monitoring and control devices
Vending machines
Utilities device Fleet Management devices
ADVANTAGES:
1. Economical
3. Upgradeable
4. Low cast
pg. 32
DISADVANTAGES:
1. Network problem.
2. Availability of modem.
Conclusion
Some technologies like IR remote control are used for short distance
applications. In such case if we have system, which does not require any radiations
or which is not harmful, long remote control switch!! Here, introducing such a
system, which does not require any radiations, any laser beam, which has no
limitation of range, it can be used from any distance from meters to thousand
kilometers using a mobile phone.
pg. 33
REFERENCES
1. www.ieee.com
www.8051projects.com
www.alldatasheet.com
www.datasheet4u.com
www.datasheetcatalog.com
*********************************************
pg. 34