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.

Features
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

 

Connection

This was connected the Raspberry Pi GPIO connector

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

 

Code

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

https://github.com/switchdoclabs/SDL_Pi_HDC1000

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

Output

You should see something like this, all going well

 

Links

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

http://www.ti.com/lit/gpn/hdc1080

http://www.ti.com/lit/pdf/snau189

You may also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More