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

Zephyr 3.7.0 · Samples · Sensor · Humidity

ams ENS210 상대 습도·온도 센서

app.overlay에 지정한 I2C sensor를 nucleo_f446re에서 실행해 온도와 습도를 출력합니다.

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

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

Part 1

요약·해설

I2C 연결·build와 ENS210 측정 출력의 전체 흐름을 보존합니다.

Temperature

Ambient

Humidity

Relative

Bus

I2C

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 AAFAAEF6916A835CD6BD2E74F403D94F4B5CDBF422CA80CE37B7D4E4E4F01892
.. _ens210:

ams ens210 Relative Humidity and Temperature Sensor
###################################################

Overview
********

This sample application demonstrates how to use the ams ens210 sensor to
measure the ambient temperature and relative humidity.

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

This sample application uses the sensor connected to the i2c stated in the
app.overlay file.
Flash the binary to a board of choice with a sensor connected.
For example build for a nucleo_f446re board:

.. zephyr-app-commands::
   :zephyr-app: samples/sensor/ens210
   :board: nucleo_f446re
   :goals: build flash
   :compact:

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

.. code-block:: console

    device is 0x20001174, name is ENS210
    Temperature: 28.28881222 C; Humidity: 25.25689737%
    Temperature: 28.28912472 C; Humidity: 25.25799105%
    Temperature: 28.28959347 C; Humidity: 25.25760045%

Part 3

한국어 전문 번역

개요

이 sample application은 ams ENS210 sensor로 ambient temperature와 relative humidity를 측정하는 방법을 보여 줍니다.

빌드 및 실행

Sample application은 app.overlay file에 지정한 I2C bus에 연결된 sensor를 사용합니다. Sensor를 연결한 원하는 board에 binary를 flash합니다.

예를 들어 nucleo_f446re board용으로 다음과 같이 build합니다.

west build -b nucleo_f446re samples/sensor/ens210
west flash

출력 예

device is 0x20001174, name is ENS210
Temperature: 28.28881222 C; Humidity: 25.25689737%
Temperature: 28.28912472 C; Humidity: 25.25799105%
Temperature: 28.28959347 C; Humidity: 25.25760045%

Source

출처

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