How does it work?
Thermo 27 Click is based on the TMP114, a digital output temperature sensor from Texas Instruments with increased reliability and improved accuracy specifications optimal for thermal management and protection applications. The TMP114 consists of an internal thermal BJT (factory calibrated on a NIST traceable setup), a high-resolution 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, giving a fully calibrated digital output with outstanding accuracy of up to ±0.3°C and temperature resolution of 0.0078 °C, typical over a temperature range of -10°C to 85°C.
The TMP114 possesses two operational modes: Continuous-Conversion (CC) and Shutdown Mode, designed for thermal management and protection applications. In the CC mode, ADC performs continuous temperature conversions and stores each result in the temperature register, overwriting the result from the previous conversion, while the Shutdown mode reduces power consumption in the TMP114 when continuous temperature monitoring is not required.
This Click board™ communicates with an MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting a high clock frequency operation. The TMP114 also includes an alert status register with individual high and low thresholds along with adjustable hysteresis values., which indicates via the I2C interface when a specific interrupt event occurs that depends on the value of the temperature reading relative to programmable limits.
This Click board™ can be operated only with a 3.3V logic voltage level, while the onboard LDO, the AP7331, ensures that the recommended voltage level powers the TMP114. 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 the thermal management of portable electronics and industrial, consumer, and environmental applications
On-board modules
TMP114 – digital output temperature sensor from Texas Instruments
Key Features
Low power consumption, high precision, I2C interface, factory calibrated, high accuracy and resolution, high reliability and long-term stability, and more
Interface
I2C
Feature
ClickID
Compatibility
mikroBUS™
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V
Pinout diagram
This table shows how the pinout on Thermo 27 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
Thermo 27 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltagee | – | 3.3 | – | V |
Temperature Accuracy | – | ±0.3 | – | °C |
Resolution | – | 16 | – | bits |
Operating Temperature Range | -10 | +25 | +85 | °C |
Software Support
We provide a library for the Thermo 27 Click as well as a demo application (example), developed using Mikroe compilers. The demo can run on all the main Mikroe development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for Thermo 27 Click driver.
Key functions
-
thermo27_write_register
Thermo 27 register writing function. -
thermo27_get_device_id
Thermo 27 get device id function. -
thermo27_read_temp
Thermo 27 get read temperature function.
Example Description
This example demonstrates the use of Thermo 27 Click board™ by reading and displaying the temperature measurements.
void application_task ( void )
{
float temperature;
uint8_t status;
thermo27_get_alert_reg( &thermo27, &status );
if ( THERMO27_DATA_READY_FLAG & status )
{
thermo27_read_temp( &thermo27, &temperature );
log_printf( &logger, " Temperature: %f degC rn", temperature );
log_printf( &logger, " ======================= rn");
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio 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.Thermo27
Additional notes and informations
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 Mikroe compilers.
mikroSDK
This Click board™ is supported with mikroSDK – Mikroe 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.
For more information about mikroSDK, visit the official page.