acrandal / GU-Rocketry-ATA-Module

ATA (Alternative To Aluminium) is a 1U cubesat form factor data telemetry and LoRA transmission board for the Gonzaga ASME 10k ft. competition rocket.
GNU General Public License v3.0
4 stars 0 forks source link

BNO055 - acceleration full scale range settings #21

Open acrandal opened 2 years ago

acrandal commented 2 years ago

The default range on the accelerometer is 4g. If the rocket will exceed this, it'll rail and we'll lose data. We need to add an interface or other way to set the range bits to select 8g or 16g ranges.

https://cdn-shop.adafruit.com/datasheets/BST_BNO055_DS000_12.pdf

Settings are on the data sheet at: 4.4.2 - ACC_Config Register: 0x08 Bits: [0..1]

The easiest approach is to just add to my IMU object a forceful update, though I really should sent a PR to Adafruit.