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

Zephyr 3.7.0 · Samples · Sensor · Battery

MAX17262 fuel-gauge sensor

ModelGauge m5 기반 single-cell fuel gauge를 I2C에 연결해 battery 상태를 측정합니다.

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

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

Part 1

요약·해설

지원 battery·pulse current 범위, overlay, build와 serial 출력 절차를 설명합니다.

Gauge

ModelGauge m5

Battery

100 mAhr-6 Ahr

Pulse

Up to 3.1 A

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 1FF6C10DA3E6F87522801A1155824B9C52F0A0197F06FDC9D4BEAFFF1368A37E
.. _max17262:

MAX17262 Fuel Gauge Sensor
###################################

Overview
********

This sample application periodically reads voltage, current and temperature
data from the MAX17262 device that implements SENSOR_CHAN_GAUGE_VOLTAGE,
SENSOR_CHAN_GAUGE_AVG_CURRENT, and SENSOR_CHAN_GAUGE_TEMP.

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

The MAX17262 is an ultra-low power fuel-gauge IC which implements the Maxim
ModelGauge m5 algorithm. The IC monitors a single-cell battery pack and
supports internal current sensing for up to 3.1A pulse current. The IC
provides best performance for batteries with 100mAhr to 6Ahr capacity.

This sample requires a board which provides a configuration for Arduino
connectors and defines node aliases for the I2C interface.
For more info about the node structure see
:zephyr_file:`samples/sensor/max17262/app.overlay`

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

This sample application uses an MAX17262 sensor connected to a board via I2C.
Connect the sensor pins according to the connection diagram given in the
`max17262 datasheet`_.

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

Sample Output
=============
To check output of this sample , any serial console program can be used.
This example uses ``picocom`` on the serial port ``/dev/ttyUSB0``:

.. code-block:: console

        $ sudo picocom -D /dev/ttyUSB0

.. code-block:: console

        V: 3.626406 V; I: -3.437500 mA; T: 28.011718 °C
        V: 3.626406 V; I: -3.437500 mA; T: 28.011718 °C
        V: 3.626406 V; I: -3.437500 mA; T: 28.011718 °C

References
***********

.. _max17262 datasheet: https://datasheets.maximintegrated.com/en/ds/MAX17262.pdf

Part 3

한국어 전문 번역

개요

이 sample application은 SENSOR_CHAN_GAUGE_VOLTAGE, SENSOR_CHAN_GAUGE_AVG_CURRENT, SENSOR_CHAN_GAUGE_TEMP를 구현하는 MAX17262 device에서 voltage, current와 temperature data를 주기적으로 읽습니다.

요구 사항

MAX17262는 Maxim ModelGauge m5 algorithm을 구현하는 ultra-low-power fuel-gauge IC입니다. Single-cell battery pack을 monitoring하고 최대 3.1 A pulse current의 internal current sensing을 지원합니다. Battery capacity가 100 mAhr에서 6 Ahr일 때 가장 좋은 성능을 제공합니다.

이 sample에는 Arduino connector configuration을 제공하고 I2C interface용 node alias를 정의한 board가 필요합니다. Node 구조의 자세한 내용은 samples/sensor/max17262/app.overlay를 참조하십시오.

빌드 및 실행

이 sample application은 I2C로 board에 연결한 MAX17262 sensor를 사용합니다. MAX17262 datasheet의 connection diagram에 따라 sensor pin을 연결하십시오.

west build -b nrf52840dk/nrf52840 samples/sensor/max17262
west flash

출력 예

아무 serial console program으로나 sample 출력을 확인할 수 있습니다. 아래 예는 serial port /dev/ttyUSB0에서 picocom을 사용합니다.

$ sudo picocom -D /dev/ttyUSB0
V: 3.626406 V; I: -3.437500 mA; T: 28.011718 °C
V: 3.626406 V; I: -3.437500 mA; T: 28.011718 °C
V: 3.626406 V; I: -3.437500 mA; T: 28.011718 °C

V는 voltage, I는 average current, T는 temperature입니다. 음수 current는 정의된 측정 방향의 반대로 전류가 흐름을 나타냅니다.

참고 자료

Source

출처

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