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:
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.
Connecting the HDC1080 on the I2C bus is very easy. The first step is to connect the board to the power supply.
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.
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".
After installing the library we can open an example sketch. Just go to File > Examples > ClosedCube HDC1080 and open the sketch hdc1080demo.
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.