Carte à clic Thermo 24
Carte à clic Thermo 24
Key Features
- Faible consommation d'énergie, haute précision, haute exactitude, convertisseur température-numérique 16 bits, résolution de température de 0,01 °C, interface série compatible I2C, etc.
- Basé sur le STS40 - capteur de température ultra-faible consommation de haute précision de Sensirion
- Peut être utilisé pour la gestion thermique et la protection de diverses applications grand public, industrielles et environnementales
- mikroBUS : interface I2C
Overview
La carte Thermo 24 Click Board™ est une carte complémentaire compacte qui contient la solution de détection de température de 4e génération de Sensirion. Elle comprend le STS40, un capteur de température à très faible consommation d'énergie et de haute précision qui intègre un capteur de température numérique avec un convertisseur analogique-numérique (ADC) 16 bits, un circuit de traitement de données et des fonctions logiques d'interface série dans un seul boîtier. Caractérisé par sa haute précision (jusqu'à ±0,2 °C en moyenne) et sa haute résolution de 0,01 °C, ce capteur de température fournit des données de température au contrôleur hôte avec une interface I2C configurable. Cette carte Click est adaptée à la gestion thermique et à la protection de diverses applications grand public, industrielles et environnementales.
La carte Click™ Thermo 24 est prise en charge 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 Thermo 24 Click Board™ Work?
The Thermo 24 Click Board™ as its foundation uses the STS40, a high-accuracy ultra-low-power 16-bit temperature sensor from Sensirion. This temperature sensor is characterized by high accuracy; temperature range of -40°C to +120°C provides typical ±0.2°C accuracy. It integrates a digital temperature sensor with a 16-bit analog-to-digital converter (ADC), a data processing circuit, and serial interface logic functions in one package. The voltage is digitized and converted to a 16-bit temperature result in degrees Celsius, with a resolution of 0.01°C. The STS40 achieves the most significant cost efficiency among comparable sensors.
The STS40 communicates with MCU using a standard I2C 2-Wire interface. Given that this chip can be found in multiple versions with its own unique I2C slave address, this version, specifically the STS40-AD1B, comes with the slave address of 0x44. Since the sensor for operation requires a 3.3V logic voltage level only, this Click board™ also features the PCA9306 voltage-level translator from Texas Instruments. The I2C interface bus lines are routed to the dual bidirectional voltage-level translator, allowing this Click board™ to work with both 3.3V and 5V MCUs properly.
The Thermo 24 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VIO SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library that contains easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Temperature & humidity |
Applications | The Thermo 24 Click Board™ can be used for thermal management and protection of various consumer, industrial, and environmental applications |
On-board modules | STS40 - high-accuracy ultra-low-power temperature sensor from Sensirion |
Key Features | Low power consumption, high precision, high accuracy, 16-bit temperature-to-digital converter, 0.01°C temperature resolution, I2C compatible serial interface, 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 Thermo 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 | ||
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 | VIO SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
THERMO 24 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Accuracy | - | ±0.2 | - | °C |
Resolution | - | 16 | - | bit |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support
We provide a library for the Thermo 24 Click Board™ as well as 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 MikroE Github account.
Library Description
This library contains API for the Thermo 24 Click Board™ driver.
Key functions
-
thermo24_soft_reset
This function performs the software reset by sending the soft reset command by using I2C serial interface. -
thermo24_read_serial
This function reads the 4-byte chip serial number by using I2C serial interface. -
thermo24_read_temperature
This function reads the temperature in Celsius with the specified measurement precision.
Example Description
This example demonstrates the use of the Thermo 24 Click Board™ by reading and displaying the temperature measurements.
void application_task ( void )
{
float temperature;
if ( THERMO24_OK == thermo24_read_temperature ( &thermo24, THERMO24_MEASURE_PRECISION_HIGH, &temperature ) )
{
log_printf ( &logger, " Temperature: %.2f Crnn", temperature );
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.Thermo24
Additional Notes and Information
Depending on the development board you are using, you may need 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. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The Thermo 24 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 Thermo 24 Click Board™ as well as 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 MikroE Github account.
Library Description
This library contains API for the Thermo 24 Click Board™ driver.
Key functions
-
thermo24_soft_reset
This function performs the software reset by sending the soft reset command by using I2C serial interface. -
thermo24_read_serial
This function reads the 4-byte chip serial number by using I2C serial interface. -
thermo24_read_temperature
This function reads the temperature in Celsius with the specified measurement precision.
Example Description
This example demonstrates the use of the Thermo 24 Click Board™ by reading and displaying the temperature measurements.
void application_task ( void )
{
float temperature;
if ( THERMO24_OK == thermo24_read_temperature ( &thermo24, THERMO24_MEASURE_PRECISION_HIGH, &temperature ) )
{
log_printf ( &logger, " Temperature: %.2f Crnn", temperature );
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.Thermo24
Additional Notes and Information
Depending on the development board you are using, you may need 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. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The Thermo 24 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.