thermo26 2.1.0.0
|
Thermo 26 Click is a compact add-on board that accurately measures temperature. This board features the STS31-DIS, a high-accuracy digital temperature sensor from Sensirion. Characterized by its high accuracy (up to ±0.2°C typical) and high resolution of 0.01°C, the STS31-DIS provides temperature data to the host controller with a configurable I2C interface. It relies on the industry-proven CMOSens® technology, providing increased intelligence, reliability, and improved accuracy specifications, including enhanced signal processing, user-selectable I2C addresses, and up to 1 MHz communication speeds.
We provide a library for the Thermo 26 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 26 Click driver.
thermo26_cfg_setup
Config Object Initialization function. thermo26_init
Initialization function. thermo26_read_serial_num
This function reads the 32-bit unique serial number. thermo26_start_measurement
This function starts the measurements by sending the specified command. thermo26_read_temperature
This function reads the temperature raw data measurements and converts it to degrees Celsius. This example demonstrates the use of Thermo 26 click board by reading and displaying the temperature measurements.
The demo application is composed of two sections :
Initializes the driver and resets the device, and after that reads the serial number and starts the periodic measurements at 2 mps with high repeatability.
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.