Skip to main content
Visitor II
December 9, 2020
Solved

IIS2ICLX problem

  • December 9, 2020
  • 2 replies
  • 845 views

Hi,

I set the sensor to 1G scale, data rate 104 Hz, while tilting from 0 to 20-25 degrees it gives sensible readings. Over that it just always shows 1G acceleration, so 45 degree angle shows as 89.

Any hints on how to fix that, or my copy might be defective?

    This topic has been closed for replies.
    Best answer by Eleon BORLINI

    Hi @PDegt.1​ ,

    are you computing the tilt angle using 1 single axis or using 2 axis?

    For your reference, you can refer to the application note AN5551, and in particular to the Figure 4 in p.3: using only 1 axis (so the arcsin or the arccos instead of arctan), you would experience a drop in sensitivity after 30°:

    0693W000006FG0zQAG.pngPlease let me know if it can be helpful for you.

    -Eleon

    2 replies

    ST Employee
    December 10, 2020

    Hi @PDegt.1​ ,

    are you computing the tilt angle using 1 single axis or using 2 axis?

    For your reference, you can refer to the application note AN5551, and in particular to the Figure 4 in p.3: using only 1 axis (so the arcsin or the arccos instead of arctan), you would experience a drop in sensitivity after 30°:

    0693W000006FG0zQAG.pngPlease let me know if it can be helpful for you.

    -Eleon

    PDegt.1Author
    Visitor II
    December 11, 2020

    OK, so apparently I wasn't initializing the sensor properly. The problem with sensor not changing data over 30 degrees is solved.

    Thanks.