tempalarm
2.1.0.0
|
Temp Alarm Click is a compact add-on board that adds temperature alarm functionalities to your project. This board features the PTMP4718, a high-accuracy remote and local temperature sensor from Texas Instruments. This temperature sensor has pin-programmable alert thresholds, with a fault queue for debounce.
We provide a library for the Temp Alarm 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 Temp Alarm Click driver.
tempalarm_cfg_setup
Config Object Initialization function. tempalarm_init
Initialization function. tempalarm_default_cfg
Click Default Configuration function. tempalarm_write_reg
Temp Alarm register writing function. tempalarm_read_remote_temperature
Temp Alarm remote sensor read temperature function. tempalarm_set_alarm_high_limit
Temp Alarm remote sensor set limit high temperature function. This example demonstrates the use of Temp Alarm click board by reading and displaying
the temperature measurements and monitoring it.
The demo application is composed of two sections :
Initializes the driver and sets the Local sensor critical temperature at 30 degC with hysteresis of 1 degC,
and Remote sensor alarm temperature at 30 degC.
Reads the temperature measurement in degrees Celsius and displays the results on the USB UART
approximately once per second. Monitoring alarm and critical state.
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.