Components / Sensors / SHT31 temperature and humidity sensor

SHT31 temperature and humidity sensor

Accurate digital humidity and temperature sensor.

MeasuresTemperature and relative humidity
Range−40 to 125 °C, 0 to 100 % RH
Accuracy±0.3 °C, ±2 % RH
InterfaceI2C
SensorsReviewedMPN SHT31-DISUsed in 30 projects
SHT31
In short

What is the SHT31 temperature and humidity sensor and what is it used for?

Accurate digital humidity and temperature sensor. Makers use it for greenhouses, accurate weather stations.

How it works

A capacitive polymer layer absorbs moisture and changes capacitance, and a band-gap sensor measures temperature.

Key specifications

Sensor specValue
MeasuresTemperature and relative humidity
Range−40 to 125 °C, 0 to 100 % RH
Accuracy±0.3 °C, ±2 % RH
InterfaceI2C
I2C address0x44 or 0x45
Supply voltage2.4 to 5.5 V

Pinout

VIN2.4 to 5.5 V
GNDGround
SCLI2C clock
SDAI2C data
ADRAddress 0x44 (low) or 0x45 (high)
ALAlert output
RSTReset

How to use it

Use the Adafruit SHT31 library. The built-in heater can drive off condensation in very humid places; switch it off for normal readings.

Applications

Alternatives

Buy at

Common questions

What is the SHT31 temperature and humidity sensor used for?

In maker projects: greenhouses, accurate weather stations.

How does the SHT31 temperature and humidity sensor work?

A capacitive polymer layer absorbs moisture and changes capacitance, and a band-gap sensor measures temperature.

What voltage does the SHT31 temperature and humidity sensor need?

2.4 to 5.5 V.

How do I connect the SHT31 temperature and humidity sensor to an Arduino or ESP32?

I2C. Pins: VIN (2.4 to 5.5 V), GND (Ground), SCL (I2C clock), SDA (I2C data), ADR (Address 0x44 (low) or 0x45 (high)), AL (Alert output).

What can I use instead of the SHT31 temperature and humidity sensor?

SHT40 temperature and humidity sensor and AHT20 temperature and humidity sensor.