This DTMF (Dual Tone Multi Frequency) decoder circuit identifies the dial tone from the telephone line and decodes the key pressed on the remote telephone. Here for the detection of DTMF signaling, we are using the IC MT8870DE which is a touch tone decoder IC. It decodes the input DTMF to 5 digital outputs. The M-8870 DTMF (Dual Tone Multi Frequency) decoder IC uses a digital counting technique to determine the frequencies of the limited tones and to verify that they correspond to standard DTMF frequencies. The DTMF tone is a form of one way communication between the dialer and the telephone exchange. The whole communication consists of the touch tone initiator and the tone decoder or detector. The decoded bits can be interfaced to a computer or microcontroller for further application (For example, Remote control of home/office electrical appliances using a telephone network, Cell Phone controlled home appliances, Mobile phone controlled robot, etc.).
Recommended for better understanding:
As technology established, pulse or dial tone technique were invented for telephone communication switching. It employs electronics and computers to support switching operations. DTMF is the ultimate technique used in any of the Mobile, Telephone communication systems.
The operation of DTMF method are as follows:
Recommended for better understanding:
- What is DTMF? DTMF frequencies & Codes
- DTMF Cell Phone controlled Home appliances- Engineering automation project
Circuit Diagram
(Click on the image for enlarged view)
Components required
- DTMF decoder IC (M-8870)
- Resistors (100kΩ; 70kΩ; 390kΩ)
- Capacitors (0.1µFx 2)
- Crystal oscillator (3.579545MHz)
What is the Need of DTMF Decoding?
In the premature days, our telephone systems were operated by human operators in a telephone exchange room. The caller will pick up the phone, giving instruction to the operator to connect their line to the destination. It is a kind of manual switching. As more and more people entered in the telephone technology as useful communication gear, manual switching becomes a time consuming tedious task.As technology established, pulse or dial tone technique were invented for telephone communication switching. It employs electronics and computers to support switching operations. DTMF is the ultimate technique used in any of the Mobile, Telephone communication systems.
The operation of DTMF method are as follows:
- Caller generates a dial tone consisting of two frequencies. It is transmitted via the telephone line (communication media).
- Telephone exchange consists of a DTMF decoder, which decodes the frequencies in to digital code.
- These codes are the address of destination subscriber; it is read and processed by a computer which connects caller to the destination subscriber.
Working of DTMF decoder circuit
- DTMF keypads are employed in almost all landline and mobile handsets. Thus this technology is used in the telephone switching centers to identify the number dialed by the caller.
- The decoder distinguishes the DTMF tones and produces the binary sequence equivalent to key pressed in a DTMF (Dual Tone Multi Frequency) keypad.
- The circuit uses M-8870 DTMF decoder IC which decodes tone generated by the keypad of cell phone.
- DTMF signals can be tapped directly from the microphone pin of cell phone device. Cut the microphone wire and you will get two wires red and green. The red wire is the DTMF input to the circuit.
- The signals from the microphone wire are processed by the DTMF decoder IC which generates an equivalent binary sequence as a parallel output like Q1, Q2, Q3, and Q4.
Table showing DTMF Low and High frequency tones and decoded output
Button
|
Low DTMF frequency (Hz)
|
High DTMF frequency (Hz)
|
Binary coded output
|
|||
Q1
|
Q2
|
Q3
|
Q4
|
|||
1
|
697
|
1209
|
0
|
0
|
0
|
1
|
2
|
697
|
1336
|
0
|
0
|
1
|
0
|
3
|
697
|
1477
|
0
|
0
|
1
|
1
|
4
|
770
|
1209
|
0
|
1
|
0
|
0
|
5
|
770
|
1336
|
0
|
1
|
0
|
1
|
6
|
770
|
1477
|
0
|
1
|
1
|
0
|
7
|
852
|
1209
|
0
|
1
|
1
|
1
|
8
|
852
|
1336
|
1
|
0
|
0
|
0
|
9
|
852
|
1477
|
1
|
0
|
0
|
1
|
0
|
941
|
1336
|
1
|
0
|
1
|
0
|
*
|
941
|
1209
|
1
|
0
|
1
|
1
|
#
|
941
|
1477
|
1
|
1
|
0
|
0
|
- There is an inbuilt Op amp present inside the M-8870 decoder IC. The electrical signals from microphone pin are fed to inverting input of the Op Amp via a series of resistance (100kΩ) and capacitance (0.1 µF).
- The non inverting input of Op-amp is connected to a reference voltage (pin4 -VREF). The voltage at VREF pin is Vcc/2.
- Pin 3 (GS) is the output of internal Op Amp, the feedback signal is given by connecting the output pin (pin3- GS) to inverting input pin (pin2- IN-) through a resistor (270kΩ).
- The output of Op Amp is passed through a pre filter, low group and high group filters (filter networks). These filters contain switched capacitors to divide DTMF tones into low and high group signals (High group filters bypass the high frequencies whereas low group filter pass low frequencies).
- Next processing sections inside the IC are frequency detector and code detector circuits. Filtered frequency passed through these detectors.
- At last the four digit binary code is latched at the output of M-8870 DTMF decoder IC.
- The entire process from frequency detection to latching of the data, is controlled by steering control circuit consisting of St/GT, Est pins, resistor (390kΩ) and a capacitor (0.1µF).
- 5th Pin, INH is an active high pin, inhibits detection of A, B, C, D tones of character.
- 6th Pin, PWDN is an (active high), inhibits the working of oscillator thus stops the working of our circuit.
- The 10th pin 10; TOE is the output enable pin which is active high logic and enables the latching of the data on the data pins Q0, Q1, Q2, and Q3.
- 15th Pin StD is the Data valid pin, turn out to be high on detection of valid DTMF tone or else it remains low.
- Pins 7 (OS1) and 8 (OS2) are used to connect crystal oscillator. An oscillator of frequency 3.579545 MHz is used here.
Pin out of DTMF decoder IC M-8870
Ads
i designed a dtmf decoder which initially worked very nicely but now whenever i connect it to the +5v supply then the led connected at pin 5 starts glowing . any suggestions ?
ReplyDeleteHi PRATIK NARA,
ReplyDeletePlease check the connection again, or some short circuit may be there.