NEW! Check out our new project: MatDuino.com!
Due to popular demand, we are building a collection of brand new MATLAB Arduino videos, tutorials, content, and downloadable code packages. PREORDER now available for 50% off an annual membership for a limited time.
Individual and Educator packages available.
Due to popular demand, we are building a collection of brand new MATLAB Arduino videos, tutorials, content, and downloadable code packages. PREORDER now available for 50% off an annual membership for a limited time.
Individual and Educator packages available.
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.


Threshold Crossing
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.

