Recent content by marcospassos

  1. M

    Detecting the movement direction using an accelerometer

    A.T, I'm trying get it work. What I'm doing: - First, the algorithm "calibrates" the sensor getting 50 samples and using the average as the offset - Subtracts the offset from the accelerometer value - Stores the current value of accelerometer - Makes comparisons using the speed in order to...
  2. M

    Detecting the movement direction using an accelerometer

    Hello A.T, thanks so much for your reply. The velocity is not important to me. I just want to know the direction. In fact, I have the direction using my algorithm but it doesn't work when I change quickly. I believe there is a formula or pattern to identify when it occurs through the graph...
  3. M

    Detecting the movement direction using an accelerometer

    I'm a few days trying to get the direction of movement using an accelerometer. For my application I need to put an object on the table (z axis fixed) and detect the movements. I know perhaps the accelerometer is not the best sensor for this kind of application but is the sensor that is available...
Back
Top