Figure 4—This circuit filters high-frequency noise out of the accelerometer signal, aligns the accelerometer output with the microcontroller voltage sampling range, and amplifies the output to fill a larger part of the sampling range, allowing for more resolution on sampled signals. The circuits for the accelerometer’s x- and y-axes are the same. Only one copy of the filter/amp circuit is shown.