HDC1000 Class
- ID: hdc1000
- Name: HDC1000 Temperature & Humidity Sensor
- Category: temp
- Manufacturer: ti
- Link: http://www.ti.com/lit/ds/symlink/hdc1000.pdf
- Connection: i2c
Description in web-link above: The HDC1000 is a digital humidity sensor with integrated temperature sensor that provides excellent measurement accuracy at very low power. The device measures humidity based on a novel capacitive sensor. The humidity and temperature sensors are factory calibrated. The innovative WLCSP (Wafer Level Chip Scale Package) simplifies board design with the use of an ultra-compact package. The sensing element of the HDC1000 is placed on the bottom part of the device, which makes the HDC1000 more robust against dirt, dust, and other environmental contaminants. The HDC1000 is functional within the full -40 to +125 [degC] temperature range.
Item Index
Methods
HDC1000
-
bus
-
devAddr
Instantiates an HDC1000 object
Parameters:
-
bus
NumberNumber of the used bus
-
devAddr
NumberAddress of the used I2C device
Returns:
checkID
()
Number
Check device_id of sensor
Returns:
0 on succes -1 on error
resetSensor
()
Performs a soft reset of the HDC1000 device to ensure it is in a known state.
sampleData
()
Initiates a temperature/pressure mesasurement and waits to complete.
getHumidity
-
bSampleData
Get the current measured humidity [RH]
Parameters:
-
bSampleData
NumberFlag to read sensor
Returns:
The humidity sensor temp in degC
getTemperature
-
bSampleData
Get the humidity cell temperature [degC]
Parameters:
-
bSampleData
NumberFlag to read sensor
Returns:
The humidity sensor temp in degC