Components / Sensors / Si7021 humidity sensor

Si7021 humidity sensor

Accurate humidity sensor with a built-in heater.

MeasuresTemperature and relative humidity
Accuracy±0.4 °C, ±3 % RH
InterfaceI2C
I2C address0x40
SensorsReviewedMPN Si7021-A20Used in 2 projects
SI7021
In short

What is the Si7021 humidity sensor and what is it used for?

Accurate humidity sensor with a built-in heater. Makers use it for weather stations.

How it works

A capacitive humidity sensor with a temperature sensor and on-chip calibration.

Key specifications

Sensor specValue
MeasuresTemperature and relative humidity
Accuracy±0.4 °C, ±3 % RH
InterfaceI2C
I2C address0x40
Supply voltage1.9 to 3.6 V

Pinout

VIN3.3 to 5 V on modules
GNDGround
SCLI2C clock
SDAI2C data

How to use it

Use the Adafruit Si7021 library at address 0x40. Some cheap boards carry clones that report a different ID; libraries usually still work.

Applications

Alternatives

Buy at

Common questions

What is the Si7021 humidity sensor used for?

In maker projects: weather stations.

How does the Si7021 humidity sensor work?

A capacitive humidity sensor with a temperature sensor and on-chip calibration.

What voltage does the Si7021 humidity sensor need?

1.9 to 3.6 V.

How do I connect the Si7021 humidity sensor to an Arduino or ESP32?

I2C. Pins: VIN (3.3 to 5 V on modules), GND (Ground), SCL (I2C clock), SDA (I2C data).

What can I use instead of the Si7021 humidity sensor?

SHT31 temperature and humidity sensor.