Skip to content

Estylos/PhoneDTMF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DTMF Decoder

A simple AVR project which decodes DTFM tones from an audio signal.

Context

Having an old analog telephone approved by France Telecom from the 90s which was no longer useful to me, I wanted to reuse it to get the DTMF signals generated at the press of the keys, and by software, being able to display the corresponding key by serial communication. The project is not perfect but it has the merit of working without too many major issues.

Hardware

I use for this project an ATmega168A (internally clocked at 8 MHz), an FTDI, and an old landline phone. I power the telephone in 12V DC to be able to make it work and I get the audio signal as indicated here. Finally, I use a voltage divider to lower the 12v to 5v before entering in the ADC.

Software

The code is already commented to facilitate understanding. The heart of the code which is the detection of DTMF signals is ensured by the Goertzel algorithm. For more information on the algorithm and its application check :

I also created a python script to calculate the constant coefficients of the DTMF frequencies so as not to slow the microcontroller to this task.

About

A simple DTMF audio signal decoder

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published