요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Kernel driver sht21
===================
Supported chips:
* Sensirion SHT20
Prefix: 'sht20'
Addresses scanned: none
Datasheet: Publicly available at the Sensirion website
https://www.sensirion.com/file/datasheet_sht20
* Sensirion SHT21
Prefix: 'sht21'
Addresses scanned: none
Datasheet: Publicly available at the Sensirion website
https://www.sensirion.com/file/datasheet_sht21
* Sensirion SHT25
Prefix: 'sht25'
Addresses scanned: none
Datasheet: Publicly available at the Sensirion website
https://www.sensirion.com/file/datasheet_sht25
Author:
Urs Fleisch <[email protected]>
Description
-----------
The SHT21 and SHT25 are humidity and temperature sensors in a DFN package of
only 3 x 3 mm footprint and 1.1 mm height. The difference between the two
devices is the higher level of precision of the SHT25 (1.8% relative humidity,
0.2 degree Celsius) compared with the SHT21 (2.0% relative humidity,
0.3 degree Celsius).
The devices communicate with the I2C protocol. All sensors are set to the same
I2C address 0x40, so an entry with I2C_BOARD_INFO("sht21", 0x40) can be used
in the board setup code.
sysfs-Interface
---------------
=================== ============================================================
temp1_input Temperature input
humidity1_input Humidity input
eic Electronic Identification Code
=================== ============================================================
Notes
-----
The driver uses the default resolution settings of 12 bit for humidity and 14
bit for temperature, which results in typical measurement times of 22 ms for
humidity and 66 ms for temperature. To keep self heating below 0.1 degree
Celsius, the device should not be active for more than 10% of the time,
e.g. maximum two measurements per second at the given resolution.
Different resolutions, the on-chip heater, and using the CRC checksum
are not supported yet.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Sensirion SHT20·SHT21·SHT25
1-39`sht21` 드라이버는 Sensirion SHT20, SHT21, SHT25를 지원합니다. 각 접두사는 `sht20`, `sht21`, `sht25`이며 세 모델 모두 주소를 자동 검색하지 않습니다. 모델별 공개 데이터시트 링크가 문서에 제공됩니다.
문서 작성자는 Sensirion의 Urs Fleisch입니다.
지원 칩과 명시적 등록에 사용하는 접두사입니다.
모델명을 확인하고 공통 주소 0x40에 장치를 생성합니다.
Kernel driver sht21
===================
Supported chips:
* Sensirion SHT20
Prefix: 'sht20'
Addresses scanned: none
Datasheet: Publicly available at the Sensirion website
https://www.sensirion.com/file/datasheet_sht20
* Sensirion SHT21
Prefix: 'sht21'
Addresses scanned: none
Datasheet: Publicly available at the Sensirion website
https://www.sensirion.com/file/datasheet_sht21
* Sensirion SHT25
Prefix: 'sht25'
Addresses scanned: none
Datasheet: Publicly available at the Sensirion website
https://www.sensirion.com/file/datasheet_sht25
Author:
Urs Fleisch <[email protected]>
소형 DFN 패키지와 정밀도 차이
40-52SHT21과 SHT25는 온도·습도 센서이며 크기 3×3 mm, 높이 1.1 mm의 DFN 패키지를 사용합니다.
SHT25의 정밀도는 상대 습도 1.8%, 온도 0.2°C이고 SHT21은 상대 습도 2.0%, 온도 0.3°C이므로 SHT25가 더 정밀합니다.
장치는 I2C 프로토콜로 통신하며 모든 센서의 주소는 `0x40`입니다. 보드 설정 코드에서 `I2C_BOARD_INFO("sht21", 0x40)`을 사용할 수 있습니다.
패키지와 대표 정밀도를 비교합니다.
공통 주소를 사용하므로 버스별로 모델 인스턴스를 명시합니다.
Description
-----------
The SHT21 and SHT25 are humidity and temperature sensors in a DFN package of
only 3 x 3 mm footprint and 1.1 mm height. The difference between the two
devices is the higher level of precision of the SHT25 (1.8% relative humidity,
0.2 degree Celsius) compared with the SHT21 (2.0% relative humidity,
0.3 degree Celsius).
The devices communicate with the I2C protocol. All sensors are set to the same
I2C address 0x40, so an entry with I2C_BOARD_INFO("sht21", 0x40) can be used
in the board setup code.
기본 해상도·측정 시간·자체 발열 제한
53-72sysfs의 `temp1_input`은 온도, `humidity1_input`은 습도, `eic`는 전자 식별 코드(Electronic Identification Code)를 제공합니다.
드라이버는 기본 해상도인 습도 12비트와 온도 14비트를 사용합니다. 대표 측정 시간은 습도 22 ms, 온도 66 ms입니다.
자체 발열을 0.1°C 아래로 유지하려면 장치 활성 시간은 전체의 10%를 넘지 않아야 합니다. 현재 해상도에서는 예를 들어 초당 최대 두 번만 측정해야 합니다.
다른 해상도, 칩 내장 히터, CRC 체크섬 사용은 아직 지원되지 않습니다.
기본 측정 설정과 발열 제한을 정리합니다.
기본 해상도에서 활성 시간을 제한해 센서 가열 오차를 줄입니다.
sysfs-Interface
---------------
=================== ============================================================
temp1_input Temperature input
humidity1_input Humidity input
eic Electronic Identification Code
=================== ============================================================
Notes
-----
The driver uses the default resolution settings of 12 bit for humidity and 14
bit for temperature, which results in typical measurement times of 22 ms for
humidity and 66 ms for temperature. To keep self heating below 0.1 degree
Celsius, the device should not be active for more than 10% of the time,
e.g. maximum two measurements per second at the given resolution.
Different resolutions, the on-chip heater, and using the CRC checksum
are not supported yet.
요약·해설
sht21.rst:1-72주소 0x40의 SHT2x를 기본 해상도로 측정하고 활성 듀티를 10% 이하로 제한해 자체 발열을 0.1°C 아래로 유지합니다.
원문 분량과 핵심 장치 구성을 정리합니다.
장치 식별부터 측정값 확인까지의 핵심 순서입니다.