Temp&Hum 11 Click-Platine
Temp&Hum 11 Click-Platine
Das Temp&Hum 11 Click Board™ ist ein Click Board™ zur Temperatur- und Feuchtigkeitsmessung, ausgestattet mit dem HDC1080, einem hochpräzisen digitalen Feuchtigkeits- und Temperatursensor. Seine Hauptmerkmale sind der niedrige Stromverbrauch und die mit so viel Energie erreichte Messgenauigkeit. Der HDC1080-Sensor kann die relative Luftfeuchtigkeit (RH) mit einer Genauigkeit von ±2 % erfassen, während die Temperatur mit einer Genauigkeit von bis zu ±0,2 °C erfasst werden kann. Er verfügt über eine 14-Bit-Messauflösung und kann über einen weiten Versorgungsspannungsbereich betrieben werden, sodass er ohne zusätzliche Komponenten mit 5-V- und 3,3-V-MCUs verbunden werden kann
Built with the power consumption in mind, the HDC1080 is an ideal solution for IoT development. A common problem for all humidity sensors is the memory effect or a hysteresis after prolonged exposure to extreme RH values for prolonged periods of time. Therefore, the HDC1080 is equipped with the heating element, reducing this offset and preventing condensation to be formed on the surface of the sensor. Low power consumption and high accuracy make the HDC1080 a perfect solution for various IoT RH and temperature measuring applications, smart homes, HVAC systems, air conditioner remote controllers, etc.
How Does The Temp&Hum 11 Click Board™ Work?
The sensor IC used on the Temp&Hum 11 Click Board™ is the HDC1080, a low power humidity and temperature digital sensor from Texas Instruments. This sensor is factory calibrated to ±2% relative humidity and ±0.2°C temperature accuracy. It has an integrated heating element that is used to evaporate condensation, protecting the sensor that way. This heating element can be simply activated by setting a bit in the appropriate register. In the case when the heater is powered on, the typical current consumption is about 90mA.
Internally, two sensors are connected to the 14-bit ADC section, which can be set to sample measurements with the resolution of 8, 11 or 14 bits, based on the measurement (integration) time. The OTP memory holds the calibration coefficients that are applied to the measured value and the results are stored on the output registers, in the MSB/LSB format. These values are then used in formulas found in the HDC1080 datasheet so that the final temperature or relative humidity data can be calculated.
HDC1080 IC is a very low power consuming device and it can work in two modes: sleep and active (measurement) mode. The device enters the sleep the mode as soon as possible, in order to save power. This makes the HDC1080 suitable to be used for battery-powered applications. In these applications, the HDC1080 can spend most of the time in the sleep mode that has a typical current consumption in the magnitude of nanoamperes. The measurement is triggered after the command is sent over the I2C interface. As soon as the single measurement is finished, the device falls back to a sleep mode. The host should wait for the acquisition to be completed before reading the output registers. However, the Temp&Hum 11 Click Board™ is supported by a library of mikroSDK compatible functions, which simplify the development.
The heating element can be used to reduce the offset which is a common problem for most RH sensors. It also helps with the condensation, evaporating the excess moisture. The current consumption is increased when the heater is on. It can be enabled by configuring the appropriate register, but it won't be actually activated until a measurement is triggered. Therefore, to increase its temperature, measurement frequency should be increased.
The Temp&Hum 11 Click Board™ can be interfaced with both 3.3V and 5V MCUs without the need for any external components. Thanks to the HDC1080 and its support for a wide supply voltage range, the Click board™ can be simply used with any MCU that supports I2C communication.
SPECIFICATIONS
Type | Temperature & humidity |
Applications | The Temp&Hum 11 Click Board™ is a perfect solution for various IoT based RH and temperature measuring applications, smart homes, HVAC systems, air conditioner remote controllers, etc. |
On-board modules | HDC1080, a relative humidity and temperature sensor with I²C Interface, by Texas Instruments. |
Key Features | High accuracy, good linearity, proven reliability, long-term stability, excellent repeatability, low power consumption, etc. |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout on Temp&Hum 11 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | NC | ||
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
TEMP&HUM 11 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Temperature Accuracy (5⁰C - 60⁰C) | - | +/-0.2 | +/-0.4 | °C |
Humidity Accuracy | - | +/-2 | +/-3 | %RH |
Operating temperature | -20 | - | 85 | °C |
Relative Humidity Operating Range | 0 | - | 100 | %RH |
I2C clock frequency | 10 | - | 400 | kHz |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
PWR | PWR | - | Power LED indicator |
JP1 | VCC SEL | Left | Power supply voltage selection: left position 3.3V, right position 5V |
Software Support
We provide a library for the Temp&Hum 11 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library initializes and defines the I2C bus driver and drivers that offer a choice for reads data form register. The library includes function for read Temperature and Relative Huminidy data and function for read device ID, Manufactures ID and Serial ID data. The user also has the function for configuration chip for measurement.
Key Functions
void temphum11_configuration(uint16_t config)
- Functions for configuration device for measurement.float temphum11_getTemperature(uint8_t tempIn)
- Functions for read Temperature data.float temphum11_getHumidity()
- Functions for read Relative Humidity data.
Example Description
The application is composed of the three sections :
- System Initialization - Initialization I2C module.
- Application Initialization - Initializes driver init, test comunication and configuration chip for measurement.
- Application Task - Reads Temperature and Humidity data. This data logs to USBUART every 1500ms.
void applicationTask() { float Temperature; float Humidity; char demoText[ 50 ]; Temperature = temphum11_getTemperature(_TEMPHUM11_TEMP_IN_CELSIUS); FloatToStr(Temperature, demoText); mikrobus_logWrite(" Temperature : ", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_LINE); Humidity = temphum11_getHumidity(); FloatToStr(Humidity, demoText); mikrobus_logWrite(" Humidity : ", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_LINE); mikrobus_logWrite("-----------------", _LOG_LINE); Delay_ms( 1500 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
I2C
UART
Conversions
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Temp&Hum 11 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the Temp&Hum 11 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library initializes and defines the I2C bus driver and drivers that offer a choice for reads data form register. The library includes function for read Temperature and Relative Huminidy data and function for read device ID, Manufactures ID and Serial ID data. The user also has the function for configuration chip for measurement.
Key Functions
void temphum11_configuration(uint16_t config)
- Functions for configuration device for measurement.float temphum11_getTemperature(uint8_t tempIn)
- Functions for read Temperature data.float temphum11_getHumidity()
- Functions for read Relative Humidity data.
Example Description
The application is composed of the three sections :
- System Initialization - Initialization I2C module.
- Application Initialization - Initializes driver init, test comunication and configuration chip for measurement.
- Application Task - Reads Temperature and Humidity data. This data logs to USBUART every 1500ms.
void applicationTask() { float Temperature; float Humidity; char demoText[ 50 ]; Temperature = temphum11_getTemperature(_TEMPHUM11_TEMP_IN_CELSIUS); FloatToStr(Temperature, demoText); mikrobus_logWrite(" Temperature : ", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_LINE); Humidity = temphum11_getHumidity(); FloatToStr(Humidity, demoText); mikrobus_logWrite(" Humidity : ", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_LINE); mikrobus_logWrite("-----------------", _LOG_LINE); Delay_ms( 1500 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
I2C
UART
Conversions
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Temp&Hum 11 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Temp&Hum 11 Click-Platine
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.