PDA

View Full Version : Darrel's Averaging Routine



Andy Wood
- 26th June 2008, 23:25
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

Darrel Taylor
- 26th June 2008, 23:44
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

Andy Wood
- 26th June 2008, 23:58
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

Darrel Taylor
- 27th June 2008, 23:24
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/showpost.php?p=13267&postcount=5

HTH,