I want built a small device that shows me the leaning angle from my bike.
The BNO080 Datatsheet says that it is capable to disstinguish between the gravity and the normal acceleration.
2.1 Motion Outputs
Motion outputs allow applications to understand the motion being applied to the device as measured by BNO08X.
2.1.1 Acceleration Outputs
The 3-axis accelerometer measures the acceleration of the device (note that the accelerometer will measure
gravity as acceleration). BNO08X calibrates the accelerometer output to improve the data reported. BNO08X will
report this acceleration aligned to the coordinate frame of the device. BNO08X can (after fusing data with the
gyroscope) separate gravity from this acceleration, thus providing the BNO08X with the following acceleration
• Calibrated Acceleration (m/s2
). Acceleration of the device including gravity
• Linear acceleration (m/s2
). Acceleration of the device with gravity removed
• Gravity (m/s2
• Raw uncalibrated accelerometer data (ADC units). Used for testing
Note that for raw data to be transmitted the accelerometer must be enabled by a separate set feature request, i.e.
the raw sensor listens to an already configured sensor. The rate specified in the raw sensor set feature request
cannot be higher than the underlying sensor configuration. The raw data will either be delivered at the same rate
as the underlying sensor or at the rate requested (within the constraints of rate decimation).
With this information it should be possible to remove the non-gravtiy-acceleration from riding corners … so that i can calculate the leaningangle from the bike with the gravity in the different x,y,z axes.
But i am not sure that the Sensor is capable of that. I have found no real review for measuring Euler angles in Motion.
I only know that the preview one BNO 055 was terrible and promises the same.
I know that it is possible with a normal gyro and accelerometer but i have just startet working with Arduino and programming so that it is a bit to hard for me to use filters and combine all the data in the right way…
But i really want to succed sooo please help me!