Tuesday, October 20, 2020
Home Arduino Humidity Sensor HDC-1080 | HUMIDITY SENSOR

HDC-1080 | HUMIDITY SENSOR

HDC-1080 is a high accuracy digital humidity and temperature sensor. This sensor operates at low power. This sensor is very important to many applications, for instance, HVAC, smart thermostats & room monitors, etc.
USA purchase link
UK purchase link
Germany purchase link

Specifications:

  • Relative Humidity Accuracy ±2% (typical)
  • Typical Drift : <0.5%/year
  • Supply Current (Measuring): 180µA
  • Temperature Accuracy ±0.2°C (typical)
  • Excellent Stability at High Humidity
  • 14 Bit Measurement Resolution
  • 100nA Sleep Mode Current
  • Average Supply Current
  • 710nA @ 1sps, 11 bit RH Measurement
  • 1.3µA @ 1sps, 11 bit RH and Temperature Measurement
  • Supply Voltage 2.7V to 5.5V
  • Temperature Range (Operating) : -20ºC to +85ºC
  • Small 3mm×3mm Device Footprint
  • I2C Interface

How does the HDC-1080 work :

The HDC has two modes, for instance, the sleep mode, and measurement mode. It waits in the sleep mode till it fetches the command to measure using the I2C Bus. Once it receives the command after it goes to the measurement model. After that takes the reading and switches back again to sleep mode.

HDC-1080 Pin Configuration :

 

HDC-1080
Pin Configuration

The HDC-1080 sensor has 4 pins, For instance.

  • GND
  • Vcc
  • SDA
  • SLA

HDC-1080 Arduino Wiring:

First, Connect the Sensor GND to Arduino GND.

Second,  Connect Sensor SDA to A4.

Third, connect SLA to A5.

Lastly, Connect  Sensor Vcc+ to Arduino +5v.

Code :

#include <Wire.h>
#include "ClosedCube_HDC1080.h"
 
ClosedCube_HDC1080 hdc1080;
 
void setup()
{
Serial.begin(9600);
Serial.println("ClosedCube HDC1080 Arduino Test");
 
// Default settings:
// - Heater off
// - 14 bit Temperature and Humidity Measurement Resolutions
hdc1080.begin(0x40);
 
Serial.print("Manufacturer ID=0x");
Serial.println(hdc1080.readManufacturerId(), HEX); // 0x5449 ID of Texas Instruments
Serial.print("Device ID=0x");
Serial.println(hdc1080.readDeviceId(), HEX); // 0x1050 ID of the device
 
printSerialNumber();
 
}
 
void loop()
{
Serial.print("T=");
Serial.print(hdc1080.readTemperature());
Serial.print("C, RH=");
Serial.print(hdc1080.readHumidity());
Serial.println("%");
delay(3000);
}
 
void printSerialNumber() {
Serial.print("Device Serial Number=");
HDC1080_SerialNumber sernum = hdc1080.readSerialNumber();
char format[12];
sprintf(format, "%02X-%04X-%04X", sernum.serialFirst, sernum.serialMid, sernum.serialLast);
Serial.println(format);
}

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

KY-032 | OBSTACLE AVOIDANCE SENSOR

The KY-032 obstacle avoidance sensor is an infrared obstacle avoidance sensor. It comes with the 37 in 1 starter kit for Arduino. It helps...

HIH-4000 | Humidity Sensors

The HIH-4000  sensors are one of the highly efficient humidity sensors you can buy. The HIH-4000 is an analog humidity sensor. It is useful...

KY-026 | ARDUINO FLAME IR SENSOR

The KY-026 Arduino Flame Sensor is a low-cost starter sensor. It normally comes in the starter kit of Arduino like the ky-039. It can...

KY-039 | ARDUINO HEARTBEAT SENSOR

The KY-039 Heartbeat sensor is one of the cheapest sensors to get a start on Arduino like the Sound sensor. It cost less than...

Recent Comments