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

Zephyr 3.7.0 · Samples · Sensor · Environment

HTS221 온도·습도 monitor

DISCO-L475-IOT1에 장착된 HTS221의 온도와 상대 습도를 주기적으로 확인합니다.

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

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

Part 1

요약·해설

I2C 요구 사항, board 선택, build 명령과 반복 출력 형식을 원문 순서대로 설명합니다.

Sensor

HTS221

Bus

I2C

Period

2 seconds

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 13E38A1480692B2C9E87EAAABAE54A42E7BAB53ED77BA60DD8CB1E4F64CF5025
.. _hts221:

HTS221: Temperature and Humidity Monitor
########################################

Overview
********
This sample periodically reads temperature and humidity from the HTS221
Temperature & Humidity Sensor and displays it on the console


Requirements
************

This sample uses the HTS221 sensor controlled using the I2C interface.

References
**********

 - HTS211: https://www.st.com/en/mems-and-sensors/hts221.html

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

 This project outputs sensor data to the console. It requires an HTS221
 sensor, which is present on the disco_l475_iot1 board.

.. zephyr-app-commands::
   :zephyr-app: samples/sensor/hts221
   :board: disco_l475_iot1
   :goals: build
   :compact:

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

 .. code-block:: console

    Temperature:25.3 C
    Relative Humidity:40%
    Temperature:25.3 C
    Relative Humidity:40%
    Temperature:25.3 C
    Relative Humidity:40%
    Temperature:25.3 C
    Relative Humidity:40%

    <repeats endlessly every 2 seconds>

Part 3

한국어 전문 번역

개요

이 sample은 HTS221 temperature·humidity sensor에서 온도와 습도를 주기적으로 읽어 console에 표시합니다.

요구 사항

이 sample은 I2C interface로 제어하는 HTS221 sensor를 사용합니다.

참고 자료

공식 원문의 link 표기는 HTS211이지만, 연결 대상은 ST의 HTS221 제품 페이지입니다.

빌드 및 실행

이 project는 sensor data를 console에 출력합니다. HTS221 sensor가 필요하며, 이 sensor는 disco_l475_iot1 board에 장착되어 있습니다.

west build -b disco_l475_iot1 samples/sensor/hts221

출력 예

Temperature:25.3 C
Relative Humidity:40%
Temperature:25.3 C
Relative Humidity:40%
Temperature:25.3 C
Relative Humidity:40%
Temperature:25.3 C
Relative Humidity:40%

<repeats endlessly every 2 seconds>

온도와 상대 습도 한 쌍을 2초마다 계속 출력합니다. 예시 값은 섭씨 25.3도와 상대 습도 40%입니다.

Source

출처

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