Page 2 of 2

Re: Problem while using MPU6050

Posted: Wed Jun 06, 2012 5:25 pm
by trunet
sapan wrote:As per datasheet, Sensitivity of sensor is 340 LSB/degree and output at 35 degree is -521. So your formula is,

Temperature (in Degree) = ( raw temperature output / 340) + offset

Where, offset = 35 + (521/340) = 36.5323

Thanks for your formula. I'll try later at home. Is 521 on offset formula right or it's -521?

Code: Select all

offset = 35 + (-521/340) = 33.4677

Re: Problem while using MPU6050

Posted: Sat Jun 09, 2012 4:48 am
by sapan
Sorry for late reply. Offset is correct 36.5323. So your final equation is

Temperature = (raw output/340) + 36.5323.

Here when you put raw output = -521 you will get temperature = 35 degree

Let me know how accurate is temperature sensor of MPU.