1.. _bmi270: 2 3BMI270: 6 axis inertial measurement unit 4######################################## 5 6Description 7*********** 8 9This sample application configures the accelerometer and gyroscope to 10measure data at 100Hz. The result is written to the console. 11 12References 13********** 14 15 - BMI270: https://www.bosch-sensortec.com/products/motion-sensors/imus/bmi270.html 16 17Wiring 18******* 19 20This sample uses the BMI270 sensor controlled using the I2C interface. 21Connect Supply: **VDD**, **VDDIO**, **GND** and Interface: **SDA**, **SCL**. 22The supply voltage can be in the 1.8V to 3.6V range. 23Depending on the baseboard used, the **SDA** and **SCL** lines require Pull-Up 24resistors. 25 26Building and Running 27******************** 28 29This project outputs sensor data to the console. It requires a BMI270 30sensor. It should work with any platform featuring a I2C peripheral interface. 31It does not work on QEMU. 32In this example below the :ref:`nrf52840dk_nrf52840` board is used. 33 34 35.. zephyr-app-commands:: 36 :zephyr-app: samples/sensor/bmi270 37 :board: nrf52840dk_nrf52840 38 :goals: build flash 39 40Sample Output 41============= 42 43.. code-block:: console 44 45 Device 0x200014cc name is BMI270 46 AX: 0.268150; AY: 0.076614; AZ: 9.730035; GX: 0.001065; GY: -0.005326; GZ: -0.004261; 47 AX: 0.229843; AY: 0.076614; AZ: 9.806650; GX: 0.000532; GY: -0.005592; GZ: -0.002929; 48 AX: 0.229843; AY: 0.076614; AZ: 9.806650; GX: 0.000266; GY: -0.006125; GZ: -0.002663; 49 AX: 0.306457; AY: 0.038307; AZ: 9.768342; GX: 0.001331; GY: -0.005326; GZ: -0.004793; 50 51 <repeats endlessly> 52