Advice on frequency measurement to 30MHz


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2007
    Posts
    53

    Default Advice on frequency measurement to 30MHz

    Hello,

    A few ham friends and I are working on a project where we would like to be able to automatically switch in various filters based on the frequency of an Rf signal in the range 1.8 to 30MHz.

    The project will contain a PIC (18Fxxxx) for various measurement, control and display purposes. We are currently in the early "block diagram" stage and have not yet decided on which device to use. I have used the CCP modules before for frequency measurement but not at this frequency (not even sure it can be done this way?). Are there any devices more suitable than others for this application? Maybe a prescaler needs to be involved?

    Any advice would be greatly appreciated.

    Andy

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Andy,

    Have a look at this app note. It's for a 50MHz freq counter using an old C series PIC.
    http://ww1.microchip.com/downloads/e...tes/00592d.pdf
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Apr 2007
    Posts
    53


    Did you find this post helpful? Yes | No

    Default

    Hi Bruce,

    Thanks for the info. I now remember seeing that app note many years ago.

    I also found this thread which has helped me get something up and operational on a 16f877 for starters.

    http://www.picbasic.co.uk/forum/showthread.php?t=1137

    I used Timer1 (T1CKI) as the input (as it is 16bit) and Timer0 with a period of 1mS for the timing. I had to fudge the resulting values just a bit as there is a small error due to timer resolution and program overhead.


    Andy

Similar Threads

  1. HPWM command and oscillator frequency
    By RussMartin in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th March 2009, 22:41
  2. Timer1 - frequency measurement
    By -Dan- in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 5th November 2008, 10:31
  3. HPWM10 Frequency Updating
    By duncan303 in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 19th January 2008, 12:30
  4. inaccurate frequency using TMR1 PI18F452
    By nkarpovich in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 14th October 2006, 16:22
  5. frequency measurement
    By big-x in forum General
    Replies: 2
    Last Post: - 25th November 2005, 00:53

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