We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2019-08-01
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Temperature & humidity
Downloaded: 2683 times
Not followed.
License: MIT license
Remote Temp Click is a temperature sensing Click board, which features the EMC1833 from Microchip, a specifically designed IC, capable of measuring remote temperature.
Do you want to subscribe in order to receive notifications regarding "Remote Temp click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Remote Temp click" changes.
Do you want to report abuse regarding "Remote Temp click".
Library Description
Library contains functions for getting states of INT and AN pins Library contains functions for register read and write Library contains functions for setting temperature high and low interrupt thresholds for internal diode and external diodes Library contains functions getting temperature readings on internal diode and external diodes Library contains function for setting temperature range Library contains function for basic device configuration.
Key functions:
uint8_t remotetemp_setRange( uint8_t range_setting )
- sets temperature range (( from 0 to 127 ) or ( from (-64) to 191 )).float remotetemp_getInternalDiode(void)
- reads internal diode registers and calculates temperature value.float remotetemp_getExternalDiode( uint8_t diode )
- reads external diode registers and calculates temperature value.Examples description
The application is composed of three sections :
void applicationTask( )
{
remotetemp_aux_getFault( );
remotetemp_aux_getHighLimitStatus( );
remotetemp_aux_getLowLimitStatus( );
remotetemp_aux_getThermLimitStatus( );
remotetemp_aux_getHottestStatus( );
Delay_ms(500);
}
Additional Functions :
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.