thermo25 2.1.0.0
|
Thermo 25 Click is a compact add-on board that accurately measures temperature. This board features the TMP127-Q1, a high-precision digital temperature sensor from Texas Instruments. This SPI-configurable factory-calibrated temperature sensor has a high accuracy of 0.8°C, supporting an ambient temperature range from -55°C to 175°C. It features a 14-bit signed temperature resolution (0.03125 °C per LSB) while operating over a supply range.
We provide a library for the Thermo 25 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for Thermo 25 Click driver.
thermo25_cfg_setup
Config Object Initialization function. thermo25_init
Initialization function. thermo25_check_communication
This function sets the operating mode to shutdown, then reads and verifies the device ID, and switches back to the continuous mode. thermo25_read_temperature
This function reads the temperature measurements in degrees Celsius. thermo25_set_mode
This function sets the device operating mode to shutdown or continuous mode by using SPI serial interface. This example demonstrates the use of Thermo 25 click board by reading and displaying the temperature measurements.
The demo application is composed of two sections :
Initializes the driver and logger, and checks the communication by setting the operating mode to shutdown, reading and verifying the device ID, and switching back to the continuous mode.
Reads the temperature measurement in degrees Celsius and displays the results on the USB UART approximately once per second.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
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 MikroElektronika compilers.