Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imu conversion to temperature #29

Open
rjsdotorg opened this issue Oct 22, 2024 · 1 comment
Open

imu conversion to temperature #29

rjsdotorg opened this issue Oct 22, 2024 · 1 comment

Comments

@rjsdotorg
Copy link

On imu.py line 184:
return bytes_toint(self.buf2[0], self.buf2[1]) / 340 + 35 # I think
Whereas MPU-6000 and MPU-6050 Register Map and Descriptions Revision 4.2 shows:

Temperature in degrees C = (TEMP_OUT Register Value as a signed quantity)/340 + 36.53

@peterhinch
Copy link
Contributor

Thank you. Now corrected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants