Interrupt RPM and Taylors Elapsed time on 18F4620


Closed Thread
Results 1 to 40 of 71

Hybrid View

  1. #1


    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

  2. #2
    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

  3. #3


    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.

  4. #4
    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

  5. #5
    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

  6. #6


    Did you find this post helpful? Yes | No

    Default

    Thanks check your PayPal acct

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

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


    Did you find this post helpful? Yes | No

    Default

    If Charles hadn't done it with DT_INTS, I might have been upset (longer).

    But he did ...
    More things to simulate.

    I might have to send Charles a 6-pack too.
    <br>
    DT

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


    Did you find this post helpful? Yes | No

    Default

    You ain't getting off that easy bud .. you still have to prove me wrong, and show a solution to the problem....)
    Regards,

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

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


    Did you find this post helpful? Yes | No

    Default

    Agreed, and accepted.

    But just so I'm clear, what I'm proving wrong is that it's a revision or errata sheet problem with the 18F4620 itself.
    And that using an 18F4431 will solve it?

    In other words, I gotta do it in hardware too?
    <br>
    DT

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


    Did you find this post helpful? Yes | No

    Default

    You just have to prove that my recommendations throughout this thread (for this specific controller) were wrong, and show your solution to the problem - using the same controller.

    My point thus far has been that this particular controller is doo-doo. Your entry point on this thread stated;
    I think you need to clear the timer sooner.
    Last edited by Bruce; - 29th January 2010 at 08:17.
    Regards,

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

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


    Did you find this post helpful? Yes | No

    Default

    I rive in China. The address in my bio is just to confuse people.
    Charles Linquist

  13. #13


    Did you find this post helpful? Yes | No

    Default

    Theoretically I should be able to swap oscillators and the problem will be on the 877A. Give me a bit and I will try that.

    Here is a link to the one I have on the boards.
    http://mouser.com/ProductDetail/Kyoc...XFVfiWpjmqo%3d
    Last edited by Tobias; - 29th January 2010 at 15:53.

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


    Did you find this post helpful? Yes | No

    Default

    I think Darrel nailed it with the oscillator problem. Nice catch. I just assumed you were
    testing different PICs on the same board.
    Regards,

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

  15. #15


    Did you find this post helpful? Yes | No

    Default

    its the osc. I had no idea there could be that much variance. Can you suggest a better part number?

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