Thank you Darrel for such a quick answer. I will keep thinking what else I could do for further improvment.
As far as the running average is concerned, a way to have a faster answer could be:
...
Type: Posts; User: aratti; Keyword(s):
Thank you Darrel for such a quick answer. I will keep thinking what else I could do for further improvment.
As far as the running average is concerned, a way to have a faster answer could be:
...
Hi Darrel here the version 2. In this version, I am using the mean instead of single data and then I select the median. Let see how it perform.
Charlie:
With a 12 bits ADC there is the...
Darrel thank you for pointing out where the error was. So obvious that I could not see it!
I have an improvment (mark2) and I will be glad to post it, if you could test it under the same condition...
Adding part to my previous post.
Ok found the error the sorting part of the routine was stating:
If Index < Sample then goto SDH_Loop
Now since Sample = 14 then the statement should be:
...
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...
Dave thank you for your positive comment.
Charlie if you read more carefully my introduction, you will note that I am refering to UNWANTED NOISE, some thing you want to remove from your...
To overcome the ADC reading instability, several type of software filters have been devised and
among these the average, or mean value, is the simpler and most widely used.
I came to the...