Problem while using MPU6050

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

trunet
Posts: 54
Joined: Fri Apr 06, 2012 7:18 pm

Re: Problem while using MPU6050

Post 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
sapan
Posts: 56
Joined: Sat Dec 24, 2011 1:22 pm

Re: Problem while using MPU6050

Post 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.
Post Reply