Categories

Dual-tone multi-frequency signal generator and detector

Posted on Wednesday, July 4th, 2012 in code by DP

Robots wrote a open source Dual-Tone Multi-Frequency signal generator and detector for his STM32 based development board. The code is available via github.

DTMF generator is based on AVR314 appnote, and the detector is my practice in signal processing using “Goertzel algorithm”. Everything is written for integer/fixedpoint arithmetics. (no floats at all)…

Generator generates signal using PWM, by changing the duty cycle each period. Two sine signals (low and high) are generated using LUT and mixed before feeding into the PWM.

Detection is done by using 8 simultaneous signal detectors. One for each frequency in dtmf. After 205samples energie of each frequency is calculated and peak detected.

This entry was posted on Wednesday, July 4th, 2012 at 7:00 pm and is filed under code. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Bob: Free PCB for me!
  • Drone: Nice - but I'm most interested in the enclosure with the finger-leaf cover. Where did that come from? How to buy more?
  • Dave B: Got two of them. If you let the battery run flat, they don't charge! You have to pull the battery, and get enough charge in...
  • Bill F: My turn?
  • Chris: Ok!