2024-08-21 03:12 AM - edited 2024-08-21 07:13 PM
Hi everyone, I want to ask about the LIS12DH threshold calculation (attached with what I think the calculation is), it is clear that when I use 4g as the scale, my calculation results are 2.5g, when I move the sensor can go above this threshold and trigger an interrupt, I only configured the Z-axis, so I am just simulating a falling motion, but when I use 16g as the threshold, I can only configure the Z-axis. I need to adjust to 6, according to the same calculation method, 6*16/255=0.376g, this time I move in the same way, only barely trigger the motion, why? Is it related to the frequency I set? Because when adjusting the threshold, I also adjusted the frequency (100hz->4g, 25hz->16g), thank you very much for someone to answer for me! Oh, I almost forgot. I've turned on the high-pass filter
2024-08-21 04:11 AM
Hello,
Please write in English as it's an international community.
Translation:
Hi everyone, I want to ask about the LIS12DH threshold calculation (attached with what I think the calculation is), obviously when I use 4g as the scale, my calculation result is 2.5g, when I move the sensor can be above this threshold and trigger the interrupt, I only configured the Z axis, so I am just simulating a falling motion, but when I use 16g as the threshold, I need to adjust it to 6, according to the same calculation method, 6*16/255=0.376g, this time I move in the same way, just barely triggering the movement, why? Does this have something to do with the frequency I set? Because when adjusting the threshold, I also adjusted the frequency (100hz->4g, 25hz->16g), thank you very much if someone can answer it for me! Oh, I almost forgot. I have turned on the high pass filter
2024-08-21 07:14 PM - edited 2024-08-21 07:17 PM
Sorry, my website plugin automatically translated and edited the text