Documentation/hwmon/htu31.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver HTU31

HTU31의 -40~125C temperature·humidity와 heater control입니다.

Source pathDocumentation/hwmon/htu31.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약·해설

htu31.rst:1-37

기본 주소 0x40의 환경 sensor와 내장 heater를 hwmon으로 제어합니다.

문서 개요
항목값
SourceDocumentation/hwmon/htu31.rst
분량37 source lines
I2C0x40
Temperature-40~125C

원문 분량과 핵심 범위입니다.

핵심 흐름
I2C 등록환경값 측정Heater 판단상태 재확인

장치 동작의 기본 순서입니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0-or-later
2
3 Kernel driver HTU31
4 ====================
5
6 Supported chips:
7
8 * Measurement Specialties HTU31
9
10 Prefix: 'htu31'
11
12 Addresses scanned: -
13
14 Datasheet: Publicly available from https://www.te.com/en/product-CAT-HSC0007.html
15
16 Author:
17
18 - Andrei Lalaev <[email protected]>
19
20 Description
21 -----------
22
23 HTU31 is a humidity and temperature sensor.
24
25 Supported temperature range is from -40 to 125 degrees Celsius.
26
27 Communication with the device is performed via I2C protocol. Sensor's default address
28 is 0x40.
29
30 sysfs-Interface
31 ---------------
32
33 =================== =================
34 temp1_input: temperature input
35 humidity1_input: humidity input
36 heater_enable: heater control
37 =================== =================
38

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

Measurement Specialties HTU31 지원

1-21

GPL-2.0-or-later 드라이버 `HTU31`은 Measurement Specialties HTU31을 prefix `htu31`로 지원합니다. 주소 scan은 하지 않으며 datasheet는 TE product page에서 공개됩니다. 저자는 Andrei Lalaev입니다.

HTU31 metadata
항목값
ChipMeasurement Specialties HTU31
Prefixhtu31
주소 scan없음
DatasheetTE CAT-HSC0007 page

환경 sensor의 기본 driver 정보입니다.

HTU31 등록
HTU31 client 등록Default address 적용Humidity·temperature 초기화Heater control 등록

명시적으로 만든 I2C client에 sensor와 heater를 게시합니다.

.. SPDX-License-Identifier: GPL-2.0-or-later

Kernel driver HTU31
====================

Supported chips:

  * Measurement Specialties HTU31

    Prefix: 'htu31'

    Addresses scanned: -

    Datasheet: Publicly available from https://www.te.com/en/product-CAT-HSC0007.html

Author:

  - Andrei Lalaev <[email protected]>

Description
-----------

온도 범위와 I2C 주소

22-29

HTU31은 humidity·temperature sensor입니다. 지원 temperature range는 -40~125 degrees Celsius입니다.

장치 통신은 I2C protocol로 수행하며 sensor 기본 주소는 `0x40`입니다.

HTU31 측정 조건
항목값
Temperature minimum-40 C
Temperature maximum125 C
ProtocolI2C
Default address0x40

동작 범위와 bus address입니다.

HTU31 측정
I2C 0x40 접근Temperature·humidity 측정Range 검증Hwmon 값 게시

I2C에서 환경 값을 읽고 필요 시 heater를 제어합니다.


HTU31 is a humidity and temperature sensor.

Supported temperature range is from -40 to 125 degrees Celsius.

Communication with the device is performed via I2C protocol. Sensor's default address
is 0x40.

HTU31 sysfs와 heater

30-37

`temp1_input`은 temperature input, `humidity1_input`은 humidity input, `heater_enable`은 heater control입니다.

HTU31 sysfs
Attribute의미
temp1_inputTemperature input
humidity1_inputHumidity input
heater_enableHeater control

원문의 ASCII 표를 측정·제어 항목으로 구조화했습니다.

Heater 사용
Humidity·temperature 읽기Heater 필요 여부 판단heater_enable 설정다음 측정에서 상태 확인

측정 상태에 따라 heater를 켜고 환경 값을 다시 확인합니다.

sysfs-Interface
---------------

=================== =================
temp1_input:        temperature input
humidity1_input:    humidity input
heater_enable:      heater control
=================== =================