Carte à clic Thermo 22
Carte à clic Thermo 22
Overview
La carte Click Board™ Thermo 22 est une carte complémentaire compacte qui fournit une mesure de température précise. Cette carte est équipée du TMP75C, un capteur de température numérique de haute précision de Texas Instruments. Le TMP75C abrite un capteur de température numérique intégré avec un convertisseur analogique-numérique (ADC) 12 bits, un circuit de référence et des fonctions logiques d'interface série dans un seul boîtier. Caractérisé par sa haute précision (jusqu'à ±0,25 °C en général) et sa haute résolution de 0,0625 °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 22 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 22 Click Board™ Work?
The Thermo 22 Click Board™ is based on the TMP75C, a digital temperature sensor optimal for thermal management and thermal protection applications from Texas Instruments. This temperature sensor is characterized by high accuracy; temperature range of 0°C to +70°C provides typical ±0.25°C accuracy. The temperature sensing device for the TMP75C is the chip itself. A bipolar junction transistor inside the chip is used in a band-gap configuration to produce a voltage proportional to the chip temperature. The voltage is digitized and converted to a 12-bit temperature result in degrees Celsius, with a resolution of 0.0625°C.
The default operational mode of the TMP75C is Continuous-Conversion mode (CC), where the ADC performs continuous temperature conversions and stores each result to the temperature register, overwriting the result from the previous conversion. After the Power-Up cycle, the TMP75C immediately starts a conversion. Alongside CC mode, it also has Shutdown and One-shot modes, which reduces power consumption in the TMP75C when continuous temperature monitoring is not required, typically less than 0.3μA.
The Thermo 22 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings. Besides, it also allows the choice of the least significant bit of its I2C slave address by positioning the SMD jumpers labelled as ADDR SEL to an appropriate position marked as 0 and 1. This way, the TMP75C provides the opportunity of the eight possible different I2C addresses by positioning the SMD jumper to an appropriate position. In addition to I2C communication, it also uses an interrupt pin routed to the INT pin of the mikroBUS™ socket, representing the programmable temperature limit feature and alert that allows the sensor to operate as a stand-alone thermostat or an overtemperature alarm for system shutdown.
The Thermo 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 | The Thermo 22 Click Board™ can be used for thermal management and protection of various consumer, industrial, and environmental applications |
On-board modules | TMP75C - digital temperature sensor from Texas Instruments |
Key Features | Low power consumption, high precision, overtemperature alert with programmable trip values, shutdown and one-shot mode, high accuracy, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout of the Thermo 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 | INT | 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 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1-JP3 | ADDR SEL | Left | I2C Address Selection 1/0: Left position 1, Right position 0 |
THERMO 22 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Temperature Accuracy | - | ±0.25 | ±1 | °C |
Temperature Resolution | - | 0.0625 | - | °C |
Operating Temperature Range | -55 | +25 | +120 | °C |
Software Support
We provide a library for the Thermo 22 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 22 Click Board™ driver.
Key functions
-
thermo22_read_temperature
This function reads the temperature data in Celsius. -
thermo22_set_temperature_high_limit
This function sets the temperature high limit at which the overtemperature alert flag is being set. -
thermo22_get_int_pin
This function returns the INT pin logic state which indicates the overtemperature alert.
Example Description
This example demonstrates the use of the Thermo 22 Click Board™ by reading and displaying the temperature measurements.
void application_task ( void )
{
float temperature;
if ( THERMO22_OK == thermo22_read_temperature ( &thermo22, &temperature ) )
{
log_printf ( &logger, " Temperature: %.2f C rnn", temperature );
if ( !thermo22_get_int_pin ( &thermo22 ) )
{
log_printf ( &logger, " Over temperature alert! rnn" );
}
Delay_ms ( 200 );
}
}
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.Thermo22
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 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 Thermo 22 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 22 Click Board™ driver.
Key functions
-
thermo22_read_temperature
This function reads the temperature data in Celsius. -
thermo22_set_temperature_high_limit
This function sets the temperature high limit at which the overtemperature alert flag is being set. -
thermo22_get_int_pin
This function returns the INT pin logic state which indicates the overtemperature alert.
Example Description
This example demonstrates the use of the Thermo 22 Click Board™ by reading and displaying the temperature measurements.
void application_task ( void )
{
float temperature;
if ( THERMO22_OK == thermo22_read_temperature ( &thermo22, &temperature ) )
{
log_printf ( &logger, " Temperature: %.2f C rnn", temperature );
if ( !thermo22_get_int_pin ( &thermo22 ) )
{
log_printf ( &logger, " Over temperature alert! rnn" );
}
Delay_ms ( 200 );
}
}
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.Thermo22
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 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.