Temp&Hum 24 Click Board
Temp&Hum 24 Click Board
Key Features
- Low power consumption, high accuracy, automotive-grade, covers extended operating humidity and temperature ranges, removable tape cover, fully functional in condensing environment, offset error correction, fast data transfer, alert interrupt, and more
- Based on the HDC3021 - relative humidity and temperature sensor from Texas Instruments
- Can be used for developing various automotive temperature and humidity-related applications
- mikroBUS: I2C Interface
Introducing the Temp&Hum 24 Click Board™: A High-Accuracy Environmental Sensing Solution
Experience unparalleled performance in humidity and temperature measurements with the Temp&Hum 24 Click Board™, a compact add-on board designed to monitor your surroundings with outstanding accuracy. It features the HDC3021, a sophisticated capacitive-based relative humidity and temperature sensor from Texas Instruments, complete with a removable tape cover.
High Accuracy and Resolution for Unmatched Precision
With an impressive accuracy of ±0.5%RH and ±0.1°C over a broad operating temperature range, the HDC3021 sensor delivers high-resolution 16-bit data to your host controller via a configurable I2C interface. Offset Error Correction ensures that the RH sensor maintains its accuracy even after exposure to extreme operating conditions, ageing, and contaminants.
Long-Term Stability and Reliability for a Wide Range of Applications
Trust in the Temp&Hum 24 Click Board™ for your automotive temperature and humidity-related projects, thanks to its long-lasting stability and reliability. This versatile Click board™ is perfect for a variety of applications, from environmental monitoring systems to automotive cabin climate control.
Supported by a mikroSDK-Compliant Library for Easy Development
Take advantage of the mikroSDK-compliant library to streamline your software development process. This library provides a range of functions specifically designed for the Temp&Hum 24 Click Board™, ensuring seamless integration into your projects.
Ready-to-Use and Fully Tested for Your Convenience
The Temp&Hum 24 Click Board™ arrives fully tested and ready for use with any system equipped with a mikroBUS™ socket. Get started today and experience the incredible performance of this innovative environmental sensing solution.
How Does The Temp&Hum 24 Click Board™ Work?
The Temp&Hum 24 Click Board™ is based on the HDC3021. This integrated interface digital sensor incorporates both humidity and temperature sensing elements, an analogue-to-digital converter, calibration memory, and an I2C-compatible interface from Texas Instruments in one package. The sensor performs best when operated within the recommended average temperature and humidity range of 0-50°C and 10-50%RH, with each measurement in a 16-bit format. The HDC3021 also provides excellent measurement accuracy at low power (±0.5%RH and ±0.1°C over a wide operating temperature range).
The HDC3021 measures relative humidity through variations in the capacitance of a polymer dielectric. This sensor has a polyimide tape to cover the opening of the humidity sensor element, which protects it from pollutants that can be produced as part of the manufacturing process. The tape must be removed after the final stages of assembly to measure the relative humidity in the ambient environment accurately. To remove the polyimide tape from the humidity sensor element, TI recommends using an ESD-safe tweezer to grip the adhesive-free tab in the top right corner and slowly peel the adhesive from the top-right corner towards the bottom-left corner in an upward direction. This will help to reduce the risk of scratching the humidity sensor element.
Due to contaminants, the natural ageing of the sensor's polymer dielectric, and exposure to extreme operating conditions resulting in long-term drift, the HDC3021 accuracy can be offset. Thanks to the Offset Error Correction, the RH sensor offset reduces due to ageing, exposure to extreme operating conditions, and contaminants to return the sensor to within accuracy specifications.
This Click board™ communicates with an MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting Fast Mode Plus up to 1MHz. The HDC3021 also has two measurement modes: Trigger-on Demand and Auto Measurement. Trigger-on Demand is a single temperature and relative humidity measurement reading triggered through an I2C command as needed. After the measurement is converted, the sensor remains in Sleep mode until another I2C command is received. Auto Measurement mode is a recurring temperature and relative humidity measurement reading, eliminating the need to repeatedly initiate a measurement request through an I2C command. The HDC3021 wakes from Sleep to measurement mode in this mode based on the selected sampling rate.
Besides, the HDC3021 allows choosing the least significant bit (LSB) of its I2C slave address using the SMD jumpers labelled ADDR SEL. It also possesses an additional interrupt alert signal, routed on the ALR pin of the mikroBUS™ socket, to provide a notification of ambient temperature and relative humidity measurements that violate programmed thresholds and general reset function routed on the RST pin of the mikroBUS™ socket.
The Temp&Hum 24 Click Board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Temperature & humidity |
Applications | It can be used for developing various automotive temperature and humidity-related applications |
On-board modules | HDC3021 - relative humidity and temperature sensor from Texas Instruments |
Key Features | Low power consumption, high accuracy, automotive-grade, covers extended operating humidity and temperature ranges, removable tape cover, fully functional in a condensing environment, offset error correction, fast data transfer, alert interrupt, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout of the Temp&Hum 24 Click Board™ 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 | ||
Reset | RST | 2 | RST | INT | 15 | ALT | Alert Interrupt |
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 |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2-JP3 | ADDR SEL | Left | I2C Address Selection 0/1: Left position 0, Right position 1 |
TEMP&HUM 24 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Recommended Operating Temperature Range | 0 | +25 | +50 | °C |
Recommended Operating Humidity Range | 10 | - | 50 | %RH |
Temperature Accuracy | - | ±0.1 | - | °C |
Humidity Accuracy | - | ±0.5 | - | %RH |
Data Resolution | - | 16 | - | bit |
Software Support
Software Support
We provide a library for the Temp&Hum 24 Click Board™ and a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Temp&Hum 24 Click Board™ driver.
Key functions
-
temphum24_read_temp_and_rh
This function reads the temperature in Celsius and the relative humidity level in percentages. -
temphum24_read_temp_history
This function reads the temperature minimum and maximum values since the beginning of the measurements. -
temphum24_read_rh_history
This function reads the relative humidity minimum and maximum values since the beginning of measurements.
Example Description
This example demonstrates the use of the Temp&Hum 24 Click Board™ by reading the temperature and humidity data.
void application_task ( void )
{
float temp = 0, hum = 0;
if ( TEMPHUM24_OK == temphum24_read_temp_and_rh ( &temphum24, &temp, &hum ) )
{
float min_temp = 0, max_temp = 0;
float min_rh = 0, max_rh = 0;
log_printf ( &logger, " Temperature: %.2f Crn", temp );
if ( TEMPHUM24_OK == temphum24_read_temp_history ( &temphum24, &min_temp, &max_temp ) )
{
log_printf ( &logger, " MIN: %.2f Crn MAX: %.2f Crn", min_temp, max_temp );
}
log_printf ( &logger, "rn Humidity: %.1f %%RHrn", hum );
if ( TEMPHUM24_OK == temphum24_read_rh_history ( &temphum24, &min_rh, &max_rh ) )
{
log_printf ( &logger, " MIN: %.1f %%RHrn MAX: %.1f %%RHrn", min_rh, max_rh );
}
log_printf ( &logger, "----------------------rn" );
Delay_ms ( 1000 );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.TempHum24
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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. UART terminal is available in all MikroE compilers.
MIKROSDK
The Temp&Hum 24 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, that needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Software Support
Software Support
We provide a library for the Temp&Hum 24 Click Board™ and a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Temp&Hum 24 Click Board™ driver.
Key functions
-
temphum24_read_temp_and_rh
This function reads the temperature in Celsius and the relative humidity level in percentages. -
temphum24_read_temp_history
This function reads the temperature minimum and maximum values since the beginning of the measurements. -
temphum24_read_rh_history
This function reads the relative humidity minimum and maximum values since the beginning of measurements.
Example Description
This example demonstrates the use of the Temp&Hum 24 Click Board™ by reading the temperature and humidity data.
void application_task ( void )
{
float temp = 0, hum = 0;
if ( TEMPHUM24_OK == temphum24_read_temp_and_rh ( &temphum24, &temp, &hum ) )
{
float min_temp = 0, max_temp = 0;
float min_rh = 0, max_rh = 0;
log_printf ( &logger, " Temperature: %.2f Crn", temp );
if ( TEMPHUM24_OK == temphum24_read_temp_history ( &temphum24, &min_temp, &max_temp ) )
{
log_printf ( &logger, " MIN: %.2f Crn MAX: %.2f Crn", min_temp, max_temp );
}
log_printf ( &logger, "rn Humidity: %.1f %%RHrn", hum );
if ( TEMPHUM24_OK == temphum24_read_rh_history ( &temphum24, &min_rh, &max_rh ) )
{
log_printf ( &logger, " MIN: %.1f %%RHrn MAX: %.1f %%RHrn", min_rh, max_rh );
}
log_printf ( &logger, "----------------------rn" );
Delay_ms ( 1000 );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.TempHum24
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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. UART terminal is available in all MikroE compilers.
MIKROSDK
The Temp&Hum 24 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, that needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Temp&Hum 24 Click Board
Frequently Asked Questions
Ask a Question-
Is there any software support for the Temp&Hum 24 Click Board™?
Yes, the board is supported by a mikroSDK-compliant library, which includes functions that simplify software development.
-
What is the long-term stability and reliability of the Temp&Hum 24 Click Board™?
The Temp&Hum 24 Click Board™ is designed with long-term stability and reliability in mind, making it suitable for various automotive temperature and humidity-related applications.
-
How does the Temp&Hum 24 Click Board™ handle Offset Error Correction?
The HDC3021 sensor is equipped with Offset Error Correction, which reduces the relative humidity sensor offset caused by ageing, exposure to extreme operating conditions, and contaminants. This feature helps return the device to within its accuracy specifications.
-
What interface does the Temp&Hum 24 Click Board™ use to communicate with the host controller?
The board uses a configurable I2C interface to communicate with the host controller.
-
What is the resolution of the Temp&Hum 24 Click Board™?
The HDC3021 sensor provides 16-bit data to the host controller, offering high resolution measurements.
-
What is the accuracy of the Temp&Hum 24 Click Board™?
The HDC3021 sensor on the board is characterized by its high accuracy, providing ±0.5%RH (relative humidity) and ±0.1°C accuracy over a wide operating temperature range.
-
What sensor is used on the Temp&Hum 24 Click Board™?
The board uses the HDC3021 sensor, an integrated capacitive-based relative humidity and temperature sensor from Texas Instruments.
-
What is the Temp&Hum 24 Click Board™?
The Temp&Hum 24 Click Board™ is a compact add-on board designed to measure the humidity and temperature of the surrounding environment. It features the HDC3021 sensor from Texas Instruments and is ideal for developing various automotive temperature and humidity-related applications.