2024-09-10 03:49 AM
Regarding the sensitivity of IIS3DHHC, the datasheet says 0.076mg/digit. It is written.
To be exact 5g/2^16 (= 0.07629mg/digit) Is that correct?
Thanks!
Solved! Go to Solution.
2024-09-10 05:49 PM
Hi,
My understanding is g = 9.8 is an approximation - the actual figure varies.
So .076 is 'close enough'.
Also see the reference drivers:
https://github.com/STMicroelectronics/iis3dhhc-pid/blob/master/iis3dhhc_reg.c
* @defgroup IIS3DHHC_Sensitivity
* @brief These functions convert raw-data into engineering units.
* @{
*
*/
float_t iis3dhhc_from_lsb_to_mg(int16_t lsb)
{
return ((float_t)lsb * 0.076f);
}
Dan
2024-09-10 05:49 PM
Hi,
My understanding is g = 9.8 is an approximation - the actual figure varies.
So .076 is 'close enough'.
Also see the reference drivers:
https://github.com/STMicroelectronics/iis3dhhc-pid/blob/master/iis3dhhc_reg.c
* @defgroup IIS3DHHC_Sensitivity
* @brief These functions convert raw-data into engineering units.
* @{
*
*/
float_t iis3dhhc_from_lsb_to_mg(int16_t lsb)
{
return ((float_t)lsb * 0.076f);
}
Dan
2024-09-17 05:54 PM
Hi、
Sorry for the late reply.
Thank you for your reply.
I understand that 0.076mg/digit is an approximate value.
Thanks.