Home HTU21D sensor
Post
Cancel

HTU21D sensor

Information

The HTU21D is a low-cost, easy to use, highly accurate, digital humidity and temperature sensor. This sensor is ideal for environmental sensing and data logging and perfect for a weather stations or humidor control systems. All you need is two lines for I2C communication and you’ll have relative humidity readings and very accurate temperature readings as a bonus!

There are only four pins that need to be hooked up in order to start using this sensor in a project. One for VCC, one for GND, and two data lines for I2C communication. This breakout board has built in 4.7k pull up resistors for I2C communications. If you’re hooking up multiple I2C devices on the same bus, you may want to disable these resistors.

Note: Full drops of water can damage the sensor. We recommend wrapping the board in Teflon/irrigation tape for extreme conditions where water droplets may find their way onto the sensor.

More information …

Setup

In order to use the HTU21D sensor use the following settings:

Mandatory

Hardware
HTU21D sensor
Types

humidity, temperature

Address
<I2C Address>,[I2C Bus] where the I2C bus is optional
Ex: 0x3f

Other settings can be found at the sensor setup information

This post is licensed under CC BY 4.0 by the author.