Created an analog reader that implements a moving average smoothing and change detection