remotetemp 2.0.0.0
|
Remote Temp Click is a temperature sensing Click boardâ„¢, which features the EMC1833 from Microchip, a specifically designed IC, capable of measuring remote temperature. This option makes Remote Temp click well-suited for monitoring the temperature of a CPU, GPU or FPGA, where the BJT model junction can be a substrate PNP or NPN.
We provide a library for the RemoteTemp 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 form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for RemoteTemp Click driver.
- Initialization function.void remotetemp_cfg_setup ( remotetemp_cfg_t *cfg );
REMOTETEMP_RETVAL remotetemp_init ( remotetemp_t *ctx, remotetemp_cfg_t *cfg );
void remotetemp_default_cfg ( remotetemp_t *ctx );
uint8_t remotetemp_int_get ( remotetemp_t *ctx );
uint8_t remotetemp_an_get ( remotetemp_t *ctx );
uint8_t remotetemp_set_range( remotetemp_t *ctx, uint8_t range_setting );
This application reads remote temperature data.
The demo application is composed of two sections :
Initializes I2C driver, sets range, configures device and sets threshold values.
Executes all 'remotetemp_aux_getXxx()' functions.
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
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. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.