MIKROE 4-20mA RT Click
|
Supported:
Single R Click readings tend to fluctuate a lot. To combat the large fluctuations this library optionally provides an exponential moving average (EMA) applied to the R Click readings. It does not rely on storing an array of data and is hence very memory efficient.
It does this by oversampling the R Click readings at a user-supplied interval. Subsequently, it will low-pass filter the readings using a smoothing factor that is calculated from a user-supplied low-pass filter cut-off frequency. Technically, the exponential moving average is a single-pole infinite-impulse response (IIR) filter.
See the examples in the examples folder.
Dennis van Gils (vangi.nosp@m.ls.d.nosp@m.ennis.nosp@m.@gma.nosp@m.il.co.nosp@m.m)
MIT License. See the LICENSE file for details.