Skip to content

correct Temperature Readings #26

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Uspizig
Copy link

@Uspizig Uspizig commented Sep 26, 2024

As stated in Application Note AN5130 Chapter 9:
The temperature sensor has a sensitivity of 256LSB/°C.
Therefore the Value must be devided by 256 to get the correct readings.
In the old code it was divided by 16 and therefore the readout Temperature values are wrong. https://www.st.com/resource/en/application_note/an5130-lsm6ds3trc-alwayson-3d-accelerometer-and-3d-gyroscope-stmicroelectronics.pdf

As stated in Application Note AN5130 Chapter 9: 
The temperature sensor has a sensitivity of 256LSB/°C
Therefore the Value must be devided by 256 to get the correct readings. In the old code it was divided by 16 and therefore the readout Temperature values are wrong.
https://www.st.com/resource/en/application_note/an5130-lsm6ds3trc-alwayson-3d-accelerometer-and-3d-gyroscope-stmicroelectronics.pdf
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

Successfully merging this pull request may close these issues.

1 participant