Skip to content

LSM6DSL - How to calculate G Force #2529

Closed Answered by cparata
cherbin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @cherbin ,
with the LSM6DSL library you can calculate the acceleration and the angular rate. The acceleration and the angular rate are both vector quantities, so you have the measurements on three coordinates (x, y, z). The acceleration is expressed in "milli-g" where g is the gravity acceleration (9,81 m/s^2). So, typically, if the board of the accelerometer is still on a table with the z axis perpendicular to the table, you will get a measurement using the "Get_X_Axes" API like (~+/-0, ~+/-0, ~+/-1000) because the only force that acts on the device is the gravity force and so the acceleration on the 3 axes is ~(0, 0, 9,81m/s^2) = (0, 0, 1g) = (0, 0, 1000 milli-g). Actually, this is t…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fpistm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants