Go Down

Topic: Software DTMF (Read 2010 times) previous topic - next topic

ogogon

Good evening!

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

Ogogon.

robtillaart


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.


Rob Tillaart

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

Magician

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


anon10500

Try tone library, it works

Go Up