Unidimensional trivial Kalman filter (header only, Arduino compatible) library
More about the Kalman algorithm: https://en.wikipedia.org/wiki/Kalman_filter
https://github.com/dwrobel/TrivialKalmanFilter
http://dwrobel.github.io/TrivialKalmanFilter
On Arduino, install through your software's Library Manager, otherwise clone the repository to appropriate folder:
$ git clone https://github.com/dwrobel/TrivialKalmanFilter