SHT31 temperature and humidity sensor
Accurate digital humidity and temperature sensor.
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.
A capacitive polymer layer absorbs moisture and changes capacitance, and a band-gap sensor measures temperature.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Temperature and relative humidity |
| Range | −40 to 125 °C, 0 to 100 % RH |
| Accuracy | ±0.3 °C, ±2 % RH |
| Interface | I2C |
| I2C address | 0x44 or 0x45 |
| Supply voltage | 2.4 to 5.5 V |
Pinout
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
Builds that use it
Dew point and mould risk alarm
Monsoon clothes drying rack fan
Solar spice and fruit dryer fan control
Green roof moisture sensors
Lab environment board
Hot car cabin logger
Bathroom fan on moisture
Onion storage ventilation controller
Alternatives
- SHT40 temperature and humidity sensorNewer, smaller, slightly more accurate
- AHT20 temperature and humidity sensorCheaper with similar accuracy
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.
