By the way rasciodc, i'm Portuguese too, i'm from Maia.
Thanks, gadelhas, for the link! very useful!! mainly for beginners like me!
And, actually I´m Brazilian! living in São Paulo at the time....
Just accumulate 64, 10 bit readings in a row into the same word variable, then do a shift to the right by 4 places which will give you a 12 bit result.
Dave, thanks for the explanation! How much time would this algorithm take to do this, any idea? (just wondering if I can use it in my altimeter...)
Thanks!
Isn't the 12-14-16 bit reading just a guess about being between the 2- 10 bit readings which could be off the expanded factor bits ??
If the a/d values do not bounce in the 64 samples, the actual voltage could be up or down on that step but the guess would be middle.
Don
amgen
If the a/d values do not bounce in the 64 samples, the actual voltage could be up or down on that step but the guess would be middle.
Yes, but in practice the numbers jump around enough so oversampling can extract more data from the result. The main drawback is speed, but it is very effective.
Bookmarks