Darrel's Averaging Routine


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2007
    Posts
    53

    Default Darrel's Averaging Routine

    Hello,

    I came across Darrel's averaging routine some time back and it looked great - exactly what I needed for an upcoming project. That project is now on the bench and I went in seach of Darrel's routine however I couldn't find the original information I discovered.

    I did find some information on this forum however I am sure it wasn't the information I originally discovered:

    http://www.picbasic.co.uk/forum/showthread.php?p=13267

    Was it on another forum? Has it been deleted? I hope I am not going completely mad....

    Andy

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


    Did you find this post helpful? Yes | No

    Default

    Sorry bout that Andy.
    My Website Host messed up my site with a recent upgrade to PHP5.

    Here's the averaging page without any navigation.
    http://www.pbpgroup.com/html/Averaging.htm

    hth,
      DT

  3. #3
    Join Date
    Apr 2007
    Posts
    53


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Sorry bout that Andy.
    My Website Host messed up my site with a recent upgrade to PHP5.

    Here's the averaging page without any navigation.
    http://www.pbpgroup.com/html/Averaging.htm

    hth,
      DT
    Hi Darrel,

    Thank you - I avoid the straightjacket for another day!

    You have nothing to be sorry about - the hosting problem wasn't your fault. Besides, you provide excellent information and additions to make PBP more powerful and you do this for free. They certainly make life eaiser for me! I take my hat off to you and only wish I had a greater knowledge to be able to help more people like you do.

    An excellent forum with excellent help yet again. Keep up the good work!

    Andy

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


    Did you find this post helpful? Yes | No

    Default

    Thanks Andy.
    Hope it works out for you.

    Also, that version still has that annoying 1-digit wobble.
    Even with a constant input voltage, it'll jump back and forth between 2 numbers when it's half-way between them.

    Another version I posted adds some Hysteresis to make it a "Solid" reading.

    http://www.picbasic.co.uk/forum/show...67&postcount=5

    HTH,
    DT

Similar Threads

  1. Averaging AtoD samples
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 39
    Last Post: - 29th September 2011, 21:51
  2. Replies: 4
    Last Post: - 17th December 2009, 00:29
  3. Darrel's latest 16 bit averaging routine?
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 17th October 2009, 01:57
  4. Averaging 16 bit values without using 32 bit math
    By sirvo in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th October 2007, 22:18
  5. Software Driven Reset Routine
    By Tissy in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th April 2005, 00:53

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