This page is outdated.

We have move to

www.siongboon.com

 

 

DTMF decoder using MT8870DE

 

 

 

 

 

Keypad Dial Tone Frequency Table

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

 

 

 

 

Kit Research History

The phone system use to be operated by human operator in a telephone exchange room. The caller will pick up the phone, giving instruction to the operator to connect their line to the destination over the other end of the telephone. As more and more people find phone technology a useful communication tools, line connection use human operator would be too tedious.

Then came the dial tone method using electronics and computer to connect, eliminating the needs of manual phone line connection. Basically on the caller side, it is a dial tone generator. When a key is being pressed on the matrix keypad, it generate a unique tone. For example, if the key '1' is being press on the phone, the tone you hear is actually consist of a 697hz + 1209hz sine wave. Pressing key '9' will generate the tone form by 852hz + 1477hz.  The frequency use in the dial tone system is of audible range suitable for transmission over the telephone cable.

On the telephone exchange side, it has a decoder circuit to decode the tone to digital code. For example, the tone of 941hz + 1336hz will be decoded as binary '1010' as the output. This digital output will be read in by a computer, which will then act as a operator to connect the caller's telephone line to the receiving telephone line. The telephone exchange center also generate a high voltage to the receiving telephone, so as to ring the telephone bell, notifying the receiving user.

The project below, focus on building a decoder. This circuit can be interface to a computer, allowing caller to computer interaction. Application can be for example be a computerize call receiving/diverting phone network system. Home/Office electrical appliances remote through telephone. Wireless remote control.

   

 

 

 

 

 

Photos of DTMF circuit built

 

 

 

 

Output Logic behavior from the DTMF decoder IC.

 

 

 

 

 

 

 

no button press

TOE: Logic 0

_Q4: Logic 0

_Q3: Logic 0

_Q2: Logic 0

_Q1: Logic 0

 

'1' press and hold

TOE: Logic 1

_Q4: Logic 0

_Q3: Logic 0

_Q2: Logic 0

_Q1: Logic 1

 

release from button '1'

TOE: Logic 0

_Q4: Logic 0

_Q3: Logic 0

_Q2: Logic 0

_Q1: Logic 1

 

'2' press and hold

TOE: Logic 1

_Q4: Logic 0

_Q3: Logic 0

_Q2: Logic 1

_Q1: Logic 0

 

release from button '2'

TOE: Logic 0

_Q4: Logic 0

_Q3: Logic 0

_Q2: Logic 1

_Q1: Logic 0

 

'0' press and hold

TOE: Logic 1

_Q4: Logic 1

_Q3: Logic 0

_Q2: Logic 1

_Q1: Logic 0

 

Key Tone Output Logic
Q4 Q3 Q2 Q1
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
0 1 0 1 0
* 1 0 1 1
# 1 1 0 0
A 1 1 0 1
B 1 1 1 0
C 1 1 1 1
D 0 0 0 0
DTMF Circuits

 

 

 

Schematics

   

Component Layout (Silkscreen)

PCB Bottom Layer (PCB trace)

   

Bill of Material (BOM)

Part# Description Value Qty
C1, C2 Capacitor 100pF, 250V x2
D1 High Conductance Fast Diode 1N4148 x1
D2, D3 1.3 Watt Power Zener Diode Zener 5.6V x2
DS1, DS2, DS3, DS4, DS5 Typical RED GaAs LED   x5
R1, R2 Resistor 56KΩ x2
R3 Resistor 150KΩ x1
R4 Resistor 47KΩ x1
R5 Resistor 330KΩ x1
R6 Resistor 100KΩ x1
R7 Resistor 68KΩ x1
R8, R9 Resistor 56KΩ x2
R10, R11, R12, R13, R14 Resistor 470Ω x5
U1 Integrated DTMF Receiver MT8870DE x1
Y1 Crystal Oscillator 3.5795Mhz x1
JP1, JP2 Header, 2-Pin   x2

 

   

 

 

 

 

email: siongboon@yahoo.com.sg

website: Spotronics, http://www.oocities.org/sg/siongboon/