PBP wish list.....


Closed Thread
Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216

    Default PBP wish list.....

    It would be real beaut if there were 2 additional functions, which would suit a lot of stuff I am doing:
    1. DTMF decoding and converting to ASCII
    2. FREQIN to about 10kHz

    As I say, these would suit me a whole lot.

  2. #2
    Join Date
    Oct 2005
    Location
    Pinckney, Michigan
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    32-bit interger math (longs) would be very nice. DIV32 helps but "real" longs would be very nice.

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


    Did you find this post helpful? Yes | No

    Default

    Hello Muddy,

    Your frequency can easily be calculated by using Pulsin in a subroutine...This has not been tested, but the idea is there. I wrote one a long time ago for RPM on a 2 stroke airplane engine.

    routine:
    Pulsin Pin1, 1 ,Pos 'measures the positive Pulse
    Pulsin Pin1, 0, Neg 'measures the negative Pulse.
    Wavelength/cycle=Pos + neg 'Adds them together for the full length
    Frequency=1000/Wavelength '(in ms)
    Frequency=1000000/Wavelength '(in us)
    return Frequency

    DTMF is a frequency...Thus the above routine can measure the frequence of the DTMF and tell you which number you pressed...

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

  4. #4
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    32 bit integers. Better interrupt support would be nice too.

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Dwayne
    Hello Muddy,

    Your frequency can easily be calculated by using Pulsin in a subroutine...This has not been tested, but the idea is there. I wrote one a long time ago for RPM on a 2 stroke airplane engine.

    routine:
    Pulsin Pin1, 1 ,Pos 'measures the positive Pulse
    Pulsin Pin1, 0, Neg 'measures the negative Pulse.
    Wavelength/cycle=Pos + neg 'Adds them together for the full length
    Frequency=1000/Wavelength '(in ms)
    Frequency=1000000/Wavelength '(in us)
    return Frequency

    DTMF is a frequency...Thus the above routine can measure the frequence of the DTMF and tell you which number you pressed...

    Dwayne
    Hi, Dwayne

    Just a little example of what you wrote ... also applied to a model RPM Meter !!!

    DTMF might be a little trickier as there are TWO mixed frequencies ... but there are cheap and excellent DTMF decoders on the market ...
    Why re-invent the wheel ???

    Regards
    Alain
    Attached Files Attached Files
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

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


    Did you find this post helpful? Yes | No

    Default Simple wish... far at the bottom of the to-do list

    Even if it's not important.. it could be interesting to have

    Hardware and Software block definition
    Code:
             '
             '    Lcd 
             '    ---
             With LCD 
                  Data = PORTA,0    ' Set data pin of LCD to
                                    ' PORTA.0-PORTA.3
     
                  RS = PORTB,4      ' Set RS bit of LCD to
                                    ' PORTB.4
        
                  E = PORTB,5       ' Set E bit of LCD to
                                    ' PORTB.5
         
                  LINES = 4         ' 4 Lines LCD
                  COMMANDUS = 2000  ' Command delay time in uSec
                  DATAUS = 50       ' Data delay time in uSec
                  EndWith
    Same for all other function like DEBUG, HPWM, HSERIN....

    I/O Alias block
    Code:
    Alias PORTA
         .0 = SCL
         .1 = SDA
         .2 = StatusLED
         EndAlias
    Variable type block
    Code:
    BYTE
        CounterA
        Discard
        BlahBlah
        EndBYTE
    Last edited by mister_e; - 6th November 2005 at 18:56.
    Steve

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

  7. #7
    martarse's Avatar
    martarse Guest


    Did you find this post helpful? Yes | No

    Default DTMF decoder wery hard to find!

    Hello alain,

    DTMF decoders are very hard to find. I know there are many models on the market but they seem to be unavailable.

    Clare, Motorola, SDI, TI and some others manufacturers have stated the end of manufacture for this part!

    Zarlink are another company that make this part, but they are not interested to sell it for an order under 10000 units.

    I think a function like DTMF Decoding would be very interesting in the next release of PBP.

    salut!
    Martin

  8. #8
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Question

    Hi, Martin

    Opening my favourite component retailer cat. I find at once the TCM5089 ...second the MT8870 from MITEL ...
    so, you're in Canada ... lots of differences from here.

    THE Heavy method is found in the NE/SE 567 Datasheet : 4 couples of PLL circuits ... but, I think there's an easier way.

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 12:55
  2. PBP List file???
    By MOUNTAIN747 in forum General
    Replies: 2
    Last Post: - 28th February 2010, 19:48
  3. List of instructions used in PBP ?
    By AndrewC in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd November 2007, 11:22
  4. PBP Editor Wish List:
    By blainecf in forum PBP Wish List
    Replies: 7
    Last Post: - 12th July 2006, 21:07
  5. PBP Wish List
    By Radiance in forum PBP Wish List
    Replies: 5
    Last Post: - 1st February 2005, 17:30

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