Shop OBEX P1 Docs P2 Docs Learn Events
DTMF tone generation — Parallax Forums

DTMF tone generation

Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
edited 2007-04-30 17:53 in Propeller 1
This might be better asked in the current frequency generation thread, but has anyone done any DTMF (touch tone) generation with the prop yet?

Oldbitcollector

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!

Comments

  • fishfish Posts: 55
    edited 2007-04-30 16:16
    Oldbitcollector,
    Are you making a accoustical dialer or an analog phone simulator?
    http://nemesis.lonestar.org/reference/telecom/signaling/dtmf.html·(tons of info on the net)
    I haven't seen any objects for DTMF, nor tried this myself, but it·seems like it would be·a trivial thing to do.
    Just generate two simulatious tones at the specified freqs and voila.
    You could make the spin object and submit it and be the first DTMF object author.

    Good luck
    fish
  • Beau SchwabeBeau Schwabe Posts: 6,559
    edited 2007-04-30 17:53
    fish,

    For DTMF to work "properly" the two DTMF frequencies need to have a sinewave characteristic. Simply combining the two appropriate square waves
    will produce so much noise, that a DTMF detector may not be able to discriminate the actual signal from the noise.

    That said, the Propeller is fully capable of generating an appropriate signal. Heck, the BS2 is able to do this by generating a pseudo-sine wave with a small RC filter.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
Sign In or Register to comment.