Thermo 22 Click Board
Thermo 22 Click Board
The Thermo 22 Click Board™ is a compact add-on board that provides an accurate temperature measurement. This board features the TMP75C, a high-precision digital temperature sensor from Texas Instruments. The TMP75C houses an integrated digital temperature sensor with a 12-bit analog-to-digital converter (ADC), a reference circuit, and serial interface logic functions in one package. Characterized by its high accuracy (up to ±0.25°C typical) and high resolution of 0.0625°C, this temperature sensor provides temperature data to the host controller with a configurable I2C interface. This Click board™ is appropriate for thermal management and protection of various consumer, industrial, and environmental applications.
The Thermo 22 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
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.
Thermo 22 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.