DTMF Decode with Mitel 8870 & 16F628


Closed Thread
Results 1 to 4 of 4
  1. #1
    m0cke's Avatar
    m0cke Guest

    Question DTMF Decode with Mitel 8870 & 16F628

    Hi all,

    I'm working on a DTMF decoder board using a Mitel 8870 decoder IC and 16F628, I'm having problems getting the PIC to see the Strobe from pin 15 of the 8870 using port A.0 on the PIC, has anyone got any ideas or experience with the 16f628 & 8870?

    Also any code snippets in PBP may be useful?

    I need to get this working ASAP as it's for the local Amateur TV Repeater which is due to go on air in May.

    Thanks for any advise

    Regards,

    Jim

  2. #2
    m0cke's Avatar
    m0cke Guest


    Did you find this post helpful? Yes | No

    Default Sort of working now - Help with lookdown

    Hi again,

    It's OK i;ve sorted the problem, I was using TRIS to set the ports but I refered back to using INPUT, when I looked at the strobe port on the scope it was being dragged down so I guessed the port was not set as an input although I had set it with TRIS.

    The problem I have now is i'm trying to use a lookdown table as a passcode, so for instance I enter *9 to get to the engineering section, I now have to enter a code to get access to the functions but when I enter the first number of the passcode the pic errors out back to the beginning.

    Any ideas?

    Regards,

    Jim

  3. #3
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Hello,


    The problem I have now is i'm trying to use a lookdown table as a passcode, so for instance I enter *9 to get to the engineering section, I now have to enter a code to get access to the functions but when I enter the first number of the passcode the pic errors out back to the beginning.

    Are you using a interupt? and not turning off the interput when you call it via DTMF?

    Dwayne

  4. #4
    m0cke's Avatar
    m0cke Guest


    Did you find this post helpful? Yes | No

    Default

    Hi Dwayne,

    No i'm not, after the pic receives the *9 from the DTMF decoder IC then it moves to the engineering section of code where the lookdown table coding is.

    I have for now scrapped the lookdown table and put it in a simple format as follows:-

    IF dtmf = 4 Then 'First code digit
    gosub Getdtmf
    else
    goto error
    ENDIF
    IF dtmf = 1 Then 'Second code digit
    gosub Getdtmf
    else
    goto error
    ENDIF
    IF dtmf = 7 Then 'Third code digit
    gosub Getdtmf
    else
    goto error

    etc etc

    This seems to work fine

    Regards,

    Jim

Similar Threads

  1. Replies: 2
    Last Post: - 31st July 2006, 16:06
  2. Problems with DTMF Generatiom
    By Angus Anderson in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th May 2006, 21:12
  3. A little DTMF help
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 48
    Last Post: - 30th May 2006, 01:31

Members who have read this thread : 1

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