DTMF Decoder

DTMF Decoder

In this tutorial we will learn how to Decode the telephone audio tones into 4-bit binary codes. In short you can use your mobile phone to send instructions to your microcontroller. Here we will use the mt8870 IC.

Schematic:

mic-1-1

Parts List:

Prt.No Description Spec. Qty (Nos.)
1 MicroController Reset Circuit - -
2 mt8870 - 1
3 Resistor-1 100k 2
4 Resistor-2 330k 1
5 Capacitor Disc 0.1 uf 2
6 Piezo-electric Crystal 3.57 MHz 1
7 capacitor 22pf 2
8 Connecting Wires - -

Step 1:

mic-1-1

In this tutorial we will use the decoder to detect and decode all 16 DTMF tone-pairs into a 4-bit code.

We dont have to build the basic Reset circuit as we are only decoding the telephone tones .

The MT8870 IC is placed on the breadboard first.

So What’s dtmf???

  1209 Hz 1336 Hz 1477 Hz 1633 Hz
697 Hz 1 2 3 A
770 Hz 4 5 6 B
852 Hz 7 8 9 C
941 Hz * 0 # D

Dual-tone multi-frequency signaling (DTMF) is used for telecommunication signaling over analog telephone lines in the voice-frequency band between telephone handsets and other communications devices and the switching center.

The tones are divided into two groups with rows representing a low frequency and coloumns a high frequency

Step 2:

mic-1-1

Now take a 100k resistor and connect it across pins 2 and 3. Connect pins 16 and 17 with a  330k resistor. Then Connect pins 1 and 4 together.

Step 3:

mic-1-1

Now connect pin 9 to ground and connect pins 10 and 18 to +5v. Then connect pin 17 to +5v via a 0.1uF capacitor.

Step 4:

mic-1-1

Now connect a crystal oscillator (3.57 MHz) across pins 7 and 8. Then connect two 22pf capacitors with one end of each to the terminals of the oscillator and the other end is connected to the ground.

Step 5:

mic-1-1

Now the basic connections being complete we can connect LEDs to the pins 11 to 15 to test the output.

Step 6:

mic-1-1

To send telephone codes we need to connect a telephone or a mobile phone to the IC. We can do this by connecting a handsfree to the mobile and then cut one earbud. Then there will be two wires connecting the earbud , we connect one wire to the ground and the other wire to pin 2 of the IC (via a 100k resistor if needed).

Thats it!!

Thank you for following this tutorial, I hope you have followed all the parts of this tutorial. If you did’nt you can feel free to post your doubts in the comments section.

Similar topics you might like…

Share this Post and become one of us...