The Humidity Bricklet 2.0 can be used to extend the features of Bricks by the capability to measure relative humidity and temperature. The measured humidity can be read out directly in percent and the temperature directly in °C. With configurable events it is possible to react on changing humidity or temperature without polling.
The sensor compensates the measured humidity internally with the current temperature. A heater is integrated into the sensor and it can be turned on through the API. It can be used to dry the sensor in extremely wet environments.
A weather station is a typical application for this sensor. It can also be used in drying applications, environment monitoring etc.
Property | Value |
---|---|
Sensor | HDC1080 |
Current Consumption | 28.5mW (5.7mA at 5V, without heater) |
Relative Humidity (RH) | 0%RH to 100%RH in 0.01%RH steps, 14 bit resolution |
Temperature | -20°C to 85°C in 0.01°C steps, 14 bit resolution |
Accuracy | ±2% (in the range of 20%RH to 60%RH) for humidity ±0.2°C (in the range of 10°C to 50°C) for temperature |
Dimensions (W x D x H) | 25 x 15 x 5mm (0.98 x 0.59 x 0.19") |
Weight | 3g |
To test a Humidity Bricklet 2.0 you need to have Brick Daemon and Brick Viewer installed. Brick Daemon acts as a proxy between the USB interface of the Bricks and the API bindings. Brick Viewer connects to Brick Daemon. It helps to figure out basic information about the connected Bricks and Bricklets and allows to test them.
Connect the Humidity Bricklet 2.0 to a Brick with a Bricklet Cable.
If you connect the Brick to the PC over USB, you should see a new tab named "Humidity Bricklet 2.0" in the Brick Viewer after a moment. Select this tab. If everything went as expected you can now see the measured relative humidity and temperatures as well as a graph that shows both values over time. To test the sensor breath over the sensor. The relative humidity should rise and fall again.
After this test you can go on with writing your own application. See the Programming Interface section for the API of the Humidity Bricklet 2.0 and examples in different programming languages.
A laser-cut case for the Humidity Bricklet 2.0 is available.
The assembly is easiest if you follow the following steps:
Below you can see an exploded assembly drawing of the Temperature Bricklet case:
Hint: There is a protective film on both sides of the plates, you have to remove it before assembly.
If enough liquid water forms on the sensor under condensing conditions, this water can create a leakage path. This leads to erroneous readings. Once this water evaporates the sensor returns to normal functionality. You can use the integrated heater to dry the sensor.
If you want to use the sensor under heavy condensing conditions mount it top side down. If this not suffice protect it e.g by foam.
See Programming Interface for a detailed description.
Language | API | Examples | Installation |
---|---|---|---|
C/C++ | API | Examples | Installation |
C/C++ for Microcontrollers | API | Examples | Installation |
C# | API | Examples | Installation |
Delphi/Lazarus | API | Examples | Installation |
Go | API | Examples | Installation |
Java | API | Examples | Installation |
JavaScript | API | Examples | Installation |
LabVIEW | API | Examples | Installation |
Mathematica | API | Examples | Installation |
MATLAB/Octave | API | Examples | Installation |
MQTT | API | Examples | Installation |
openHAB | API | Examples | Installation |
Perl | API | Examples | Installation |
PHP | API | Examples | Installation |
Python | API | Examples | Installation |
Ruby | API | Examples | Installation |
Rust | API | Examples | Installation |
Shell | API | Examples | Installation |
Visual Basic .NET | API | Examples | Installation |
TCP/IP | API | ||
Modbus | API |