LamaPLC: HDC Texas Instruments Temperature/humidity sensors with I²C communication

HDC 1080 The Texas Instruments HDC1080 is a low-power, high-accuracy, factory-calibrated digital humidity and temperature sensor that communicates via an I²C interface.

Key Features

  • High Accuracy: Provides a typical relative humidity accuracy of ±2% and a typical temperature accuracy of ±0.2°C.
  • Low Power Consumption: Features an ultra-low 100 nA sleep mode current, making it ideal for battery-powered or IoT applications.
  • Integrated Sensing: Measures both relative humidity and temperature with an integrated sensor element, reducing complexity and footprint.
  • Wide Operating Range & Voltage:
    • Supply Voltage: Operates over a wide range from 2.7 V to 5.5 V.
    • Temperature Range: Functional from -40°C to +125°C.
    • Humidity Range: Measures 0% to 100% relative humidity.
  • Factory Calibrated: The sensors are factory-calibrated, ensuring reliable, accurate measurements without requiring user calibration.
  • Digital Interface: Uses the I²C protocol for easy integration with microcontrollers such as Arduino or ESP32.
  • High Resolution: Offers 14-bit measurement resolution for precise data acquisition.
  • Stability: Exhibits excellent stability, particularly in high-humidity environments, with less than 0.5% per year typical drift.
  • On-chip Heater: Includes a built-in heater that can be used to burn off condensation, enhancing reliability in challenging environmental conditions.

Similar sensors

The SHT21, HTU21, Si7021, GY-21, GY-213V, and HDC1080 are very similar digital humidity and temperature sensor chips from different manufacturers (Sensirion, Measurement Specialties, and Silicon Labs, respectively), while the GY-21 is a generic breakout board that uses one of these chips. They are largely interchangeable in hardware and software for most general-purpose applications.

If you'd like to support the development of the site with the price of a coffee — or a few — please do so here.

Here's a handy tip: you can quickly save this page as a PDF by clicking “export to PDF” in the menu on the right side of the screen.

2026/02/14 22:38

HDC1080 Modul

HDC1080 Modul The HDC1080 module (often seen as the GY-213V-HDC1080 or CJMCU-1080) is a breakout board that integrates the Texas Instruments HDC1080 low-power, high-accuracy digital humidity and temperature sensor. It simplifies interfacing with microcontrollers via the I²C bus.

  • Integrated Sensing: The module measures both relative humidity (0-100%) and temperature (-40°C to +125°C) on a single chip.
  • High Accuracy: It delivers high-precision measurements with a typical accuracy of ±2% RH and ±0.2°C.
  • Wide Operating Voltage: The board typically supports a 2.7V to 5.5V DC supply range, making it compatible with both 3.3V and 5V systems such as Arduino and Raspberry Pi.
  • Ultra-Low Power: It features a very low 100 nA sleep mode current, suitable for battery-operated devices.
  • I²C Interface: Communication is handled via the standard I²C (IIC) protocol, using only SDA and SCL, simplifying wiring to a microcontroller.

Arduino & HDC1080 Modul

  • SCL: A5
  • GND: GND
  • SDA: A4
  • Vdd: 5V

Arduino code

To interface the HDC1080 module with an Arduino, the most popular and feature-rich option is the ClosedCube HDC1080 library.

This sketch initializes the sensor and prints temperature and humidity readings to the Serial Monitor every 3 seconds.

#include <Wire.h>
#include "ClosedCube_HDC1080.h"
 
ClosedCube_HDC1080 hdc1080;
 
void setup() {
  Serial.begin(9600);
 
  // Standard I2C address for HDC1080 is 0x40
  hdc1080.begin(0x40); 
 
  Serial.print("Manufacturer ID: 0x");
  Serial.println(hdc1080.readManufacturerId(), HEX); // Should be 0x5449
}
 
void loop() {
  // Read temperature and humidity
  float temp = hdc1080.readTemperature();
  float humidity = hdc1080.readHumidity();
 
  Serial.print("T=");
  Serial.print(temp);
  Serial.print("C, RH=");
  Serial.print(humidity);
  Serial.println("%");
 
  delay(3000); // Wait for 3 seconds
}

I²C topics on lamaPLC

PageDateTags
2025/05/31 21:56, , , , , , ,
2025/09/23 19:25, , , , , ,
2026/03/21 19:20, , , , , , ,
2026/02/15 20:33, , , , , , , , ,
2026/02/14 22:24, , , , , , , , , , , , ,
2026/02/15 20:40, , , , , , , , , , , , , ,
2026/02/14 23:37, , , , , , , , , , ,
2026/02/14 22:40, , , , , , , , , ,
2026/03/21 22:25, , , , , , , , , , ,
2026/02/14 18:19, , , , , , , , , , ,
2026/02/14 18:11, , , , , , , ,
2025/05/31 21:32, , , , , , , ,
2026/02/14 19:29, , , , , , , , , , , , , ,
2025/11/21 23:07, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2023/07/01 15:29, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2026/03/22 00:26, , , , , , , , ,
2026/02/14 22:45, , , , , , , , ,
2026/02/14 22:09, , , , , , , , , , , , , , , ,
2026/02/14 17:26, , , ,
2026/02/14 21:54, , , , , , , , , , , , , , , , , , , , , , , , ,
2026/02/14 23:58, , , , , , , , , , ,
2026/02/14 17:27, , , , , , , , , ,
2026/02/14 23:38, , , , , , ,
2026/02/14 22:52, , , , , , , ,
2026/02/14 22:23, , , , , , , ,
2026/02/14 22:53, , , , , , , , , , , , ,
2026/02/15 20:27, , , , , , , , , , , , , , , ,
2026/02/15 20:29, , , , , , , , , , , , , ,
2026/02/14 22:47, , , ,
2026/02/14 22:51, , , , , ,
2026/02/14 17:26, , , ,
2026/02/14 22:22, , , , , , , , , , , , ,
2026/02/14 22:21, , , , , , , , , , ,
2026/02/14 22:22, , , , , , , ,
2026/03/05 20:19, , , , , , , , , , , , , , , , ,
2026/02/14 17:27, , , , , , ,



This page has been accessed for: Today: 2, Until now: 38