[SOLVED] MPU6000 Temperature output calculation

Status
Not open for further replies.

ashad

Full Member level 6
Joined
Mar 28, 2006
Messages
393
Helped
40
Reputation
80
Reaction score
28
Trophy points
1,308
Location
Trento, Italy
www.elabsp.com
Activity points
3,296
Hi all,

I am getting two Hex bytes output from MPU6000 which are 0xE956 signed and the formula is Tempout/340 + 36.56

As far I know first bit is sign which is Negative in above case 0b1110 1001 0101 0110. After removing signed bit it became 0b0110 1001 0101 0110 and after applying above formula then I got Negative Temperature which is seems not correct.

If anyone having experience then share with me
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…