Skip to datasheet
The Engineering ProjectsAI Interactive Datasheet

SHT31SHT31-DIS digital humidity and temperature sensor

Two calibrated measurements on a checked I²C connection.

Manufacturer-referenced

Sensirion · SHT31-DIS-B

DFN-8 + EPSHT3x-DIS · December 2022 · Version 7

SHT31-DIS combines humidity and temperature sensing with factory calibration and an I²C interface. A controller can request one measurement or select periodic acquisition. Each returned measurement word has its own CRC byte, allowing corrupted transfers to be rejected before the display or control logic uses them. The compact DFN package has eight perimeter contacts and an underside ground pad. A supply bypass capacitor and two bus pullups complete the basic interface. ADDR selects 0x44 or 0x45; the optional ALERT and reset connections support more advanced designs. This page covers the SHT31 digital variant. Follow its package orientation and keep the sensing opening exposed to the air. A fast bus transaction does not mean the physical humidity and temperature have changed equally quickly; airflow, mounting and nearby heat sources affect the reading.

3D View

Preparing 3D preview…
3D packageDrag to rotate · Scroll to zoom

Real View

Original black SHT31 sensor with a central sensing opening, bright metallic contacts and a pin-one mark.
SHT31-DIS-B · DFN-8 + EPPackage illustration

Pinout

SHT31DFN-8 + EPTop view · contact 9 is the underside ground pad
Select a pin to see its functionDFN-8 + EP · 9 pins

PCB Footprint

Loading footprint…
Powered by
Finding DFN-8 + EP packageTop view · mm
9Physical pins SHT31-DIS-BDFN-8 + EP Manufacturer-referencedSensirion

Pin diagram

Select a pin to explore its connection

Package map
Highlight
SHT31DFN-8 + EPTop view · contact 9 is the underside ground pad

Click a lead or use the arrow keys. Top view · contact 9 is the underside ground pad

1
PIN 1 · Serial data

SDA

Bidirectional data

Function

I²C data connection.

How to connect

Pull up to the logic rail; connect to the controller SDA.

Electrical note

Open-drain; choose the pullup for bus capacitance and frequency.

Key specifications

Write a 16-bit measurement command, wait for completion or use clock stretching, then read temperature and humidity with separate CRC checks.

Supply2.15–5.5 V
Typical humidity error±2 %RH · see tolerance curves
Typical temperature error±0.2 °C · 0–90°C
I²C addresses44 / 45 hex · seven-bit

Operating profile

Supply, signals and operating conditions

SHT31 operating profile
ParameterValueConditions / notes
Selected packageDFN-8 + EP2.5 × 2.5 mm nominal body
Temperature range−40–125°CAccuracy varies with conditions
Data integrityCRC-8One CRC for each 16-bit word
Use these values with the stated grade and test conditions.

Package details

SHT31-DIS-B · DFN-8 + EP

Selected package
Selected SHT31 physical package
PropertyDetails
ManufacturerSensirion
Part numberSHT31-DIS-B
PackageDFN-8 + EP
Connections9 pins
MountingSMD
Lead pitch0.50 mm
Package codeDFN-8
Thermal reference−40°C to +125°C · reference conditions apply

Power and operating conditions

Digital SHT31-DIS variant

Scroll sideways to see all columns.

ParameterValueConditions / notes
Supply2.15–5.5 V3.3 V in the example
Local bypass100 nFPlace close to VDD and VSS
Idle / conversion current0.2 µA / 600 µA typicalSingle-shot idle at 25°C; conversion 1.5 mA maximum
Specified ranges−40°C to +125°C; 0–100%RHExtended range; normal conditions are narrower
Recommended normal operation5–60°C and 20–80%RHLong exposure outside this region can change sensor behavior
Bus pullups4.7 kΩ in the exampleAn illustrative short 100 kHz bus; calculate for the real load

Do not confuse operating limits with absolute maximum ratings.

Accuracy and response

SHT31 grade; do not substitute SHT35 limits

Scroll sideways to see all columns.

