Skip to main content
Hari Sreenath
Associate
December 13, 2017
Question

Activity detection using LSM6DS3

  • December 13, 2017
  • 3 replies
  • 960 views
Posted on December 13, 2017 at 10:27

Hi

I'm using LSM6DS3 for activity detection.The SLEEP_STATE_IA bit of the WAKE_UP_SRC register is used to monitor the activity/inactivity,

but I have noticed that the value for the bit remains the same(ie when sleep event is detected the value of SLEEP_STATE_IA is set to 1 but even when activity is detected the value remains the same)

Can you suggest a fix for the problem? OR provide an alternative for activity detection

This topic has been closed for replies.

3 replies

ST Employee
December 14, 2017
Posted on December 14, 2017 at 21:32

Can you please provide your complete sensor configuration?

Hari Sreenath
Associate
December 19, 2017
Posted on December 19, 2017 at 06:22

Please find the sensor pseudocode in the attachments.

Other than the above-mentioned problem, I'm facing trouble with the orientation change.

When the sensor is shaken it detects an orientation change rather than activity. Please provide a solution to this problem too.