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


October 31, 2017

The HDC2010 is an integrated humidity and temperature sensor that provides high accuracy measurements with very low power consumption, in an ultra-compact WLCSP (Wafer Level Chip Scale Package). The sensing element of the HDC2010 is placed on the bottom part of the device, which makes the HDC2010 more robust against dirt, dust, and other environmental contaminants. The capacitivebased sensor includes new integrated digital features and a heating element to dissipate condensation and moisture.  The device is specified to have a typical relative humidity accuracy of 2% and a typical temperature accuracy of 0.2C.  The HDC2010 small 1.5mmx1.5mm footprint and low supply current of 550nA make it suitable for a number of applications including smart thermostats, smart home assistants, and wearables.

In this tutorial, you will first learn about the HDC2010 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 HDC2010 with the Arduino. A working demonstration of the HDC2010 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 HDC2010 on your own.

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

Product Folder:


Arduino Library:


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