TOP Contributors

  1. MIKROE (2664 codes)
  2. Alcides Ramos (358 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (137131 times)
  2. FAT32 Library (70241 times)
  3. Network Ethernet Library (56131 times)
  4. USB Device Library (46447 times)
  5. Network WiFi Library (42105 times)
  6. FT800 Library (41410 times)
  7. GSM click (29125 times)
  8. mikroSDK (26567 times)
  9. PID Library (26510 times)
  10. microSD click (25501 times)
Libstock prefers package manager

Package Manager

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]

< Back
mikroSDK Library

Remote Temp click

Rating:

5

Author: MIKROE

Last Updated: 2019-08-01

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Temperature & humidity

Downloaded: 2425 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.

No Abuse Reported

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".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

Remote Temp click

Remote Temp click

Native view of the Remote Temp click board.

View full image
Remote Temp click

Remote Temp click

Front and back view of the Remote Temp click board.

View full image

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 :

  • System Initialization - Initializes INT, AND pins, I2C and LOG
  • Application Initialization - Initializes I2C driver, sets range, configures device and sets threshold values
  • Application Task - Executes all 'remotetemp_aux_getXxx()' functions
void applicationTask( )
{
    remotetemp_aux_getFault( );
    remotetemp_aux_getHighLimitStatus( );
    remotetemp_aux_getLowLimitStatus( );
    remotetemp_aux_getThermLimitStatus( );
    remotetemp_aux_getHottestStatus( );
    Delay_ms(500);
}


Additional Functions :

  • remotetemp_aux_getFault( ) - Reads external diode fault register, parses data to get which external diode is in fault and logs that diode
  • remotetemp_aux_getHighLimitStatus( ) - Reads high limit status register, parses data to get which diode crossed high threshold and logs that diode temperature
  • remotetemp_aux_getLowLimitStatus( ) - Reads low limit status register, parses data to get which diode crossed low threshold and logs that diode temperature
  • remotetemp_aux_getThermLimitStatus( ) - Reads therm limit status register, parses data to get which diode crossed therm threshold and logs that diode temperature
  • remotetemp_aux_getHottestStatus( ) - Reads hottest status register, parses data to get hottest diode and logs hottest diode temperature

Other mikroE Libraries used in the example:

  • I2C
  • UART
  • Conversions

Additional notes and informations

Depending on the development board you are using, you may need USB UART clickUSB 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.

ALSO FROM THIS AUTHOR

DAC 9 click

5

DAC 9 Click is a compact add-on board that contains a fully-featured, highly accurate digital-to-analog converter. This board features the DAC80501, a 16-bit voltage-output digital-to-analog converter with precision internal reference from Texas Instruments. It supports both I2C and SPI serial interface and offers a linearity of &lt; 1 LSB.

[Learn More]

LSM6DSL click

0

LSM6DSL click measures linear and angular velocity with six degrees of freedom. It carries the LSM6DSL high-performance 3-axis digital accelerometer and 3-axis digital gyroscope.

[Learn More]

Current 7 click

0

Current 7 Click is a compact add-on board providing a precise and accurate current sensing solution. This board features the INA282, a wide common-mode range, bidirectional, high-accuracy current shunt monitor from Texas Instruments. The INA282 represents a voltage output current shunt monitor that can sense drops across shunts at common-mode voltages from –14 V to +80 V, independent of the supply voltage, which operates in a range from 2.7V up to 18V supply. The zero-drift topology enables high-precision measurements with maximum input offset voltages as low as 70μV. Also, the user is allowed to process the output signal in analog or digital form.

[Learn More]