Skip to main content
Visitor II
July 17, 2019
Question

I am using A3G4250D gyroscope in one of our project. I want to know how to convert RAW value read from register OUT_TEMP (26h) to actual temperature values?

  • July 17, 2019
  • 1 reply
  • 701 views

I know that OUT_TEMP register in two’s complement format with a sensitivity of -1 LSB/°C but not able to convert to exact temperature value.

please provide the calculation to convert from RAW values to temperature value.

Thanks in Advance...!!!

    This topic has been closed for replies.

    1 reply

    ST Employee
    July 18, 2019

    HI @DS​ , please consider this caption of the AN5148 for the A3G4250D at p.43:

    The A3G4250D is provided with an internal temperature sensor that is suitable for delta temperature measurement.

    So it's intended to be a Delta temperature sensor... You should have a reference sensor close to the device and measure OUT_TEMP (26h) to get the right offset for the temp calculation.

    However, if your application is not strictly automotive non-safety and you need accuracy in temperature, I suggest you to switch to a 6-axis module with embedded T sensor such as LSM6DSO (00h output calibrated at 25°C, on 16bit).

    Regards