I have a 3-axis accelerometer on my board and i was hoping to use it to detect when a user lifts the device up.
I would like to avoid false triggers when the table shakes or when the user nudges the device slightly.
I thought this would be a straightforward case of getting the magnitude from all 3 axis (which should on average give me around 1g acceleration) and then low pass filtering it to remove any high frequency noise. Leaving behind the low frequency content of gravity + the motion of lifting the device up. However, it seems a nudge creates a spread of frequncies some of which overlap in the region i am interested in (0Hz - 2 Hz). Any standard filters for accelerometer data?
Can accelerometers be used for such detection? Must i use a different sensor?