Counting Pulses


Closed Thread
Results 1 to 5 of 5

Thread: Counting Pulses

  1. #1

    Default Counting Pulses

    I am needing to calculate four axle rpms. I have twenty counts per rev on each axle. If I use the COUNT command, I eat up alot of time. I am considering using the PULSIN command. A friend of mine told me about the http://www.awce.com/pak7.htm

    It looks like it will do the trick. Does anyone else manufacturer a product similiar? Or are there any other options?

    Thanks
    Toby

  2. #2
    Join Date
    Mar 2006
    Location
    Pennsylvania, USA.
    Posts
    130


    Did you find this post helpful? Yes | No

    Default

    Do a search for Frequency Counting, and you will find a great example that Bruce did for someone using Darrel Taylor's Instant Interrupts to trigger on a rising edge, and then trigger again later on the falling edge. I think you can easily modify it for your project, and by using interrupts you'll free up a lot of microprocessor time.

    Good Luck!

    Jerry.
    If your oscilloscope costs more than your car...

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Thank you I will look into it.
    Toby

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


    Did you find this post helpful? Yes | No

    Default

    Which method you choose depends a lot on how fast those pulses are coming in. What is the maximum RPM of the shafts you are trying to measure the speed of?
    Charles Linquist

  5. #5


    Did you find this post helpful? Yes | No

    Default

    3000 hz would be the absolute fastest.

Similar Threads

  1. COUNT is not counting again
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 19th June 2009, 04:52
  2. Count pulses between VARIABLE TIME
    By RodSTAR in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th October 2007, 12:44
  3. Timing input pulses and re-outputting them
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th February 2007, 01:50
  4. Remain counting while sending out a pulse
    By ultiblade in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 10th January 2007, 15:51
  5. Counting pulses
    By srspinho in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 19th November 2003, 00:54

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