thermo20 2.0.0.0
|
Thermo 20 Click is a compact add-on board that provides an accurate temperature measurement. This board features the TSYS03, a miniature digital temperature sensor that comes up with factory calibrated, highly accurate temperature data from TE Connectivity.
We provide a library for the Thermo20 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 Thermo20 Click driver.
thermo20_cfg_setup
Config Object Initialization function. thermo20_init
Initialization function. thermo20_default_cfg
Click Default Configuration function. thermo20_set_cmd
Send command function. thermo20_start_conversion
Start conversion function. thermo20_get_temperature
Get temperature data function. This example showcases the ability of Thermo 20 Click board to read it's serial number. It can read themperature and measure from -40degC to 120degC.
The demo application is composed of two sections :
Initialization communication modules(I2C, UART). Resets device and read Serial Number.
In span of ~ 1000ms it sends command for adc conversion of temperature, reads ADC value, and calculates temperature in degrees C.
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.