ParameterValueConditions / notes
Humidity tolerance±2%RH typicalUse the manufacturer curves for range-dependent maxima
Temperature tolerance±0.2°C typical over 0–90°CSee the temperature error curve outside this range
Humidity repeatability0.08%RH typical, high settingA noise metric, distinct from absolute accuracy
Temperature repeatability0.04°C typical, high settingA noise metric, distinct from absolute accuracy
Humidity response8 s typical to 63%25°C, 1 m/s airflow, without ART
Temperature responseGreater than 2 sDepends strongly on mounting and heat exchange

A 16-bit result is not a promise of 16-bit measurement accuracy.

Useful command reference

Two-byte command values

Scroll sideways to see all columns.

ParameterValueConditions / notes
Single shot, high repeatability0x2400 / 0x2C06Without / with clock stretching
Single shot, medium repeatability0x240B / 0x2C0DWithout / with clock stretching
Single shot, low repeatability0x2416 / 0x2C10Without / with clock stretching
Periodic, 1 sample/s, high0x2130Fetch with 0xE000
Exit periodic mode0x3093Break command
Soft reset0x30A2Allow the reset recovery time
Read / clear status0xF32D / 0x3041Status is a checked 16-bit word
Heater enable / disable0x306D / 0x3066Heater raises sensor temperature; not normal ambient measurement

Use explicit error handling for NACKs and communication timeouts.

Six-byte response and equations

Temperature first, humidity second

Scroll sideways to see all columns.

ParameterValueConditions / notes
Bytes 0–2Temperature MSB, LSB, CRCUnsigned raw word ST
Bytes 3–5Humidity MSB, LSB, CRCUnsigned raw word SRH
TemperatureT = −45 + 175 × ST / 65535Result in °C
Relative humidityRH = 100 × SRH / 65535Result in %RH
CRC-8Polynomial 0x31; initial 0xFFNo reflection; final XOR 0; reset for each word
Reference checkCRC(BE EF) = 92 hexManufacturer test vector
Illustrative response66 66 93 80 00 A2 hex25.00°C and approximately 50.00%RH

Check all six bytes before updating the displayed measurements.

Conversion and interface timing

Supply-dependent maximum conversion time

Scroll sideways to see all columns.

ParameterValueConditions / notes
High repeatability15 ms at 2.4–5.5 V15.5 ms at 2.15 V to below 2.4 V
Medium repeatability6 ms at 2.4–5.5 V6.5 ms at 2.15 V to below 2.4 V
Low repeatability4 ms at 2.4–5.5 V4.5 ms at 2.15 V to below 2.4 V
Power-up1 ms maximum at 2.4–5.5 V1.5 ms in the lower supply range
Soft reset1.5 ms maximumWait before another command
Supported I²C clockUp to 1 MHzRespect the electrical and rise-time limits
Periodic rates0.5, 1, 2, 4 or 10 samples/sDo not mistake sample rate for environmental response time

Choose command mode, bus speed and power budget together.

Pin straps and package

Top-view numbering; underside pad identified separately

Scroll sideways to see all columns.

ParameterValueConditions / notes
ADDRVSS → 0x44; VDD → 0x45Never leave floating
R contact 7Connect to VSSNot a spare GPIO
ALERTLeave open if unusedOptional alarm output
nRESETLeave open if unusedOptional pullup must be at least 2 kΩ
Center padInternally connected to VSSSoldering supports the package mechanically
DFN outline2.5 × 2.5 × 0.9 mm nominalEight 0.5 mm-pitch perimeter contacts
Authored land pattern0.55 × 0.25 mm signal lands1.0 × 1.7 mm rectangular center land; review mask and paste

Keep the sensing opening free of coating, flux residue and enclosure obstructions.

Connections by function

Select a pin for its function, connection guidance and electrical notes.

Serial data1 pin

Address strap1 pin

Alert1 pin

Serial clock1 pin

Supply1 pin

Reset1 pin

Ground3 pins

Read the conditions with every value

Typical values describe stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

Official PDF datasheet

SHT31 at a glance

Follow the labeled connections and functional stages

SHT31 working principle: illustrated functional stages, basic circuit and connections
Select the diagram to read it at full resolution.

