Re: New software filter for adc reading
Thank you Darrel for your interesting post.
I need to correct your statement, that the routine takes only 14 samples instead of 15. I have re-checked and found no error. From raw data 0 to raw data 14 makes a total of 15 samples! If I am in error please let me know where the mistake is, since the true MEDIAN can be taken only from an odd number of samples.
In your test you have injected audio signal into a DC line, well this is rather different from a non cyclic random noise that you can see in harsh environment.
Performing DC reading, I hate to see the decimal part of the display behaving like a dancer, hence, I consider the MEDIAN approach interesting, since it make the reading rock stable.
Let see other reports, you will be counted as against. Thank you again for your preciuos contribution.
Cheers.
Al.
All progress began with an idea
Bookmarks