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

Zephyr 3.7.0 · Samples · Sensor · Pressure

MS5837 pressure·temperature sensor

P0.3·P0.31에 sensor를 연결해 pressure와 temperature를 UART console에 출력합니다.

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

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

Part 1

요약·해설

요구 hardware, 2행 배선 표, build와 flash 참고 경로를 보존합니다.

SCL

P0.3

SDA

P0.31

Period

10 seconds

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 4ABE256D7163DD4B019196D6413198F5A46E77EC9735F7C89C52EBD9E2467313
.. _ms5837-sample:

MS5837 Sensor Sample
####################

Overview
********

This sample application retrieves the pressure and temperature from a MS5837
sensor every 10 seconds, and prints this information to the UART console.

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

- `nRF52840 Preview development kit`_
- MS5837 sensor

Wiring
******

The nrf52840 Preview development kit should be connected as follows to the
MS5837 sensor.

+-------------+----------+
| | nrf52840  | | MS5837 |
| | Pin       | | Pin    |
+=============+==========+
| P0.3        | SCL      |
+-------------+----------+
| P0.31       | SDA      |
+-------------+----------+

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

Build this sample using the following commands:

.. zephyr-app-commands::
   :zephyr-app: samples/sensor/ms5837
   :board: nrf52840dk/nrf52840
   :goals: build
   :compact:

See :ref:`nrf52840dk_nrf52840` on how to flash the build.

References
**********

.. target-notes::

.. _MS5837 Sensor: http://www.te.com/usa-en/product-CAT-BLPS0017.html?q=&type=products&samples=N&q2=ms5837
.. _nRF52840 Preview development kit: http://www.nordicsemi.com/eng/Products/nRF52840-Preview-DK

Part 3

한국어 전문 번역

개요

이 sample application은 MS5837 sensor에서 pressure와 temperature를 10초마다 가져와 UART console에 출력합니다.

요구 사항

  • nRF52840 Preview development kit
  • MS5837 sensor

배선

nRF52840 Preview development kit와 MS5837 sensor를 다음과 같이 연결합니다.

nRF52840 pinMS5837 pin
P0.3SCL
P0.31SDA

빌드 및 실행

다음 명령으로 sample을 build합니다.

west build -b nrf52840dk/nrf52840 samples/sensor/ms5837

Build를 flash하는 방법은 nrf52840dk/nrf52840 board 문서를 참조하십시오.

참고 자료

Source

출처

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