How to interface with HDC1080 humidity and temperature sensor with Arduino using I2C


October 31, 2017

The HDC1080 is a digital humidity sensor with integrated temperature sensor that provides excellent measurement accuracy at very low power.  The device is specified to have a typical relative humidity accuracy of 2% and a typical temperature accuracy of 0.2C.  The HDC1080 small 3mmx3mm footprint and low supply current of 1.3uA make it suitable for a number of applications including HVAC, smart thermostats and handheld meters.

In this tutorial, you will first learn about the HDC1080 device capabilities, and its advantages over other humidity sensors. Then, you will learn how to use I2C to configure and read temperature and humidity from the HDC1080 with the Arduino. A working demonstration of the HDC1080 and the LCD display will be provided to tie it all together. Finally, we will go step-by-step through the code, so that you can reproduce these results with the HDC1080 on your own.

Note: The example code file provided includes the hardware schematic relevant to this tutorial.

Product folder:


Arduino Code:


Additional information

arrow-topclosedeletedownloadmenusearchsortingArrowszoom-inzoom-out arrow-downarrow-uparrowCircle-leftarrowCircle-rightblockDiagramcalculatorcalendarchatBubble-doublechatBubble-personchatBubble-singlecheckmark-circlechevron-downchevron-leftchevron-rightchevron-upchipclipboardclose-circlecrossReferencedashdocument-genericdocument-pdfAcrobatdocument-webevaluationModuleglobehistoryClockinfo-circlelistlockmailmyTIonlineDataSheetpersonphonequestion-circlereferenceDesignshoppingCartstartoolsvideoswarningwiki