Interrupt RPM and Taylors Elapsed time on 18F4620


Closed Thread
Results 1 to 40 of 71

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Hey Darrel,

    Disabling TMR1 after the event has zero affect on the value that CCPR1l & CCPR1H record at the time of the event. The value in Timer1 is captured immediatley on event.

    Can you recommend something for the OP that wiil fix it?

    If you can -- he gets the free PIC, and I'll send you a six-pack of your favorite BEER...

    FYI: Disabling the timer after the capture event has zero effect on the value captured by the hardware catpure module.

    Remember ... It's done in hardware
    Last edited by Bruce; - 29th January 2010 at 05:06. Reason: FYI
    Regards,

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

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Bruce
    Ship a couple of the chips tomorrow. I will pay for them. I need to get this calculating correctly soon. If you mail tomorrow I bet I have it saturday.

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


    Did you find this post helpful? Yes | No

    Default

    Hey Toby,

    I'm real sorry I didn't order three of these things for you, but if you refer back to post
    #23 -- you'll see what happened.
    Regards,

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

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


    Did you find this post helpful? Yes | No

    Default

    But long before he gets them, the problem will be solved, and I will drink your beer.
    Cool, but you have to prove me wrong to get that BEER...

    What's your favorite suds?

    Just want to be prepared for when you DO....
    Regards,

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

  5. #5


    Did you find this post helpful? Yes | No

    Default

    One will be fine too, will it ship tomorrow? Not that I don't have faith in DT

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


    Did you find this post helpful? Yes | No

    Default

    Tobias,

    Not that I think there is anything wrong with the way you are doing things, but - I earlier posted a routine that can read virtually any number of tachometers to good accuracy, and to RPMs far past 15000 (if your tach output is the standard 2 pulse/rev) type. It averages over a period, so jitter
    isn't a problem.

    It is interrupt-driven, and runs totally in the background.
    Charles Linquist

  7. #7


    Did you find this post helpful? Yes | No

    Default

    Did you ever test it on an 18F4620? I found it. I am sure I will have a few questions in the morning.
    Last edited by Tobias; - 29th January 2010 at 05:54.

  8. #8
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Charles Linquis View Post
    I earlier posted a routine that can read virtually any number of tachometers to good accuracy, and to RPMs far past 15000 (if your tach output is the standard 2 pulse/rev) type.
    BEER thief
    <br>
    DT

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


    Did you find this post helpful? Yes | No

    Default

    Yep. My order was shipped UPS RED, and should be here tomorrow, so I'll be shooting
    your 18F4431 TQFP out by standard Priority Mail. You should be receiving it pretty fast
    with you being just down-the-road.

    Not that I don't have faith in DT
    You should .. he's a real genius at this stuff...

    BTW: Your total for the 18F4431 TQFP + shipping is $11.55, which is exactly our cost for
    the part + shipping. Just make a Paypal payment in this amount to [email protected]

    And, if you need any help using this thing - just ask. I've done a boat-load of commercial
    apps with these.
    Regards,

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

  10. #10


    Did you find this post helpful? Yes | No

    Default

    Thanks check your PayPal acct

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


    Did you find this post helpful? Yes | No

    Default

    BEER thief
    That is just so WRONG ... hit squad has been mobilized....
    Regards,

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

  12. #12
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bruce View Post
    Disabling TMR1 after the event has zero affect on the value that CCPR1l & CCPR1H record at the time of the event. The value in Timer1 is captured immediatley on event.
    Absolutely true!
    But the numbers given originally were from multiple captures without the timer being turned off. So they were irrelevant and confusing.

    Can you recommend something for the OP that will fix it?

    If you can -- he gets the free PIC, and I'll send you a six-pack of your favorite BEER...
    I can ... soon. Just don't want to have to say Oi Vey again.

    Hell, ship him the chips, and I'll pay for them if I fail.
    But long before he gets them, the problem will be solved, and I will drink your beer.
    <br>
    DT

Members who have read this thread : 0

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