Input signal bandwidth:
The bandwidth of the signal that must be
resolved determines the ADC sampling frequency and the amount of data the code
must process.
ADC reference voltage: The ADC reference voltage must be selected such
that the signal amplitude can be fully captured with good resolution.
Decay coefficient: In a single-pole IIR filter, the decay value is
the single coefficient that weights the contribution of new samples to the
current result. The magnitude of the decay coefficient is between zero and one.
A higher decay value results in an earlier cutoff frequency.