frequency meter desin


Yesterday 18:23
Forum: Proton Studio
Starter: johngb
Views: 0
Replies: 25
Yesterday 15:07
Forum: The Lounge
Starter: fanie
Views: 0
Replies: 3
Yesterday 14:56
Forum: Absolute Beginners Section
Starter: tadd
Views: 0
Replies: 10
Go to last post By: towlerg
Yesterday 14:52
Forum: The Lounge
Starter: towlerg
Views: 0
Replies: 8
Yesterday 13:28
Forum: Proton Plus Compiler v3
Starter: Les
Views: 0
Replies: 25
+ Reply to Thread
Results 1 to 6 of 6

Thread: frequency meter desin1875 days old

  1. #1
    djalltra
    Guest djalltra's Avatar

    0 Not allowed!

    Post frequency meter desin

    hi guys please i want to design a frequency meter using the timer1 module in 16f877
    capable of measuring frequencies of up to 20mhz but i dont have any idea on the math so anyone with relable info would be appreciated

  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
    joantabb
    Guest joantabb's Avatar

    0 Not allowed!

    Default Re: frequency meter desin

    Hi. I think you are not going to be able to achieve this option easily.

    the maximum clock speed of the 16F877 is 20mhz, and the micro controller takes at least 4 clock cycles to execute one instruction, so I suspect it will be difficult to capture time periods shorter than the microcontroller can run...

    But I could be wrong,

    Maybe you could measure the time period for a number of cycles using an external counter. however this will introduce errors if the frequency being sampled, is not stable.

    regards Joan

  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
    joantabb
    Guest joantabb's Avatar

    0 Not allowed!

    Default Re: frequency meter desin

    Joan, opens mouth and puts her foot in it...


    I guess if you can do 60mhz frequency counter with a 16F84running at 4mhz, you should be able to do 20mhz frequency counter with a 16f877 running at 20mhz

    http://www.circuitvalley.com/2011/07...r-counter.html

  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.

  7. #4
    Administrator John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,608
    Thumbs Up
    Received: 115
    Given: 31
    Total Downloaded
    2.92 GB

    0 Not allowed!

    Default Re: frequency meter desin

    Hi Djalltra and Joan
    I reckon the basic idea of a frequency counter is to open a gate for a certain period of time (1 second if you want to measure to +- 1Hz) and count the pulses in that time.
    If you are happy with 10Hz readout then open the gate for 0.1 second.
    So all that is needed is a timer to measure a period depending on the accuracy you want and then count like the fellow does in your link with a simple amp that squares off the input frequency.
    John

  8. 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.

  9. #5
    Junior Member Ioannis's Avatar
    Join Date
    Sep 2012
    Posts
    22
    Thumbs Up
    Received: 13
    Given: 1
    Total Downloaded
    1.04 GB

    0 Not allowed!

    Default Re: frequency meter desin

    The application note AN592 from Microchip gives all the details to make it work. It is based on Timer0 specs. Very clever use of the fast timer0.

    http://www.microchip.com/stellent/id...pnote=en011033

    Ioannis

  10. 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.

  11. #6
    Senior Member Mellbreak's Avatar
    Join Date
    Jun 2012
    Posts
    511
    Thumbs Up
    Received: 52
    Given: 22
    Total Downloaded
    2.10 GB

    0 Not allowed!

    Default Re: frequency meter desin

    Hi Djalltra,

    I've actually built the frequency meter suggested by Joan in post 3. It works very well. The original circuit and code appears to be by a guy called Phil Rice (VK3BHR). If you follow this link

    https://sites.google.com/site/vk3bhr/home/fm2


    it will take you to the appropriate page. Links at the bottom of Phil's page will take you to the source code. The nice thing about the source code is that it allows you to select between a 16F84 and a 16F628.

    Regards,

    Bob

  12. 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. rpm meter
    By Wilfried_1 in forum Proton Plus Compiler v3
    Replies: 25
    Last Post: 4th June 2013, 18:16
  2. LED VU Meter/Audio frequency analyser
    By SimonGie in forum Proton Plus Compiler v3
    Replies: 11
    Last Post: 30th December 2009, 17:55
  3. 0-500v meter
    By rverm in forum Proton Plus Compiler v3
    Replies: 2
    Last Post: 18th January 2009, 20:47
  4. DC Power Meter
    By mjmccarron in forum The Lounge
    Replies: 14
    Last Post: 5th December 2008, 00:13
  5. 4 Mhz Frequency Meter
    By Roshan in forum Proton Plus Compiler v3
    Replies: 0
    Last Post: 13th July 2005, 15:55

Members who have read this thread : 43

Actions :  (Set Date)

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

Tags for this Thread

Posting Permissions

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