Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1017 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 1017 Bytes

Exponential-Filter Library for Arduino

Arduino-Lint-Action Spell-Check Compile-Examples Github

Arduino Exponential-Filter provides an exponential filter to smooth a "noisy" input data value.

OUTPUT[t] = OUTPUT[t-1] + α(INPUT[t] - OUTPUT[t-1])
         += α(INPUT[t] - OUTPUT[t-1])

Where:
α   = ∆t/ (RC + ∆t)

When:
τ = RC [seconds]
  = 1 / 2πƒ