2025-02-12 11:25 PM - last edited on 2025-02-13 07:08 AM by Peter BENSCH
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
2025-02-13 07:14 AM
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
2025-02-15 11:13 AM
To calculate the LIS331HH wakeup threshold, use this formula:
Threshold=THS×Sensitivity\text{Threshold} = \text{THS} \times \text{Sensitivity}Threshold=THS×Sensitivity
Example: If THS = 50 and using ±6g mode →
50×12=600 mg(0.6g)50 \times 12 = 600 \text{ mg} (0.6g)50×12=600 mg(0.6g)
Similar to KDV Hesaplama, where you set a minimum taxable amount, here, you set a minimum motion level for wake-up