BNO085 Accelerometer Scale Factor

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
demir
 
Posts: 6
Joined: Sun May 30, 2021 9:50 am

BNO085 Accelerometer Scale Factor

Post by demir »

What is the scale factor for Accelerometer?

I received raw accelerometer data but how can convert to g?

I received mostly -160,80,4032 accelerometer data as x,y,z when staying stable position; but how can convert it to calculated accelerometer data?

User avatar
millercommamatt
 
Posts: 828
Joined: Tue Jul 31, 2018 4:57 pm

Re: BNO085 Accelerometer Scale Factor

Post by millercommamatt »

Which library are you using and it there a reason you are raw ADC values and not the translated values the Adafruit libraries provide?

An you using specific example code? If so, what?

User avatar
gammaburst
 
Posts: 1015
Joined: Thu Dec 31, 2015 12:06 pm

Re: BNO085 Accelerometer Scale Factor

Post by gammaburst »

demir's question was cross-posted in this discussion:
viewtopic.php?f=19&t=179820&p=875668#p875668

User avatar
sj_remington
 
Posts: 997
Joined: Mon Jul 27, 2020 4:51 pm

Re: BNO085 Accelerometer Scale Factor

Post by sj_remington »

If the accelerometer is held still, with any axis perfectly vertical, the acceleration is exactly +/- 1 g along that axis.

Use that fact and the raw data to figure out the scale factor and offset for each axis.

User avatar
gammaburst
 
Posts: 1015
Joined: Thu Dec 31, 2015 12:06 pm

Re: BNO085 Accelerometer Scale Factor

Post by gammaburst »

No, gravity varies by about 0.7% due to Earth's irregular shape and composition.
Also, Earth's rotation reduces your apparent gravity as you approach the equator.
The Sun's and Moon's positions also have a slight effect (think tides).

User avatar
sj_remington
 
Posts: 997
Joined: Mon Jul 27, 2020 4:51 pm

Re: BNO085 Accelerometer Scale Factor

Post by sj_remington »

Correct, but unfortunately, the BNO085 cannot detect those slight variations.

Which is why most people assume exactly 1 g for the purpose of computing MEMS accelerometer scale and offset factors.

User avatar
gammaburst
 
Posts: 1015
Joined: Thu Dec 31, 2015 12:06 pm

Re: BNO085 Accelerometer Scale Factor

Post by gammaburst »

The BNO085 (and other similar inexpensive sensors) can easily detect variations of 0.7% of a g.

Take care using rigid words such as "exact", "cannot", and "fact".

A 0.7% error is acceptable for many applications, so your suggested inversion method of calibration would be adequate, and it's easy to do.

User avatar
sj_remington
 
Posts: 997
Joined: Mon Jul 27, 2020 4:51 pm

Re: BNO085 Accelerometer Scale Factor

Post by sj_remington »

Agreed!

When using the BNO085 to measure g at the North or South pole and at the top of Mt. Everest, one would certainly want to take those calibration considerations under advisement.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”