interesting, I have heard about the capacitor trick. How would it be done "averaging" in software?
interesting, I have heard about the capacitor trick. How would it be done "averaging" in software?
Erice1984,
Looking at the EXCEL graph that you have posted it seems like a second degree polinomial will fit nicely. A formula of the form Y(X)=a*(X^2) + b will work. The EXCEL trendline will give a value for a and b in the above formula. Then, round this numbers up and you should have a good approximation for your graph. I am writing this reply from my cell phone so I don't have EXCEL with me at this moment to show you what it might look like.
Give it a try. If you have any problems, let us know.
Robert
Here's one possible way.
http://www.picbasic.co.uk/forum/show...3267#post13267
Although I never did hear back from ANYONE.
I have used it myself since that post.
No problems found.
It's based on my original Averaging routines ...
Averaging 16 bit values without using 32 bit math?
http://www.pbpgroup.com/modules/wfse...hp?articleid=7
HTH,
DT
I updated the spreadsheet, feel free to take a look
http://www.drivearu.com/Electronics/...thermistor.xls
I am pretty confidant in this one, no exponents which is nice, and I looked at other automotive temperature gauges and they are showing +/- 7 degrees on theirs.
Bookmarks