Skip to main content
PDegt.1
Associate II
Dec 9, 2020 5:12 PM UTC
Solved

IIS2ICLX problem

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.
Eleon BORLINI
Eleon BORLINIBest answer
ST Employee
Dec 10, 2020 9:32 AM UTC

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

Eleon BORLINI
Eleon BORLINIBest answer
ST Employee
Dec 10, 2020 9:32 AM UTC

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.1
PDegt.1Author
Associate II
Dec 11, 2020 11:17 PM UTC

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

Thanks.