Temperature and humidity sensor

The HDC1080 is a digital humidity and temperature sensor. The sensor has a high accuracy and a very low power consumption and is therefore ideally suited to the senseBox. The sensors are calibrated ex works and can be used directly.

/images/2020-03-11-sensoren-temperatur-luftfeuchte/sensor_temperatur_luftfeuchte.png - Logo

Technical Information

  • “Plug-in-and-Go” senseBox compatible
  • Relative humidity (RH) Operating range 0% to 100%.
  • 14 bit measurement resolution
  • Relative humidity Accuracy ±4
  • Temperature accuracy ±0.2°C
  • 2100nA Power supply
  • Operating voltage 2.7 V to 5.5 V
  • I2C interface

Programming (Arduino)

#include "SenseBoxMCU.h"
#include <Adafruit_HDC1000.h>
#include <SPI.h>

HDC1080 hdc;

void setup(){
    Serial.begin(9600);
    hdc.begin();
}

void loop(){
    Serial.print("Temperature: ");
    Serial.println(hdc.getTemperature());
    Serial.print("Humidity: ");
    Serial.println(hdc.getHumidity());
}

Programming (Blockly)

In Blockly the sensor can be read out via the following block:

/images/2020-03-11-sensoren-temperatur-luftfeuchte/block-temperatur-luftfeuchte-en.svg - Logo

In the block you can choose between the different parameters of the temperature and humidity sensor:

  • Temperature in degrees Celsius (°C)
  • Air humidity in percent (%)
×

Subscribe

The latest tutorials sent straight to your inbox.