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

Zephyr 3.7.0 · Samples · Sensor · Environment

LPS22HB 온도·압력 monitor

DISCO-L475-IOT1의 LPS22HB에서 pressure와 temperature를 2초마다 읽습니다.

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

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

Part 1

요약·해설

Board 요구 사항, build 명령과 observation 출력 단위를 보존합니다.

Sensor

LPS22HB

Bus

I2C

Period

2 seconds

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 97CDE63F97E180E2C573D72D9B7F501F95B9F591907B52CF2B0187AED7D23106
.. _lps22hb:

LPS22HB: Temperature and Pressure Monitor
#########################################

Overview
********
This sample periodically reads pressure from the LPS22HB MEMS pressure
sensor and displays it on the console.


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

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

References
**********

- LPS22HB: https://www.st.com/en/mems-and-sensors/lps22hb.html

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

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

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

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

.. code-block:: console

   Observation:1
   Pressure:98.7 kPa
   Temperature:22.5 C
   Observation:2
   Pressure:98.7 kPa
   Temperature:22.5 C
   Observation:3
   Pressure:98.7 kPa
   Temperature:22.5 C

   <repeats endlessly every 2 seconds>

Part 3

한국어 전문 번역

개요

이 sample은 LPS22HB MEMS pressure sensor에서 pressure를 주기적으로 읽어 console에 표시합니다.

요구 사항

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

참고 자료

빌드 및 실행

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

west build -b disco_l475_iot1 samples/sensor/lps22hb

출력 예

Observation:1
Pressure:98.7 kPa
Temperature:22.5 C
Observation:2
Pressure:98.7 kPa
Temperature:22.5 C
Observation:3
Pressure:98.7 kPa
Temperature:22.5 C

<repeats endlessly every 2 seconds>

각 observation은 pressure를 kPa, temperature를 섭씨로 표시하며 2초마다 끝없이 반복됩니다.

Source

출처

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