Skip to main content
Visitor II
September 10, 2024
Solved

IIS3DHHC Sensitivity

  • September 10, 2024
  • 2 replies
  • 846 views

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!

    This topic has been closed for replies.
    Best answer by codebuk

    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

     

     

     

     

     

    2 replies

    codebukAnswer
    Graduate
    September 11, 2024

    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

     

     

     

     

     

    totaw.1Author
    Visitor II
    September 18, 2024

    Hi、

    Sorry for the late reply.

     

    Thank you for your reply.

    I understand that 0.076mg/digit is an approximate value.

    Thanks.