Home Code Raspberry Pi and HDC1080 humidity and temperature sensor

Raspberry Pi and HDC1080 humidity and temperature sensor

by shedboy71

The HDC1080 is a digital humidity sensor with integrated temperature sensor that provides excellent measurement accuracy at very low power. The HDC1080 operates over a wide supply range, and is a low cost, low power alternative to competitive solutions in a wide range of common applications. The humidity and temperature sensors are factory calibrated.

Relative Humidity Accuracy ±2% (typical)
Temperature Accuracy ±0.2°C (typical)
Excellent Stability at High Humidity
14 Bit Measurement Resolution
100 nA Sleep Mode Current



This was connected the Raspberry Pi GPIO connector

 Raspberry Pi connection  Module connection
 3v3 3v3
 SDA – Pin 3  SDA
 SCL – Pin 5  SCL



All of the code I found from the following location, this worked perfectly with me


Rather than re-inventing the wheel, download and simply copy to your Raspberry pi and run sudo python testHDC1000.py


You should see something like this, all going well



1PC 2.7 V to 5.5 V HDC1080 high precision temperature and humidity sensor humidity temperature module



You may also like