← Documents Documentation/hwmon/sht4x.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver sht4x

Sensirion SHT4X의 온습도 폴링과 시간 제한 방식의 응축수 제거 히터를 제공합니다.

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

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

sht4x.rst:1-59

주소 0x44의 센서를 2초 이상 간격으로 폴링하고 20·110·200 mW 및 100·1000 ms 조합으로 히터를 자동 종료 방식으로 가동합니다.

문서 개요
항목
SourceDocumentation/hwmon/sht4x.rst
분량59 source lines
폴링최소 2000 ms
히터20·110·200 mW

원문 분량과 핵심 장치 구성을 정리합니다.

운영 흐름
센서 등록폴링 간격 설정히터 전력·시간 선택히터 사이클 시작온습도 재측정

장치 식별부터 측정값 확인까지의 핵심 순서입니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 Kernel driver sht4x
4 ===================
5
6 Supported Chips:
7
8 * Sensirion SHT4X
9
10 Prefix: 'sht4x'
11
12 Addresses scanned: None
13
14 Datasheet:
15
16 English: https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/2_Humidity_Sensors/Datasheets/Sensirion_Humidity_Sensors_SHT4x_Datasheet.pdf
17
18 Author: Navin Sankar Velliangiri <[email protected]>
19
20
21 Description
22 -----------
23
24 This driver implements support for the Sensirion SHT4x chip, a humidity
25 and temperature sensor. Temperature is measured in degree celsius, relative
26 humidity is expressed as a percentage. In sysfs interface, all values are
27 scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500.
28
29 Usage Notes
30 -----------
31
32 The device communicates with the I2C protocol. Sensors can have the I2C
33 address 0x44. See Documentation/i2c/instantiating-devices.rst for methods
34 to instantiate the device.
35
36 Sysfs entries
37 -------------
38
39 =============== ============================================
40 temp1_input Measured temperature in millidegrees Celsius
41 humidity1_input Measured humidity in %H
42 update_interval The minimum interval for polling the sensor,
43 in milliseconds. Writable. Must be at least
44 2000.
45 heater_power The requested heater power, in milliwatts.
46 Available values: 20, 110, 200 (default: 200).
47 heater_time The requested operating time of the heater,
48 in milliseconds.
49 Available values: 100, 1000 (default 1000).
50 heater_enable Enable the heater with the selected power
51 and for the selected time in order to remove
52 condensed water from the sensor surface. The
53 heater cannot be manually turned off once
54 enabled (it will automatically turn off
55 after completing its operation).
56
57 - 0: turned off (read-only value)
58 - 1: turn on
59 =============== ============================================
60

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Sensirion SHT4X 지원 정보

1-20

GPL-2.0 라이선스의 `sht4x` 드라이버는 Sensirion SHT4X 온습도 센서를 지원합니다. 접두사는 `sht4x`이고 주소 자동 검색은 하지 않습니다. 영어 데이터시트 링크가 제공됩니다.

문서 작성자는 Navin Sankar Velliangiri입니다.

SHT4X 기본 정보
항목
제조사·제품Sensirion SHT4X
접두사sht4x
주소 검색없음
센서온도·상대 습도
데이터시트공개

드라이버 식별과 자료 공개 상태입니다.

SHT4X 등록 준비
SHT4X 모델 확인I2C 배선 확인버스 번호와 주소 0x44 확인sht4x 장치 생성온도·습도 속성 확인

주소 0x44의 센서를 명시적으로 생성할 준비를 합니다.

.. SPDX-License-Identifier: GPL-2.0

Kernel driver sht4x
===================

Supported Chips:

  * Sensirion SHT4X

    Prefix: 'sht4x'

    Addresses scanned: None

    Datasheet:

      English: https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/2_Humidity_Sensors/Datasheets/Sensirion_Humidity_Sensors_SHT4x_Datasheet.pdf

Author: Navin Sankar Velliangiri <[email protected]>

온습도 배율과 I2C 등록

21-35

