The last weeks I built a device which measures the acceleration and analyses if there was a specific gesture.
The 3-axis accelerometer LIS3LV02DQ is connected to the Arduino via I2C.
I plotted several 10.000 values to get the information out of a smooth handshake.
After a digital little low-pass filter the values look good and fast enough.
In a little loop I interpret if there was a special move.