ESP32 HDC1080 / GY-213V-HDC1080 Temperature and Humidity Sensor Pinout

HDC1080 / GY-213V-HDC1080 Temperature and Humidity Sensor image

HDC1080 / GY-213V-HDC1080

Protocol: I2C

Overview

The HDC1080 sensor is a digital humidity and temperature sensor that provides accurate and reliable measurements. Its low power consumption and factory calibration make it ideal for applications such as HVAC systems, weather stations, and consumer electronics.

About HDC1080 / GY-213V-HDC1080 Temperature and Humidity Sensor

The HDC1080, developed by Texas Instruments, is a high-accuracy digital humidity and temperature sensor designed for low-power applications. With factory-calibrated sensors and a wide supply voltage range, it offers a cost-effective and energy-efficient solution for various environmental monitoring applications.

Key Features

  • Low Power Consumption – Ideal for battery-powered IoT and embedded systems.
  • Factory-Calibrated Sensors – Ensures high accuracy without additional calibration.
  • Wide Operating Voltage – Compatible with various power sources.
  • I²C Communication – Simple integration with ESP32, Arduino, and other microcontrollers.

With its efficient power usage and reliable performance, the HDC1080 is a great choice for climate control, smart home devices, and portable monitoring applications. 🚀

Where to Buy HDC1080 / GY-213V-HDC1080 Temperature and Humidity Sensor

HDC1080 / GY-213V-HDC1080 Temperature and Humidity Sensor

Starting from

$5 per unit

Amazon com
Amazon.com Ships worldwide
View Price
Amazon de
Amazon.de Ships to EU
View Price
Aliexpress
AliExpress Best value
View Price

Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

HDC1080 / GY-213V-HDC1080 Datasheet and Technical Specifications

Operating Voltage 2.7V to 5.5V
Temperature Range -40°C to 125°C
Humidity Range 0% to 100% RH
Temperature Accuracy ±0.2°C
Humidity Accuracy ±2% RH
Interface I2C
Dimensions 3mm x 3mm x 0.9mm

HDC1080 / GY-213V-HDC1080 Pinout Diagram

The VCC pin is used to supply power to the sensor, and it typically requires 3.3V or 5V (refer to the datasheet for specific voltage requirements). The GND pin is the ground connection and must be connected to the ground of your ESP32.

The HDC1080 pinout is as follows:

  • Pin 1 (GND): Ground.
  • Pin 2 (VDD): Power supply voltage (2.7V to 5.5V).
  • Pin 3 (SDA): Serial Data Line for I2C communication.
  • Pin 4 (SCL): Serial Clock Line for I2C communication.

HDC1080 / GY-213V-HDC1080 Wiring with ESP32

To interface the HDC1080 with an ESP32:
  • Connect VDD to the 3.3V pin on the ESP32.
  • Connect GND to the ground (GND) of the ESP32.
  • Connect SDA to the ESP32's GPIO21 (default I2C data pin).
  • Connect SCL to the ESP32's GPIO22 (default I2C clock pin).
  • Place pull-up resistors (10kΩ) between SDA and VDD, and SCL and VDD, to ensure reliable communication.

HDC1080 / GY-213V-HDC1080 Troubleshooting Guide

Common Issues

💧 Humidity Readings Stuck at 100%

🌡️ Temperature and Humidity Readings Return 0xFFFF

⚠️ Humidity Measurement Errors Up to +6%

🔄 Inconsistent Humidity Readings Across Multiple Sensors

Debugging Tips

🔍 Serial Monitor

⚡ Voltage Checks

HDC1080 / GY-213V-HDC1080 Code Examples

Arduino Example

C++
🔧

ESP-IDF Example

C++
🏠

ESPHome Example

YAML
🛠️

PlatformIO Example

C++
🐍

MicroPython Example

Python

Conclusion

The ESP32 HDC1080 / GY-213V-HDC1080 Temperature and Humidity Sensor is a powerful environment sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.