SHT4X는 온도와 상대 습도를 측정합니다. 온도는 섭씨, 상대 습도는 백분율로 정의되며 sysfs에서는 모든 값이 1000배로 표시됩니다. 예를 들어 31.5°C는 `31500`입니다.

장치는 I2C 프로토콜로 통신하며 주소는 `0x44`입니다. 인스턴스 생성 방법은 `Documentation/i2c/instantiating-devices.rst`를 참고합니다.

SHT4X 값 표현
항목물리 단위sysfs 표현
온도°C1000배, 31.5°C=31500
상대 습도%RH1000배
I2C 주소-0x44

물리량과 sysfs 스케일, 통신 주소입니다.

SHT4X 값 판독
주소 0x44 장치에 측정 요청온도·습도 원시값 수신데이터시트 변환식 적용각 값을 1000배 스케일로 변환temp1_input·humidity1_input 갱신

I2C 측정 결과를 표준 hwmon 배율로 변환합니다.

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

This driver implements support for the Sensirion SHT4x chip, a humidity
and temperature sensor. Temperature is measured in degree celsius, relative
humidity is expressed as a percentage. In sysfs interface, all values are
scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500.

Usage Notes
-----------

The device communicates with the I2C protocol. Sensors can have the I2C
address 0x44. See Documentation/i2c/instantiating-devices.rst for methods
to instantiate the device.

폴링 간격과 시간 제한 히터

36-59

`temp1_input`은 밀리섭씨 단위 온도, `humidity1_input`은 습도 측정값입니다. `update_interval`은 센서를 폴링하는 최소 밀리초 간격으로 쓰기 가능하며 2000 ms 이상이어야 합니다.

`heater_power`는 요청 히터 전력을 밀리와트로 설정합니다. 허용 값은 20, 110, 200 mW이고 기본값은 200 mW입니다. `heater_time`은 히터 동작 시간을 밀리초로 설정하며 100 또는 1000 ms를 사용할 수 있고 기본값은 1000 ms입니다.

`heater_enable`은 선택한 전력과 시간으로 히터를 켜 센서 표면의 응축수를 제거합니다. 한 번 켜진 히터는 수동으로 끌 수 없고 지정한 동작을 마치면 자동으로 꺼집니다. 읽을 때 0은 꺼짐 상태이고 1을 쓰면 켜집니다.

SHT4X sysfs 속성
속성값·범위의미
temp1_input밀리섭씨측정 온도
humidity1_input%H 스케일측정 습도
update_interval최소 2000 ms폴링 최소 간격, RW
heater_power20·110·200 mW, 기본 200요청 히터 전력
heater_time100·1000 ms, 기본 1000요청 히터 동작 시간
heater_enable읽기 0=꺼짐, 쓰기 1=켜기완료 후 자동 꺼짐, 수동 중지 불가

폴링과 히터의 허용 값·기본값·제약입니다.

SHT4X 응축수 제거
heater_power를 20·110·200 mW 중 선택heater_time을 100·1000 ms 중 선택heater_enable에 1 기록설정 시간 동안 히터 자동 동작자동 종료 후 온도·습도 재측정

허용 전력과 시간을 먼저 선택한 뒤 한 번의 히터 사이클을 시작합니다.

Sysfs entries
-------------

=============== ============================================
temp1_input     Measured temperature in millidegrees Celsius
humidity1_input Measured humidity in %H
update_interval The minimum interval for polling the sensor,
                in milliseconds. Writable. Must be at least
                2000.
heater_power        The requested heater power, in milliwatts.
                Available values: 20, 110, 200 (default: 200).
heater_time        The requested operating time of the heater,
                in milliseconds.
                Available values: 100, 1000 (default 1000).
heater_enable        Enable the heater with the selected power
                and for the selected time in order to remove
                condensed water from the sensor surface. The
                heater cannot be manually turned off once
                enabled (it will automatically turn off
                after completing its operation).

                        - 0: turned off (read-only value)
                        - 1: turn on
=============== ============================================