soldr.ai

Docs  /  Components

HTU21D temperature and humidity sensor: specs and pinout

A module built around the HTU21D(F) chip, a calibrated digital relative humidity sensor with a temperature output, read over I2C. The figures here are for the chip, not the module board.

Every value cites its sourceOfficial pinout

Buy on Compoden

Specs

SpecValueSource
Supply voltage (VDD)1.5 V to 3.6 V (3.0 V typical)source
Electrical and General Items
Interface and addressI2C; 7-bit device address 0x40source
Communication / I2C device address text
Humidity operating range0 %RH to 100 %RH; stated accuracy applies between 5 %RH and 95 %RHsource
Relative Humidity table
Humidity accuracy (25 C, 20 to 80 %RH)plus or minus 2 %RH typicalsource
Relative Humidity table
Humidity resolution12 bits (0.04 %RH) or 8 bits (0.7 %RH)source
Relative Humidity table
Temperature operating range-40 C to +125 Csource
Temperature table
Temperature accuracy (25 C)plus or minus 0.3 C typicalsource
Temperature table
Temperature resolution14 bits (0.01 C) or 12 bits (0.04 C)source
Temperature table
Supply current450 uA typical while measuring; 0.02 uA typical in sleep mode (VDD = 3 V)source
Electrical and General Items
Measuring time (14-bit temperature)44 ms typical, 50 ms maximumsource
Temperature table

Power

ValueSource
Supply1.5 V to 3.6 Vsource
Electrical and General Items
Current450 uA typical while measuring (VDD = 3 V)source
Electrical and General Items

Pinout

The module board is not covered by an official document. Its regulator, pull-up resistors, address jumpers, level handling and header order are not documented by a source; check the printed labels on the board. The numbers on this page are for the chip.

PinFunctionVoltageNotesSource
1DATAData bit-stream (I2C data)source
Interface Specification table (6-pin DFN chip)
2GNDGroundsource
Interface Specification table (6-pin DFN chip)
3NCMust be left unconnectedsource
Interface Specification table (6-pin DFN chip)
4NCMust be left unconnectedsource
Interface Specification table (6-pin DFN chip)
5VDDSupply voltagesource
Interface Specification table (6-pin DFN chip)
6SCKClock inputsource
Interface Specification table (6-pin DFN chip)
PADPADGround or unconnectedsource
Interface Specification table (6-pin DFN chip)

Build with it

Project ideas for the HTU21D temperature and humidity sensor. Each link opens Soldr with the prompt filled in; Soldr assigns the pins, checks power and shows how to wire every part.

Common mistakes

Not covered by the official source

Sources