BMI160 accelerometer Data command and data unit

Hello,

I have two questions about the BMI160-acceleration sensor.

Im using the BMI160 sensor with the Arduino ide programme to get gyroscope and accelerometer data for a project. I have no problem to get the gyroscope data on the serial monitor with the following command :

BMI160.readGyro(gx, gy, gz);

I tried to get the accceleerometer data with the same command "BMI160.readAccel(gx,gy,gz)" or "BMI160.readAcc(gx,gy,gz)" but without any success. How do I get the data? What do I have to write into my programme?

 

My second question is about the stored Gyro- and Accelleration data. What is the unit, the data is stored and is shown on the serial monitor? How can I convert them into °/s (Gyro) and m/s^2 ? I could not find anything in the datasheet.

Kind regards

Sophie

Best reply by Vincent

Did you try  bmi160.readAccelerometer(ax,ay,az)?

View original
4 replies
Resolved