calculate temperature MPU9250

By yairsarid , 20 December 2016

I read all the data registers in the MPU9250.
I have a problem with the Temperature.
how can I convert the Temperature in LSB to Celsius?

I have seen some options:

1. temperature=(((float)temperatureLSB-21)/333.87)+21;

2. temperature=(((float)temperatureLSB)/333.87)+21;

3. temperature=(((float)temperatureLSB)/340)+21;
which one is the correct?

phpbb Topic ID
35814