How to set ranges for gyro and accel for Gravity - BMI160 6DoF IMU
Mikolaj.Gra 2023-03-15 00:53:18 1647 Views1 Replies Hello!
I have Gravity - BMI160 6DoF IMU (DFRobot SEN0250). I would like to set the following parameters from the arduino ide using DFRobot_BMI160.h library:
-BMI160_ACCEL_RANGE_4G
-BMI160_ACCEL_ODR_50HZ
-BMI160_GYRO_RANGE_250_DPS
-BMI160_GYRO_ODR_50HZ
but I don't know what syntax to use to set these parameters for the sensor. Syntax “bmi160.setRanges(BMI160_ACCEL_RANGE_4G)” didn't work.
Does anyone have a solution to change the range of values?
Thanks by advance.
2026-03-05 16:09:11
NeloKin
For Gravity - BMI160 6DoF IMU (DFRobot SEN0250), according to the library, you may have to call this function to modify the configuration of the sensor.
NeloKin Robotics ProjectsRobotics TutorialsRobotics ProductsView Arduino ProductsMore Arduino Related ProjectsArduino TutorialsMore Gravity ProjectsView Gravity Products


