Part 1
요약·해설
BMI270 배선·전원 범위, nRF52840 DK build와 6축 출력 해석을 설명합니다.
3 accel + 3 gyro
100 Hz
I2C
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
3FDCE1D8A3A1C7823AE200747F25ACDF279BA2C5DF78D498A44AA8CD3ADB836B
.. _bmi270:
BMI270: 6 axis inertial measurement unit
########################################
Description
***********
This sample application configures the accelerometer and gyroscope to
measure data at 100Hz. The result is written to the console.
References
**********
- BMI270: https://www.bosch-sensortec.com/products/motion-sensors/imus/bmi270.html
Wiring
*******
This sample uses the BMI270 sensor controlled using the I2C interface.
Connect Supply: **VDD**, **VDDIO**, **GND** and Interface: **SDA**, **SCL**.
The supply voltage can be in the 1.8V to 3.6V range.
Depending on the baseboard used, the **SDA** and **SCL** lines require Pull-Up
resistors.
Building and Running
********************
This project outputs sensor data to the console. It requires a BMI270
sensor. It should work with any platform featuring a I2C peripheral interface.
It does not work on QEMU.
In this example below the :ref:`nrf52840dk_nrf52840` board is used.
.. zephyr-app-commands::
:zephyr-app: samples/sensor/bmi270
:board: nrf52840dk/nrf52840
:goals: build flash
Sample Output
=============
.. code-block:: console
Device 0x200014cc name is BMI270
AX: 0.268150; AY: 0.076614; AZ: 9.730035; GX: 0.001065; GY: -0.005326; GZ: -0.004261;
AX: 0.229843; AY: 0.076614; AZ: 9.806650; GX: 0.000532; GY: -0.005592; GZ: -0.002929;
AX: 0.229843; AY: 0.076614; AZ: 9.806650; GX: 0.000266; GY: -0.006125; GZ: -0.002663;
AX: 0.306457; AY: 0.038307; AZ: 9.768342; GX: 0.001331; GY: -0.005326; GZ: -0.004793;
<repeats endlessly>
Part 3
한국어 전문 번역
설명
이 sample application은 accelerometer와 gyroscope가 100 Hz로 data를 측정하도록 구성합니다. 결과는 console에 출력합니다.
참고 자료
배선
이 sample은 I2C interface로 제어하는 BMI270 sensor를 사용합니다. 전원 VDD, VDDIO, GND와 interface의 SDA, SCL을 연결합니다.
Supply voltage 범위는 1.8 V부터 3.6 V까지입니다. 사용하는 baseboard에 따라 SDA와 SCL line에 pull-up resistor가 필요합니다.
빌드 및 실행
이 project는 sensor data를 console에 출력하며 BMI270 sensor가 필요합니다. I2C peripheral interface가 있는 모든 platform에서 동작해야 하지만 QEMU에서는 동작하지 않습니다. 아래 예에서는 nrf52840dk/nrf52840 board를 사용합니다.
# From the root of the zephyr repository
west build -b nrf52840dk/nrf52840 samples/sensor/bmi270
west flash
출력 예
Device 0x200014cc name is BMI270
AX: 0.268150; AY: 0.076614; AZ: 9.730035; GX: 0.001065; GY: -0.005326; GZ: -0.004261;
AX: 0.229843; AY: 0.076614; AZ: 9.806650; GX: 0.000532; GY: -0.005592; GZ: -0.002929;
AX: 0.229843; AY: 0.076614; AZ: 9.806650; GX: 0.000266; GY: -0.006125; GZ: -0.002663;
AX: 0.306457; AY: 0.038307; AZ: 9.768342; GX: 0.001331; GY: -0.005326; GZ: -0.004793;
<repeats endlessly>
AX·AY·AZ는 세 축의 acceleration이고 GX·GY·GZ는 세 축의 angular velocity입니다. 출력은 끝없이 반복됩니다.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.