Skip to main content
Skip table of contents

SHT1X

Reads temperature and humidity from a Sensirion SHT1X sensor (which is used by the EI-1050). For more information, see the EI-1050 datasheet and the SHT1X datasheet from sensirion.com.

Command:

 

Byte

 

0

Checksum8

1

0xF8

2

0×02

3

0×39

4

Checksum16 (LSB)

5

Checksum16 (MSB)

6

DataPinNum

7

ClockPinNum

8

Reserved

9

Options

 

 

Response:

 

Byte

 

0

Checksum8

1

0xF8

2

0×05

3

0×39

4

Checksum16 (LSB)

5

Checksum16 (MSB)

6

Errorcode

7

0×00

8

StatusReg

9

StatusRegCRC

10-11

Temperature

12

TemperatureCRC

13-14

Humidity

15

HumidityCRC

  • Data/Clock -PinNum: Assigns which digital I/O line is used for each SPI line.

  • StatusReg: Returns a read of the SHT1X status register.

  • Temperature: Returns the raw binary temperature reading.

  • Humidity: Returns the raw binary humidity reading.

  • #CRC: Returns the CRC values from the sensor.

  • Options:

Bit 7: Read Humidity
Bit 6: Read Temperature
Bit 5-3: Reserved, write 0
Bit 2: Enable Heater
Bit 1: Reserved, write 0
Bit 0: Resolution. 1 = 8-bit RH and 12-bit Temp, 0 = 12-bit RH and 14-bit Temp

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.