Skip to main content
Visitor II
February 13, 2025
Question

How to calculate LIS331HH wakeup threshold

  • February 13, 2025
  • 1 reply
  • 557 views

Hello All,

I try to set threshold of INT1 in LIS331HH
According to the datasheet the sensitivity of the sensor can be set to(3 , 6 , 12)mg/digit
And the threshold register is 7-bit register


Can anyone confirm these calculations or there's another factor must be added to set the threshold :
Threshold(mg) = (Sensitivity) * (7-bit value)

For ex :
To set threshold to 1g . and set the sensitivity to 12mg/digit :
1000 mg = (12) * register value
register value = 1000/12 = 83

 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    February 13, 2025

    I am extremely sorry to have to inform you that the LIS331HH accelerometers have long been discontinued and that STMicroelectronics no longer has any information about them. I am very sorry not to be able to give you more pleasant information.

    But maybe there is another user who has used this sensor and can help you.

    Regards
    /Peter