FILTERING NOISE
Realtime filtering of noise out of sensor data
Filtering noise out of sensor data is an important first step while working with any realtime system. Here we use MATLAB to filter noise out of 3axis accelerometer data in realtime. Both Exponential Moving Average (EMA, low pass, Infinite Impulse Response  IIR) and Simple Moving Average (SMA, Finite Impulse Response  FIR) filters are shown. The accelerometer is connected to Matlab using the Arduino UNO board.


Often times, one needs to detect when a sensor signal crosses a certain threshold level. Here we use MATLAB to detect threshold crossing for 3axis accelerometer data. Using the 3case approach described in this video, one can use detect threshold crossing for any sensor signal. One can use raw or filtered sensor signal. The accelerometer is connected to Matlab using the Arduino UNO board.

