Carte de contrôle de température et d'humidité 24 h/24
Carte de contrôle de température et d'humidité 24 h/24
Key Features
- Faible consommation d'énergie, haute précision, qualité automobile, couvre des plages de température et d'humidité de fonctionnement étendues, couvercle de bande amovible, entièrement fonctionnel dans un environnement de condensation, correction d'erreur de décalage, transfert de données rapide, interruption d'alerte, etc.
- Basé sur le HDC3021 - capteur d'humidité relative et de température de Texas Instruments
- Peut être utilisé pour développer diverses applications automobiles liées à la température et à l'humidité
- mikroBUS : interface I2C
Présentation du Temp&Hum 24 Click Board™ : une solution de détection environnementale de haute précision
Bénéficiez de performances inégalées en matière de mesures d'humidité et de température avec la carte Temp&Hum 24 Click Board™, une carte complémentaire compacte conçue pour surveiller votre environnement avec une précision exceptionnelle. Elle est équipée du HDC3021, un capteur d'humidité relative et de température capacitif sophistiqué de Texas Instruments, accompagné d'un couvercle en ruban amovible.
Haute précision et résolution pour une précision inégalée
Avec une précision impressionnante de ±0,5 % HR et ±0,1 °C sur une large plage de températures de fonctionnement, le capteur HDC3021 fournit des données 16 bits haute résolution à votre contrôleur hôte via une interface I2C configurable. La correction d'erreur de décalage garantit que le capteur HR conserve sa précision même après une exposition à des conditions de fonctionnement extrêmes, au vieillissement et aux contaminants.
Stabilité et fiabilité à long terme pour une large gamme d'applications
Faites confiance au Temp&Hum 24 Click Board™ pour vos projets liés à la température et à l'humidité dans le secteur automobile, grâce à sa stabilité et sa fiabilité à long terme. Ce Click board™ polyvalent est parfait pour une variété d'applications, des systèmes de surveillance environnementale à la climatisation de l'habitacle automobile.
Prise en charge par une bibliothèque compatible mikroSDK pour un développement facile
Profitez de la bibliothèque compatible mikroSDK pour rationaliser votre processus de développement logiciel. Cette bibliothèque fournit une gamme de fonctions spécialement conçues pour le Temp&Hum 24 Click Board™, garantissant une intégration transparente dans vos projets.
Prêt à l'emploi et entièrement testé pour votre confort
Le Temp&Hum 24 Click Board™ est livré entièrement testé et prêt à être utilisé avec tout système équipé d'une prise mikroBUS™. Commencez dès aujourd'hui et découvrez les performances incroyables de cette solution de détection environnementale innovante.
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.
Carte de contrôle de température et d'humidité 24 h/24
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.