TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 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 (136723 times)
  2. FAT32 Library (69932 times)
  3. Network Ethernet Library (55939 times)
  4. USB Device Library (46265 times)
  5. Network WiFi Library (41885 times)
  6. FT800 Library (41168 times)
  7. GSM click (28979 times)
  8. PID Library (26412 times)
  9. mikroSDK (26357 times)
  10. microSD click (25357 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

Thermo 15 click

Rating:

5

Author: MIKROE

Last Updated: 2019-07-05

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Temperature & humidity

Downloaded: 3664 times

Not followed.

License: MIT license  

Thermo 15 Click is a Click board equipped with the sensor IC, which can digitize temperature measurements between -55°C and +125°C so that the temperature measurement data can be processed by the host MCU. Thermo 15 click provides an accuracy of ±1°C in the range from 0°C to 70°C.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Thermo 15 click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Thermo 15 click" changes.

Do you want to report abuse regarding "Thermo 15 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

Thermo 15 click

Thermo 15 click

Native view of the Thermo 15 Click board.

View full image
Thermo 15 click

Thermo 15 click

Front and back view of the Thermo 15 Click board.

View full image

Library Description

The library initializes and defines the I2C bus driver and drivers that offer a choice for read data form register. The library includes function for read Temperature data and function for read and set temperature hysteresis and limit. The user also has the function for configuration chip and read Interrupt (INT pin) state.

Key functions:

  • float thermo15_getAmbientTemperatureData(uint8_t tempIn) - Ambient temperature data.
  • void thermo15_setTempRegister(uint8_t tempReg, float temp) - Set temperature register.
  • void thermo15_configuration(uint8_t cfgData) - Configuration register.

Examples description

The application is composed of three sections :

  • System Initialization - Initializes I2C module and sets INT pin as INPUT.
  • Application Initialization - Initializes the driver init, configures the module and reads the temperature hysteresis and limit values that are set.
  • Application Task - Reads ambient temperature data and this data logs to USBUART every 1500ms.
void applicationTask()
{
    float Temperature;
    
    Temperature = thermo15_getAmbientTemperatureData( _THERMO15_TEMP_IN_CELSIUS );
    FloatToStr(Temperature, demoText);
    mikrobus_logWrite("** Temperature : ", _LOG_TEXT);
    mikrobus_logWrite(demoText, _LOG_LINE);
    
    mikrobus_logWrite( " ---------------------------- ", _LOG_LINE);
    
    Delay_ms( 1500 );
}
			

Other mikroE Libraries used in the example:

  • I2C Library.
  • UART Library.
  • Conversions Library.

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.

ALSO FROM THIS AUTHOR

5G NB IoT click

5

5G NB IoT Click is a Click boardâ„¢ based on Gemalto's Cinterion ENS22 NB-IoT Wireless Module platform that boosts highly efficient future 5G connectivity for the IoT.

[Learn More]

STSPIN250 click

0

STSPIN250 click is a brushed DC motor driver with the current limiting and current sensing.

[Learn More]

Buck 5 click

0

Buck 5 Click is a high-efficiency buck (step-down) DC/DC converter, which can provide digitally adjusted step-down voltage on its output while delivering a considerable amount of current. Buck 5 click accepts a wide voltage range on its input - from 5V to 30V.

[Learn More]