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

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

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

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

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

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

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

  6. #6
    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
    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.
    I had missed post#22 while working with proteus, but it didn't matter ... it works too.

    So, at the risk of loosing beer ... and buying chips ...
    Other than the problems that were fixed earlier ... CCP1CON missing ... period instead if CCPR1L:H ...

    This is the problem ....

    The 4620's oscillator is running at 20.13 mhz

    If it's a crystal, the caps are wrong or the crystal is off (or a radio crystal).
    If it's a cheap resonator, then it's only to be expected.

    That's my story ... and I'm sticking to it.
    No way to prove it unless Toby checks it.

    If I run the simulator at 20.13mhz, I get the exact same numbers across the board.
    <br>
    DT

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

  8. #8


    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.

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

  10. #10


    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?

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


    Did you find this post helpful? Yes | No

    Default

    Woohoo!
    I can taste it already.

    DT

  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 Tobias View Post
    Can you suggest a better part number?
    The datasheet for that resonator shows that they have other versions of the same thing but with tighter tolerances (down to 0.1%).
    At least it will have the same footprint.

    With 0.1%, at 6000 RPM it will read between 5990-6010. (according to proteus).
    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