BMO055 Custom pcb - getting raw data?
I have a custom pcb with a BNO055 imu and an esp32 pico d4.
I want to output raw acceleration, gyroscope and magnetometer data and save them to a 512mb flash memroy on the pcb.
I Found the following guide using the original bosch library that I would like to use (Couldn't find the device I2C location adress using the Adafruit library):
https://www.mischianti.org/2022/11/28/bno055-for-esp32-esp8266-and-arduino-features-configuration-and-axes-remap-3/
In this example which worked on my board, the chosen output is euler angles.
How can I find a list of the different outputs options like the ones that I need?
The example uses
bno055_read_euler_hrp(&myEulerData); //Update Euler data into the structure
Serial.print(F("Orientation: z "));
Serial.print((float(myEulerData.h) /16.00));
Where can I find documentation for the syntax to call accel, gyro and mag. data?
Thanks!
Best reply by BSTRobin
Hi Chupil,
There was BNO055 example code for your reference on github(https://github.com/boschsensortec/BNO055_driver/blob/master/bno055_support.c) to get accel, gyro, mag RAW data, euler data, etc.
BNO055 is not recommended for use in new designs.
3 replies
Resolved