Elapsed Timer findings


Closed Thread
Results 1 to 40 of 48

Hybrid View

  1. #1
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

    If it’s discovered, I’m real surprised it hasn’t been noted somewhere,
    because original values/calculations are still being used also.
    It would be affecting commercial products out there I’ll bet.
    If you assume 7 instruction cycles for reload, and use the correct overflow value, isn’t that still exactly the same problem?

    Test is easy.. make 10,000 Hz hardware PWM, and 100Hz PWM with Elapsed timer on the same chip.
    10,000Hz is the lowest even freq at 50% duty cycle without resolution error assuming 10 MHz clock.
    So then it only takes one pic and two dividers running from the same crystal.
    Then any old crystal of any value doesn’t matter... run the chip as fast as possible, until the LEDs run away from each other.

  2. #2
    Join Date
    Jan 2013
    Location
    Texas USA
    Posts
    229


    Did you find this post helpful? Yes | No

    Default Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

    Art,

    Trying to respond to your PM and your inbox is full.....
    Regards,
    TABSoft

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

    Put it out here.. if it happens I end up the fool, I still appreciate finding out

    ps.. it’s cleared if you must.

  4. #4
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

    Ok I will just say respectfully same as if he were here, got you Darrel!

    Really, we are all Human and this code is excellent.
    I hope it is agreed that it is important to evaluate and improve things like this (and especially this).

    Mods please, it would be the right time, if possible to make some of this thread disappear.
    I’m sure Tabsoft will take care of it. I think original versions should be preserved, but somehow marked.
    I have agreed to help test if need be (at least can do good tests with 16F and show how the test is done).
    but the solution, is really that easy.
    Cheers, Brek.

  5. #5
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

    I'm doing some chores outside.

    One of the mods will move the recent posts to a new thread asap.

    Robert
    (beautiful day here)

  6. #6
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

    Thanks, no rush.. It just seems inappropriate, to do this, and also right and needed at the same time.
    Tabsoft’s thread might be appropriate if some of this can just be moved. Now I have spoken to him I think it would be ok with him also.
    Thanks Robert.

    Brek
    (I wish I could say the same, it’s been hell. I needed this to be wrong or it would be big problems for me, but all good now,
    it might have been Sunny outside for all I know)

  7. #7
    Join Date
    Jan 2013
    Location
    Texas USA
    Posts
    229


    Did you find this post helpful? Yes | No

    Default Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc

    No worries about moving this to the Thread I started over in Code Examples.

    Go ahead as it is relevant. With one caveat. The code I posted most likely does not have this issue as Brek and I have discussed and he would be testing.
    Regards,
    TABSoft

Similar Threads

  1. Elapsed Timer Demo
    By Darrel Taylor in forum Code Examples
    Replies: 111
    Last Post: - 29th October 2012, 17:39
  2. SPWM and Elapsed Timer
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 8th May 2008, 03:16
  3. Darrel Taylor Elapsed Timer
    By rwskinner in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th March 2008, 01:22
  4. DT Elapsed Timer
    By rwskinner in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 9th March 2008, 23:17

Members who have read this thread : 2

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