Arduino library for the HTU21D-F sensors in the Adafruit shop
Clone or download
Latest commit 94c0af1 Oct 2, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add GitHub issue template May 27, 2016
examples/HTU21DFtest Cleanup for 1.1.0 release Oct 1, 2018
.travis.yml Added travis support Oct 1, 2018
Adafruit_HTU21DF.cpp Cleanup for 1.1.0 release Oct 1, 2018
Adafruit_HTU21DF.h Cleanup for 1.1.0 release Oct 1, 2018 Update Oct 2, 2018 Cleanup for 1.1.0 release Oct 1, 2018

Adafruit HTU21D-F Humidity/Temp Sensor for Arduino Build Status


This is a library for the HTU21D-F Humidity + Temperature sensor.

Designed specifically to work with the HTU21D-F in the Adafruit shop:

These boards use I2C to communicate. 2 pins are required to interface. Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, all text above must be included in any redistribution.

Installing this Library

Check out the links above for our tutorials and wiring diagrams. Use the Arduino library manager to install

We also have a great tutorial on Arduino library installation at:

Learning Guide and API Documentation

Learning Guide

For a practical guide on how to use this breakout, see our comprehensive Adafruit HTU21D-F Learning Guide.

API Documentation

NOTE: This documentation is automatically generated based on the doxygen comments in the code.

For specific programming issues, see the API Documentation describing the Adafruit_HTU21DF class available in this library.