Difference between revisions of "SHT31 Temperature and Humidity Sensor"

From CQRobot-Wiki
Jump to: navigation, search
(Product Size)
Line 29: Line 29:
|[[File:SHT31 Temperature and Humidity Sensor-73.jpg |left|400px]]
|[[File:SHT31 Temperature and Humidity Sensor-73.jpg |left|400px]]
|[[File:SHT31 Temperature and Humidity Sensor-74.jpg |left|400px]]
|[[File:SHT31 Temperature and Humidity Sensor-74.jpg |left|400px]]
=='''Pin and DIP Switch Description'''==
|[[File:SHT31 Temperature and Humidity Sensor-75.jpg |left|400px]]

Revision as of 06:05, 30 July 2020


SHT31-DIS-F digital temperature and humidity sensor is based upon the Sensirion SHT31-F sensor IC. Thanks to Sensirion’s CMOSens® technology, highly integrated capacitive humidity sensing components and band-gap temperature sensing components, the SHT31-F offers high reliability and long-term stability with low power consumption, fast response and strong anti-interference ability. The sensor supports I2C communication, and is compatible with 3.3V/5V controllers like Arduino, micro:bit, ESP32. It is easy to achieve precise and high-reliability temperature and humidity sensing for urban environment monitoring, intelligent buildings, industrial automation, smart home and other Internet of Things applications.

SHT31-DIS-F is the standard version of the SHT3x series. It provides humidity accuracy Plus/Minus 2% RH @ 0%RH to 100%RH (at 25 Degree Celsius), and temperature accuracy Plus/Minus 0.2 Degree Celsius @ 0 Degree Celsius to 90 Degree Celsius (typical).

The SHT31-DIS-F chip features a PTFE membrane dedicated to protecting the sensor opening from liquids and dust according to IP67. It thus allows the sensor to work under harsh environmental conditions, where spray water and high exposure to dust might be challenging for accurate sensor performance. Due to minimal package volume and the membrane’s high water vapor permeability, the response time of the relative humidity and temperature signal is identical to the value achieved by the uncovered sensor. Although the membrane option provides perfect protection against water and dust ingress, it does not in general prevent contamination from volatile chemicals.


  • Onboard SHT31-DIS-F chip, IP67 dust-proof protective film.
  • Compatible with 3.3V/5V controllers, Compatible with Raspberry Pi/Arduino Motherboard.
  • Ocean: 22AWG environmentally friendly high temperature resistant silicone wire, JST-PA 2.0mm 4-Pin to DuPont female single head, wire length 210mm.
  • High precise, internal auto-calibrated, digital output, Low power consumption, fast response, and strong anti-interference.


  • Smart buildings, Furniture
  • Weather Station
  • Warehouse Storage
  • Animal and Plant Breeding
  • Animal Incubator
  • Plant Seed Germination Box

Product Size

SHT31 Temperature and Humidity Sensor-73.jpg
SHT31 Temperature and Humidity Sensor-74.jpg

Pin and DIP Switch Description

SHT31 Temperature and Humidity Sensor-75.jpg

Connection Diagram

Connect to Arduino:

  • Note: Do not connect the DuPont female single-head wire directly to the UNO R3 control board. You need to stack the sensor expansion board on the UNO R3 control board or connect the male-to-male Dupont wire on the Dupont female single-head wiring(bread wire).
  • We connected the 4pin interface of the sensor to the UNO R3 control board in the experiment.
  • Dial the DIP switch to 0X45
SHT31 Temperature and Humidity Sensor-71.jpg

Connect to Raspberry Pi:

  • We connected the 4pin interface of the sensor to the Raspberry Pi 4B control board in the experiment.
  • Dial the DIP switch to 0X44
SHT31 Temperature and Humidity Sensor-72.jpg


Sensor Specifications

  • Operating Voltage: 2.15V to 5.5V
  • Operating Current: Less Than 1.5mA
  • Humidity Detection Range: 0%RH to 100%RH
  • Humidity Accuracy: Plus/Minus 2%RH@0%RH to 100%RH(at 25 Degree Celsius)
  • Temperature Detection Range: -40 Degree Celsius to 125 Degree Celsius
  • Temperature Accuracy: Plus/Minus 0.2 Degree Celsius @0 Degree Celsius to 90 Degree Celsius (Typical)
  • Communication: I2C (JST PA SMT 4-Pin interface to 2.54mm pitch pin header interface)
  • Outline Dimension: 22.36mm * 31.35mm
  • Mounting Hole Size: 3mm
  • Mounting Hole Pitch: 15mm

Ocean Wire Specifications

  • Cable Specifications: 22AWG
  • Material: Silicone
  • Withstand Voltage: Less Than 50V
  • Withstand Current: Less Than 1000MA
  • Length: 21cm
  • Line Sequence: Black negative power supply, Red positive power supply, Green-SDA, Blue-SDA