How it works

3 stages · Explore one step at a time

Step 1 / 3

Select the measurement

At address 0x44, send 0x2400 for a high-repeatability single conversion without clock stretching.

Step 2 / 3

Wait for completion

At 3.3 V, allow the 15 ms maximum conversion time before reading. Lower supply operation has a longer bound.

Step 3 / 3

Validate and scale

Check both CRCs, then scale the unsigned raw words into Celsius and percent humidity.

SHT31 in a circuit

A physical sensor, two bus pullups and local bypassing.

SHT31 DFN connected to a 3.3 V controller with SDA and SCL pullups, 100 nF bypass, grounded ADDR and R contacts, and the ground pad connected to VSS.
Illustrative 25.00°C and 50.00%RH display at seven-bit address 0x44. ALERT and nRESET are unused.

Connect it, step by step

Follow the component values and pin connections

Power and ground

Bypass VDD, connect VSS and the center land, and keep the opening clear.

Wire the bus

Fit SDA and SCL pullups to 3.3 V and strap ADDR LOW.

Check each word

Issue the conversion command, wait, then validate temperature and humidity separately.

Inside SHT31

Sensing, conversion and digital control inside the DFN body.

Compact sensor cutaway with humidity and temperature sensing, conversion, calibration, CRC and I2C control inside a black package.
Original functional visualization; not a die-level schematic.

Explore the circuit

Select a stage to see its role and connections

Convert the sensor signals

The sensing and conversion stages measure the local environment.

Apply stored calibration

The device returns compensated digital measurement words.

Transfer with checks

The I²C interface provides commands, status and separate CRC bytes.

Selected packageDFN-8 + EPSHT31-DIS-B
Physical connections9 pinsPackage-specific numbering
Reference collection7 tables41 parameters & pin functions

Pin reference

Signal names, electrical functions and connection guidance

DFN-8 + EP
Physical pin numbers9 pins

Scroll within the table to see all columns and rows.

SHT31 pin functions and connections
PinSignalTypeFunction & connection
SDABidirectional dataI²C data connection.
Connection guidance

Pull up to the logic rail; connect to the controller SDA.

Open-drain; choose the pullup for bus capacitance and frequency.

ADDRAddress selectionSelects the seven-bit bus address.
Connection guidance

Tie LOW for 0x44 or HIGH for 0x45; do not leave floating.

Keep stable throughout the I²C transaction.

ALERTAlert outputIndicates configured temperature or humidity limits.
Connection guidance

Connect to a compatible controller input, or leave open if unused.

SCLSerial clockI²C clock connection.
Connection guidance

Connect to controller SCL with an external pullup.

Choose a controller that supports clock stretching if that command mode is used.

VDDSupplyPositive sensor rail.
Connection guidance

Use 2.15–5.5 V with 100 nF close to VDD/VSS.

nRESETActive-low resetResets the sensor when pulled LOW.
Connection guidance

May be left open when unused; an optional pullup to VDD must be at least 2 kΩ.

Do not hard-wire this input directly to VDD.

RReserved contactNo functional signal.
Connection guidance

Connect to VSS as directed by the datasheet.

VSSGroundSupply and interface return.
Connection guidance

Connect to controller ground.

EPExposed center padUnderside pad, internally connected to VSS.
Connection guidance

Solder to a ground land for mechanical support.

Contact 9 is the footprint identifier for the unnumbered die pad, not a ninth perimeter pin.

DFN-8 + EP · Top view · contact 9 is the underside ground pad · Select a pin number to open its interactive pinout.

Power and operating conditions

Digital SHT31-DIS variant

Manufacturer-referenced values6 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Supply2.15–5.5 V3.3 V in the example
Local bypass100 nFPlace close to VDD and VSS
Idle / conversion current0.2 µA / 600 µA typicalSingle-shot idle at 25°C; conversion 1.5 mA maximum
Specified ranges−40°C to +125°C; 0–100%RHExtended range; normal conditions are narrower
Recommended normal operation5–60°C and 20–80%RHLong exposure outside this region can change sensor behavior
Bus pullups4.7 kΩ in the exampleAn illustrative short 100 kHz bus; calculate for the real load

