I am using the LSM6DSOX for tilt detection. is there a way to limit tilt detection to one axis?
I am using the LSM6DSOX built in tilt function. Currently it gives results for tilting along 3 axis. Is there a way to limit it to one axis?
I am using the LSM6DSOX built in tilt function. Currently it gives results for tilting along 3 axis. Is there a way to limit it to one axis?
Hi @JRick.1 ,
you are right, the tilt embedded function considers the 3-axis vector as a whole (lsm6dsox_tilt.c).
But if -for example- you mount the device such that the tilt is only along 1 axis every time, there should be no problems... Please not that the tilt is a quasi-static measure, and that is in general important to know along which axis the tilt take places, for an accurate measure.
By the way, if you are not in the condition of predetermining the axis, you could use other embedded feature that are axis-sensitive to measure the tilt. For example, you could:
-Eleon
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.