spectraphilic / wasp_sketches

Waspmote sketches develoded by our group
1 stars 0 forks source link

Sampling routines for VL53L1X and Maxbotix #23

Closed johnhulth closed 5 years ago

johnhulth commented 5 years ago

We need to find out good sampling routines for the Distance VL53L1X sesnor. Eg. sampling time, sampling frequencies and filtering of raw measurements. This should be done before we deploy the new Lagopus boards.

johnhulth commented 5 years ago

Conclusion: Both VL53L1X and Maxbotix are measuring distance to the snow surface, this is an unstable measurement since the Ultra sonic signal can simply blow away and the laser signal can hit a snow flake in the air, and therefore return a 'bad' value. Our previous approach have been to take repeated samples (5) and reported the median and standard deviation. Simon is really interested in snow drift, and the 'bad' readings can give us information of/if there is blowing snow in the air. Therefore we suggest that we implement the same approach as we use for Onewire strings. At each measurement interval we collect several samples (5-40). We send the first value and thereafter only the difference from the previous sample.

ArcticSnow commented 5 years ago

done!