DTMFOUT association with Oscillator frequency


Yesterday 15:54
Forum: Proton Plus Compiler v3
Starter: gtv_pic
Views: 0
Replies: 10
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member Dave-S's Avatar
    Join Date
    Sep 2004
    Posts
    279
    Thumbs Up
    Received: 7
    Given: 0
    Total Downloaded
    359.60 MB

    0 Not allowed!

    Default DTMFOUT association with Oscillator frequency

    Have a project which detects power supplies and temperatures of equipment and sends alarms via landline telephone, working ok on a 16F877A. I need to expand this project and require more pins so we have moved it to a 18F87K90 but have a couple of problems.

    1. The DTMF tones do not work, they are not recognised by the telephone line. The 16F877A was running at 20Mhz and the 18F87K90 is running at 64Mhz, should not the DTMF tones be the same? listening to them they are going a lot slower on the 18F87K90, so I altered the ONTIME/OFFTIME but it still does not work, what is the relationship to the Oscillator?

    1. Using NTC thermistors for temperature measurement, the 16F877A was 10 bit ADC (1024 counts) where the 18F87K90 is 12 bit ADC (4096 counts), it gives better resolution. They are connected to panel via plug and socket with + 5 volts to one side of Thermistor and the other side is connected to Port pin ADC/ a resistor connected to Ground. When a socket is not in use it works ok on the 16F877A, readings are zero counts, but on the 18F87K90 it works sometimes but occasionally brings up an alarm with a count of around 6554. Where can it get a count of that value from? The pin with nothing plugged in is connected to Ground via 10k resistor so should be zero. I have got around the problem at the moment by setting alarms between two values avoiding anything over 6000.

    Any Ideas would be helpful thanks,
    David

  2. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #2
    Junior Member pe1pme's Avatar
    Join Date
    Dec 2007
    Posts
    88
    Thumbs Up
    Received: 4
    Given: 9
    Total Downloaded
    434.95 MB

    0 Not allowed!

    Default Re: DTMFOUT association with Oscillator frequency

    It is next to impossible to use a PIC as a DTMF generator bacause of the very tight specifications of the phone system! I should use a specialized IC for that job, like the CD22859e, the TP5089 or the HT9200A or B. The first two and the 9200B are parallel input (7 or 8 pins!) and the HT9200A has a serial input (two extra pins)
    To be OLD and WISE you must first have to be YOUNG and STUPID!

  4. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #3
    Member Dave-S's Avatar
    Join Date
    Sep 2004
    Posts
    279
    Thumbs Up
    Received: 7
    Given: 0
    Total Downloaded
    359.60 MB

    0 Not allowed!

    Default Re: DTMFOUT association with Oscillator frequency

    Quote Originally Posted by pe1pme View Post
    It is next to impossible to use a PIC as a DTMF generator bacause of the very tight specifications of the phone system! I should use a specialized IC for that job, like the CD22859e, the TP5089 or the HT9200A or B. The first two and the 9200B are parallel input (7 or 8 pins!) and the HT9200A has a serial input (two extra pins)
    I have the HT9200A which I tried but could not work out how to send 5 bytes, see my previous Post HT9200A http://www.protonbasic.co.uk/showthr...TMF-to-HT9200A. It works fine on the 16F877A, with a filter.

    David

  6. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. How to get access to oscillator frequency?
    By jom in forum Oscillator Modules
    Replies: 11
    Last Post: 12th November 2012, 19:02
  2. 16F676 Internal oscillator frequency changing whilst code running
    By robbed666 in forum Proton Plus Compiler v3
    Replies: 2
    Last Post: 6th October 2012, 14:22
  3. Oscillator Frequency Question
    By johngb in forum Labcenter Proteus VSM
    Replies: 0
    Last Post: 26th April 2012, 07:57
  4. Oscillator Frequency Question
    By johngb in forum Proton Plus Compiler v3
    Replies: 0
    Last Post: 26th April 2012, 07:56
  5. Oscillator config
    By david in forum The Lounge
    Replies: 8
    Last Post: 4th July 2007, 14:07

Members who have read this thread : 28

Actions :  (Set Date)

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