BlueDot HDC1080 Low Power Humidity Sensor


Description


The HDC1080DMBR is a high accuracy humidity and temperature sensor from Texas Instruments with a very low power consumption, making the device ideal for battery powered applications. The HDC1080 also includes a voltage supply monitoring and an integrated heater.

 

Here are the board's main features:

  • High Accuracy. Measurement accuracy of up to ±2% accross the range of 20°C and 60°C. The HDC1080 also provides a 14-bit temperature sensor with a measurement accuracy of typically ±0.2°C between 5°C and 60°C.
  • Wide Range Supply Voltage. The sensor operates from 2.7 V and 5.5 V at VCC, dispensing the need of voltage regulation. 
  • Voltage Supply Monitoring. The sensor indicates when the supply voltage is less than 2.8 V, which is useful for battery powered applications.
  • Low Power Consumption. It has a very low power consumption, up to 1.3 µA, which minimizes the impact of self-heating.
  • I2C Communication. The sensor communicates through the I2C protocol using 0x40 as the address.
Get your BlueDot BME280 Board at Amazon!

Technical Data


Technical Data from BME280 Sensor

Assembly


The first step with the HDC1080 Sensor is to solder the 4 pin header that comes along with the board. The easiest way to solder the board is to insert the header into a breadboard (long pins down) and solder the short pins to the board.

Assembly: Breakout Board with header pin
Assembly: Insert header pin into breadboard
Assembly: Solder BlueDot Board to header pin

Connecting via I2C


Connecting the HDC1080 on the I2C bus is very easy. The first step is to connect the board to the power supply.

  • VCC Pin. Connect the VCC pin from the board to either 5V or 3.3V output from your Arduino. 
  • GND Pin. Connect the GND pin from the board to the GND from the Arduino.

Great! Now we need to connect the sensor to the I2C bus. The I2C communication uses basically two wires. The clock signal is generated by the Arduino and transferred to the sensor through the SCL line. The Arduino can send commands to the sensor using the SDA line. Just as well, all data from the sensor goes back to the Arduino through the SDA line. Because of that, the SDA line is bidirectional.

  • SDA Pin. Connect the SDA pin from the board to the SDA line on the Arduino. This corresponds to the pin A4 on the Arduino Uno.
  • SCL Pin. Connect the SCL pin from the board to the SCL line on your Arduino. This corresponds to the pin A5 on the Arduino Uno.
I2C Wiring for BlueDot BME280 Board

Installing Arduino Library


Although there is currently no Arduino Library from BlueDot available for this sensor, you can use the library for the ClosedCube to connect to the HDC1080. You can download and install the library directly from the Arduino IDE. Just open the Arduino IDE and go to Sketch > Include Library > Manage Libraries... and search for the HDC1080 on the Library Manager. You can find this library under the name "ClosedCube HDC1080".

Arduino IDE: Opening Library Manager
Arduino IDE: Installing BlueDot BME280 library


xkcd.com

xkcd: commented

Upload Example-Sketch


After installing the library we can open an example sketch. Just go to File > Examples > ClosedCube HDC1080 and open the sketch hdc1080demo.

Arduino IDE: Uploading sketch example for BME280

 

No changes to the sketch are needed. Just upload the sketch to your microcontroller and you will see the first measurements on the serial monitor.

Get your BlueDot BME280 Board at Amazon!

xkcd.com

xkcd: degrees

Schematics


Schematics for BlueDot BME280 Board

Downloads


Get your BlueDot BME280 Board at Amazon!

xkcd.com

xkcd: lightsaber