Do not confuse operating limits with absolute maximum ratings.

Accuracy and response

SHT31 grade; do not substitute SHT35 limits

Manufacturer-referenced values6 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Humidity tolerance±2%RH typicalUse the manufacturer curves for range-dependent maxima
Temperature tolerance±0.2°C typical over 0–90°CSee the temperature error curve outside this range
Humidity repeatability0.08%RH typical, high settingA noise metric, distinct from absolute accuracy
Temperature repeatability0.04°C typical, high settingA noise metric, distinct from absolute accuracy
Humidity response8 s typical to 63%25°C, 1 m/s airflow, without ART
Temperature responseGreater than 2 sDepends strongly on mounting and heat exchange

A 16-bit result is not a promise of 16-bit measurement accuracy.

Useful command reference

Two-byte command values

Manufacturer-referenced values8 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Single shot, high repeatability0x2400 / 0x2C06Without / with clock stretching
Single shot, medium repeatability0x240B / 0x2C0DWithout / with clock stretching
Single shot, low repeatability0x2416 / 0x2C10Without / with clock stretching
Periodic, 1 sample/s, high0x2130Fetch with 0xE000
Exit periodic mode0x3093Break command
Soft reset0x30A2Allow the reset recovery time
Read / clear status0xF32D / 0x3041Status is a checked 16-bit word
Heater enable / disable0x306D / 0x3066Heater raises sensor temperature; not normal ambient measurement

Use explicit error handling for NACKs and communication timeouts.

Six-byte response and equations

Temperature first, humidity second

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Bytes 0–2Temperature MSB, LSB, CRCUnsigned raw word ST
Bytes 3–5Humidity MSB, LSB, CRCUnsigned raw word SRH
TemperatureT = −45 + 175 × ST / 65535Result in °C
Relative humidityRH = 100 × SRH / 65535Result in %RH
CRC-8Polynomial 0x31; initial 0xFFNo reflection; final XOR 0; reset for each word
Reference checkCRC(BE EF) = 92 hexManufacturer test vector
Illustrative response66 66 93 80 00 A2 hex25.00°C and approximately 50.00%RH

Check all six bytes before updating the displayed measurements.

Conversion and interface timing

Supply-dependent maximum conversion time

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
High repeatability15 ms at 2.4–5.5 V15.5 ms at 2.15 V to below 2.4 V
Medium repeatability6 ms at 2.4–5.5 V6.5 ms at 2.15 V to below 2.4 V
Low repeatability4 ms at 2.4–5.5 V4.5 ms at 2.15 V to below 2.4 V
Power-up1 ms maximum at 2.4–5.5 V1.5 ms in the lower supply range
Soft reset1.5 ms maximumWait before another command
Supported I²C clockUp to 1 MHzRespect the electrical and rise-time limits
Periodic rates0.5, 1, 2, 4 or 10 samples/sDo not mistake sample rate for environmental response time

Choose command mode, bus speed and power budget together.

Pin straps and package

Top-view numbering; underside pad identified separately

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
ADDRVSS → 0x44; VDD → 0x45Never leave floating
R contact 7Connect to VSSNot a spare GPIO
ALERTLeave open if unusedOptional alarm output
nRESETLeave open if unusedOptional pullup must be at least 2 kΩ
Center padInternally connected to VSSSoldering supports the package mechanically
DFN outline2.5 × 2.5 × 0.9 mm nominalEight 0.5 mm-pitch perimeter contacts
Authored land pattern0.55 × 0.25 mm signal lands1.0 × 1.7 mm rectangular center land; review mask and paste

Keep the sensing opening free of coating, flux residue and enclosure obstructions.

Read each value with its conditions

Typical values describe the stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

Sensirion · SHT3x-DIS · December 2022 · Version 7
Official PDF datasheet

Take it into ProTech

Find SHT31 in the Components Library to place its schematic symbol and connect its pins.

Reference page · circuit simulation model not yet availableOpen ProTech

Component view