Any good way for analogRead readings calibration? #5975
Replies: 1 comment
-
Posted at 2016-12-11 by @MaBecker Hi @bigplik which device are you using ? Posted at 2016-12-11 by bigplik hi @MaBecker I use Pico this time Posted at 2016-12-11 by @MaBecker ok - use search to find all conversation on this topic like this http://forum.espruino.com/search/?q=analog+type:conversation+inTitle:true+sort:date Posted at 2016-12-11 by @MaBecker let us know which topic was helpful :-) Posted at 2016-12-12 by @gfwilliams I guess the easiest is just:
But you can do other things - for example reading in the background using Posted at 2018-08-11 by @MaBecker Thanks for naming the median filtering technic, using this now for several devices running Espruino. Works fine for me with sampleCount = 21.
Posted at 2018-08-11 by @allObjects Declaring / Initializing i and median in the function Posted at 2018-08-12 by @MaBecker Thanks, so this will ensure that not messing up global vars with the same name.
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-11 by bigplik
hi, I want to write code for analogReads sampling, in C i use for loop, I want to make let say 50-100 reads before I print them to console or to display, then can make analogRead a bit more precise as the readings floats a bit when use just simple analogRead function and timer Interval,
I appreciate some advice in this case
Beta Was this translation helpful? Give feedback.
All reactions