Archive

Posts Tagged ‘jumpy sensor’

How to read smoothly an average value from a jumpy or erratic input sensor.

June 15, 2013 Leave a comment

Below, is an Arduino function for reading smoothly an average value from a jumpy or erratic analog input sensor. The function reads repeatedly from an analog input, calculating a running average and returns the value back to the caller.

Read more…