SHT20 온도 습도 센서 -I2C, 3.3V/5V
(SHT20 Temperature Humidity Sensor -I2C, 3.3V/5V)
개요
- 본 제품은 SHT20 온도 습도 센서 -I2C, 3.3V/5V입니다.
- SHT20 온습도 센서를 기반으로 디자인된 제품으로 3.3V/5V 로 동작합니다.
- I2C 인터페이스를 가지고 있습니다.
특징
-
Working voltage: 2.5V~5.5V
Measuring temperature range: - 40 ℃~120 ℃
Temperature accuracy: ±± 0.3 ℃
Humidity measurement range: 0~100% RH
Temperature accuracy: ± 3% RH
-
Serial No
Pin Name
Description
1
VCC
Power input
2
GND
Power supply ground
3
SCL
I2C clock, built-in 10K pull-up
4
SDA
I2C data, built-in 10K pull-up
5
NC
Empty foot
6
NC
Empty foot
7
GND
Power supply ground
8
3V3
3.3V output pin
문서
- https://www.mediafire.com/file/hmq7t2v08om3p4i/SHT2x.rar/file
- https://gist.github.com/myarduinosale/000dfe38b975943a4afa70512bf16d6d#file-m1505_arduino-ino
-
This module reads data through I2C interface. I2C device address is b1000000X, length is 7 bits, and X bit is read/write bit. The write device address is b10000000 (0x80), and the read device address is b10000000 (0x81). It is recommended to read the temperature and humidity at an interval of more than 1s.
After starting transmission, the first I2C byte transmitted subsequently includes a 7-bit I2C device address (b10000 000) and a SDA direction bit (read R: 1, write W: 0). After the falling edge of the eighth SCL clock, pull down the SDA pin (ACK bit) to indicate that the sensor data reception is normal. After sending the measurement command, MCU must wait for the measurement to be completed. The basic commands are outlined in the following table. There are two different options, host mode and non host mode.
Command
definition
code
Trigger T measurement
Hold host
1110 0011
Trigger RH test
Hold host
1110 0101
Trigger T test
Non persistent host
1111 0011
Trigger RH measurement
Non persistent host
1111 0101
Write User Register
1110 0110
Read user register
1110 0111
Soft reset
1111 1110
Host mode data transmission process:
Non host mode data transmission process:
Temperature conversion formula: (unit: ℃)
Humidity conversion formula: (unit:% RH)
Application Schematic Diagram
연관제품
- 연관제품 1