Pages: [1]   Go Down
Author Topic: Software DTMF  (Read 1888 times)
0 Members and 1 Guest are viewing this topic.
Chernogolovka, Moscow dst., Russia
Offline Offline
Newbie
*
Karma: 0
Posts: 43
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Good evening!

Is there a software implementation of encoder/decoder DTMF for Arduino?

Ogogon.
Logged

Global Moderator
Netherlands
Online Online
Shannon Member
*****
Karma: 223
Posts: 13910
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


DTMF = Dual Tone Multiple frequency

To decode you need an integer FFT to determine the frequencies
To encode a signal in software is more difficult as the Arduino has no analog out, so you need extra hardware and if you buy extra HW why not a DTMF chip directly ...

What is your project/goal with the DTMF? can you tell us more? maybe there are other solutions.


Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Montreal
Offline Offline
Faraday Member
**
Karma: 30
Posts: 2602
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ASAIK, no. But there is atmel's application note AVR314 (DTMF generator:
http://www.atmel.com/dyn/products/product_docs.asp?category_id=163&family_id=607&subfamily_id=760&part_id=2018
To decode, you can use FFT code:
http://fftarduino.blogspot.com/2011/02/color-organ-spectrum-analyzer-on.html
Other option, re-write code AN219 (Goertzel algorithm) from Silabs:
http://www.silabs.com/products/mcu/Pages/ApplicationNotes.aspx

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 27
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try tone library, it works
Logged

Pages: [1]   Go Up
Jump to: