Carte de clic Temp&Hum 22
Carte de clic Temp&Hum 22
Key Features
- Faible consommation d'énergie, haute précision, qualité automobile, couvre des plages de température et d'humidité de fonctionnement étendues, chauffage interne, entièrement fonctionnel dans un environnement de condensation, transfert de données rapide, etc.
- Basé sur le SHT41A - capteur d'humidité relative et de température de Sensirion
- Peut être utilisé pour l'automobile et d'autres applications liées à la température et à l'humidité
- mikroBUS : interface I2C
Overview
La Temp&Hum 22 Click est une carte complémentaire compacte représentant des solutions de détection de température et d'humidité. Cette carte comprend le SHT41A, un capteur d'humidité relative et de température de 4e génération de qualité automobile de Sensirion. Le SHT41A se caractérise par sa haute précision (±2 % HR et ±0,3 °C sur une large plage de températures de fonctionnement) et sa haute résolution fournissant des données 16 bits au contrôleur hôte avec une interface I2C configurable. De plus, il est conçu pour un fonctionnement fiable dans des conditions difficiles telles que les environnements de condensation. Cette carte Click™ est parfaitement adaptée aux applications automobiles et autres applications liées à la température et à l'humidité.
La carte Temp&Hum 22 Click Board™ est supportée par une bibliothèque compatible mikroSDK, qui comprend des fonctions qui simplifient le développement logiciel. Cette carte Click™ est un produit entièrement testé, prêt à être utilisé sur un système équipé du socket mikroBUS™.
How Does The Temp&Hum 22 Click Board™ Work?
The Temp&Hum 22 Click Board™ as its foundation uses the SHT41A, high-accuracy automotive-grade 16-bit relative humidity and temperature sensor from Sensirion. The SHT41A builds on a wholly new and optimized CMOS chip offering reduced power consumption, accuracy, and a digital I2C interface for the fastest data transfer. It covers extended operating humidity and temperature ranges from 0 to 100%RH and from -40°C to 125°C with accuracies of ±1%RH and ±0.3°C. The SHT41A's integrated heater allows advanced on-board-diagnostics alongside a reliable operation in harsh conditions such as condensing environments.
The sensor performs best when operated within the recommended average temperature and humidity range of 5-60°C and 20-80%RH. Long-term exposure to conditions outside recommended normal range, especially at high relative humidity, may temporarily offset the RH signal. After returning to the recommended average temperature and humidity range, the sensor will recover to within specifications by itself.
Also, to maximize the over-temperature when using the heater, reduced heat conduction and heat capacity of the mounted sensor is desired. For this reason, the sensor is placed on this Click board™ in a particular position, a piece of a standard PCB with a cutout around the sensor area, increasing the decontamination yield and avoiding excess energy consumption. The PCB layout like this is optimized for minimal thermal heat sink influence.
The Temp&Hum 22 Click Board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Temperature & humidity |
Applications | Can be used for automotive and other temperature and humidity-related applications |
On-board modules | SHT41A - relative humidity and temperature sensor from Sensirion |
Key Features | Low power consumption, high accuracy, automotive-grade, covers extended operating humidity and temperature ranges, internal heater, fully functional in condensing environment, fast data transfer, 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 22 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 | ||
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 |
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 |
TEMP&HUM 22 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Temperature Accuracy | - | ±0.3 | - | °C |
Relative Humidity Accuracy | - | ±2 | - | %RH |
Resolution | - | 16 | - | bit |
Operating Humidity Range | 0 | - | 100 | %RH |
Operating Temperature Range | -40 | +25 | +125 | °C |
Software Support
We provide a library for the Temp&Hum 22 Click Board™ and a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the MikroE Github account.
Library Description
This library contains API for the Temp&Hum 22 Click Board™ driver.
Key functions
-
temphum22_soft_reset
This function performs the software reset by sending the soft reset command. -
temphum22_read_serial_num
This function reads the 4-bytes unique serial number by using I2C serial interface. -
temphum22_read_measurement_high_precision
This function reads the temperature and humidity measurements with high precision.
Example Description
This example demonstrates the Temp&Hum 22 Click Board™ by reading the temperature and humidity data.
void application_task ( void )
{
float temperature, humidity;
if ( TEMPHUM22_OK == temphum22_read_measurement_high_precision ( &temphum22, &temperature, &humidity ) )
{
log_printf ( &logger, " Temperature: %.2f degCrn", temperature );
log_printf ( &logger, " Humidity: %.2f %%RHrnn", humidity );
Delay_ms ( 1000 );
}
}
The complete 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 the MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.TempHum22
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 MikroElektronika compilers.
MIKROSDK
The Temp&Hum 22 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 22 Click Board™ and a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the MikroE Github account.
Library Description
This library contains API for the Temp&Hum 22 Click Board™ driver.
Key functions
-
temphum22_soft_reset
This function performs the software reset by sending the soft reset command. -
temphum22_read_serial_num
This function reads the 4-bytes unique serial number by using I2C serial interface. -
temphum22_read_measurement_high_precision
This function reads the temperature and humidity measurements with high precision.
Example Description
This example demonstrates the Temp&Hum 22 Click Board™ by reading the temperature and humidity data.
void application_task ( void )
{
float temperature, humidity;
if ( TEMPHUM22_OK == temphum22_read_measurement_high_precision ( &temphum22, &temperature, &humidity ) )
{
log_printf ( &logger, " Temperature: %.2f degCrn", temperature );
log_printf ( &logger, " Humidity: %.2f %%RHrnn", humidity );
Delay_ms ( 1000 );
}
}
The complete 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 the MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.TempHum22
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 MikroElektronika compilers.
MIKROSDK
The Temp&Hum 22 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.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.