Using the Xtrinsic FXOS8700CQ Accelerometer and Magnetometer Vector-Magnitude Function

Discussion in 'UDOO NEO' started by Maurice, Nov 15, 2016.

  1. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    I'd like to automatically detect that the Neo is moving (or that it is not moving). Am I correct in reading in this document [https://cache.freescale.com/files/sensors/doc/app_note/AN4458.pdf] that the FXOS8700CQ has functions built in to do so? Also, they are not presently accessible with the current library, are they?
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    If I read this thread it is not an issue of library but of (interrupt) pin assignment.
     
  3. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    :(
    Would be a simpler alternative to do an abs() of every axis value and see if deviates too much. The placement of the Neo would be like a book on the table. I'd like to detect movements like shifting or lifting, even for a few centimeters.
     
  4. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    The motion sensor docs state:
     

Share This Page