samples/sensor/fxas21002/README.html · samples/sensor/fxas21002/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Samples · Sensor · Gyroscope

FXAS21002 gyroscope

Hexiwear board에서 interrupt에 맞춰 X·Y·Z angular-rate 값을 console로 출력합니다.

Official pathsamples/sensor/fxas21002/README.html
Source filesamples/sensor/fxas21002/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

Hardware 요구 사항, QEMU 제한과 3축 연속 output을 설명합니다.

Axes

X · Y · Z

Sync

Data-ready interrupt

Board

Hexiwear

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 72B51BE19C72E864BFD6A16F6B29D6ED9F9180A1B1081530FC27FFE33C142ABD
.. _fxas21002:

FXAS21002 Gyroscope Sensor
##########################

Overview
********

A sensor application that demonstrates how to use the fxas21002 data ready
interrupt to read gyroscope data synchronously.

Building and Running
********************

This project outputs sensor data to the console. It requires an fxas21002
sensor, which is present on the :ref:`hexiwear` board. It does not work on
QEMU.

.. zephyr-app-commands::
   :zephyr-app: samples/sensor/fxas21002
   :board: hexiwear/mk64f12
   :goals: build
   :compact:

Sample Output
=============

.. code-block:: console

   X=    -2.063 Y=     0.813 Z=     0.188
   X=    -1.750 Y=     1.063 Z=     0.063
   X=    -2.000 Y=     0.625 Z=     0.063
   X=    -2.188 Y=     0.625 Z=     0.188
   X=    -2.125 Y=     1.313 Z=    -0.063
   X=    -2.188 Y=     1.188 Z=     0.313

<repeats endlessly>

Part 3

한국어 전문 번역

개요

FXAS21002 data-ready interrupt를 사용해 gyroscope data를 synchronous하게 읽는 방법을 보여 주는 sensor application입니다.

빌드 및 실행

이 project는 sensor data를 console에 출력합니다. hexiwear board에 있는 FXAS21002 sensor가 필요하며 QEMU에서는 동작하지 않습니다.

west build -b hexiwear/mk64f12 samples/sensor/fxas21002

출력 예

X=    -2.063 Y=     0.813 Z=     0.188
X=    -1.750 Y=     1.063 Z=     0.063
X=    -2.000 Y=     0.625 Z=     0.063
X=    -2.188 Y=     0.625 Z=     0.188
X=    -2.125 Y=     1.313 Z=    -0.063
X=    -2.188 Y=     1.188 Z=     0.313

X·Y·Z 세 축의 gyroscope 값이 계속 반복 출력됩니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.