You are on page 1of 5

This DTMF (Dual Tone Multi Frequency) decoder circuit identifies the dial tonefrom the telephone line

and decodes the key pressed on the remote telephone. In this circuit, for the detection of DTMF signaling, we are using the IC MT8870DEwhich 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 to Home/Office electrical appliances using a telephone network, Cell Phone controlled home appliances, Mobile phone controlled Robot, etc). Read more: What is DTMF? DTMF frequencies & Codes

Circuit Diagram

(Click on the image for enlarged view)

Components required

1. DTMF decoder IC (M-8870) 2. Resistors (100k; 70k; 390k) 3. Capacitors (0.1Fx 2) 4. 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 was invented for telephone communication switching. It employs electronics and computer to support switching operations. DTMF (Dual Tone Multi Frequency) is the ultimate technique used in any of the Mobile, Telephone communication systems. The operation of DTMF method 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 and connect caller to the destination subscriber.

Working of DTMF decoder circuit

DTMF (Dual Tone Multi Frequency) keypads are employed in almost all landline and mobile handsets. Thus, DTMF (Dual Tone Multi Frequency) technology used in the telephone switching centers to identify the number dialed by the caller.

A DTMF (Dual Tone Multi Frequency) 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 signal 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 the equivalent binary sequence as a parallel output as Q1, Q2, Q3, and Q4.

Table showing DTMF Low and High frequency tones and decoded output
Button 1 2 3 4 5 6 7 8 Low DTMF frequency (Hz) 697 697 697 770 770 770 852 852 High DTMF frequency (Hz) 1209 1336 1477 1209 1336 1477 1209 1336 Binary coded output Q1 Q2 Q3 Q4 0 0 0 0 0 0 0 1 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0

9 0 * #

852 941 941 941

1477 1336 1209 1477

1 1 1 1

0 0 0 1

0 1 1 0

1 0 1 0

There is an inbuilt Op Amp present inside the M-8870 DTMF 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 and 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.

Uses of other pins:

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.1F).

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-8870d

You might also like