Problems with DTMF Generatiom


Closed Thread
Results 1 to 5 of 5
  1. #1

    Default Problems with DTMF Generatiom

    Hi Group-

    I have a project going with 2 16F876's talking to each other via PSTN using DTMF tones. I use an MT8870 to decode, and the pbp DTMFout command to generate the DTMF tones.

    I am having trouble with DTMF generation - I get flaky decoding with the DTMF tones produced by the 'PIC , but not if I use DTMF tones from a telephone, that works fine. This leads me to think that it's the DTMFtones from PBP that are the cause of the problem. Does anyone have any experience with the quality of the DTMF tones generated by PBP? Could it be because I'm not lowpass filtering the tones properly? I use the filter in the PBP manual (2 caps and 2 resistors) and an opamp to buffer. Any advice would be welcome.

    Secondly, can anyone point me toward a supplier that will provide sample quantities of a DTMF generator chip such as the Holtek 9200 or Samsung EFG7189 - one with serial or parallel interface? Nobody in South Africa carries anything like this on the shelf. If I can't get the PIC right, I'll have to go the hardware way. Again, any advice would be welcome

    Regards,

    Angus Anderson

  2. #2
    Join Date
    Mar 2006
    Location
    Pennsylvania, USA.
    Posts
    130


    Did you find this post helpful? Yes | No

    Default

    I got a 16F877 to generate dtmf ok, using the filter shown in the manual, however I had to amplify it to get a decoder to accept tones. I used a 358 op amp set up, non inverting, with a gain of around three, and it worked great. I used the Teridian 75T204 decoder. I can probably dig up the schematic if you need. Hope this helps!

    Jerry.

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    DTMFOUT work fine with a 20MHZ crystal.

    If you already use a 20MHZ crystal, you may need to redesign or improve the low-Pass filter and, probably, increase the amplitude of the signal.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4


    Did you find this post helpful? Yes | No

    Default Thanks

    Thanks Guys-
    I'm going to build a 2nd order LPF using an opamp, fiddle with the gain and then see what improvements I get. Thanks for the tips

    Angus

  5. #5
    Join Date
    Jan 2005
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    i had also some problems a year before with dtmf generation...

    at last, i used a 18f242 instead a 16f876 because it is possible to use a 10 mhz oscillator and on pll inside it is 40 mhz.

    about filtering, bruce's hint helps me most :
    http://www.picbasic.co.uk/forum/show...99&postcount=3
    i know it's only microcontrolling, but i like it!

Similar Threads

  1. DTMF on a 12V car system
    By Jumper in forum Schematics
    Replies: 1
    Last Post: - 7th December 2008, 14:41
  2. Replies: 2
    Last Post: - 31st July 2006, 16:06
  3. A little DTMF help
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 48
    Last Post: - 30th May 2006, 01:31
  4. Problems with 16F876 on interrupts an WRITE / READ
    By BigWumpus in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th December 2005, 14:38
  5. HSEROUT Problems
    By SergioRM in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th April 2005, 23:17

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts