TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (392 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 codes)
  5. Bugz Bensce (97 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 (140532 times)
  2. FAT32 Library (73022 times)
  3. Network Ethernet Library (58018 times)
  4. USB Device Library (48211 times)
  5. Network WiFi Library (43821 times)
  6. FT800 Library (43292 times)
  7. GSM click (30348 times)
  8. mikroSDK (28983 times)
  9. PID Library (27107 times)
  10. microSD click (26708 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

Temp ISO Click

Rating:

0

Author: MIKROE

Last Updated: 2024-12-03

Package Version: 2.1.0.1

mikroSDK Library: 2.0.0.0

Category: Temperature & humidity

Downloaded: 21 times

Not followed.

License: MIT license  

Temp ISO Click is a compact add-on board for accurate and isolated temperature measurements in high-voltage environments. This board features the ISOTMP35-Q1, an automotive-grade isolated temperature sensor with analog output from Texas Instruments. This sensor integrates a robust isolation barrier with a withstand voltage of up to 3000VRMS, a linear analog output with a 10mV/°C slope, and a wide temperature range of –40°C to 150°C. It delivers high accuracy of ±2.0°C, fast thermal response, and is AEC-Q100 qualified, ensuring long-term reliability in demanding conditions. The board also features Click Snap, enabling flexible sensor placement by detaching the PCB for standalone operation.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Temp ISO Click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Temp ISO Click" changes.

Do you want to report abuse regarding "Temp ISO Click".

  • Information
  • Comments (0)

mikroSDK Library Blog


Temp ISO Click

Temp ISO Click is a compact add-on board for accurate and isolated temperature measurements in high-voltage environments. This board features the ISOTMP35-Q1, an automotive-grade isolated temperature sensor with analog output from Texas Instruments. This sensor integrates a robust isolation barrier with a withstand voltage of up to 3000VRMS, a linear analog output with a 10mV/°C slope, and a wide temperature range of –40°C to 150°C. It delivers high accuracy of ±2.0°C, fast thermal response, and is AEC-Q100 qualified, ensuring long-term reliability in demanding conditions. The board also features Click Snap, enabling flexible sensor placement by detaching the PCB for standalone operation.

tempiso_click.png

Click Product page


Click library

  • Author : Stefan Filipovic
  • Date : Sep 2024.
  • Type : ADC type

Software Support

We provide a library for the Temp ISO 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.

Library Description

This library contains API for Temp ISO Click driver.

Standard key functions :

  • tempiso_cfg_setup Config Object Initialization function.

    void tempiso_cfg_setup ( tempiso_cfg_t *cfg );
  • tempiso_init Initialization function.

    err_t tempiso_init ( tempiso_t *ctx, tempiso_cfg_t *cfg );

Example key functions :

  • tempiso_read_temperature This function reads the voltage level from AN pin and converts it to temperature in degrees Celsius.

    err_t tempiso_read_temperature ( tempiso_t *ctx, float *data_out );
  • tempiso_read_voltage_avg This function reads a desired number of ADC samples and calculates the average voltage level.

    err_t tempiso_read_voltage_avg ( tempiso_t *ctx, uint16_t num_conv, float *voltage_avg );
  • tempiso_set_vref This function sets the voltage reference for Temp ISO Click driver.

    err_t tempiso_set_vref ( tempiso_t *ctx, float vref );

Example Description

This example demonstrates the use of Temp ISO Click board by reading and displaying the temperature measurements.

The demo application is composed of two sections :

Application Init

Initializes the driver and logger.


void application_init ( void )
{
    log_cfg_t log_cfg;  /**< Logger config object. */
    tempiso_cfg_t tempiso_cfg;  /**< Click config object. */

    /** 
     * Logger initialization.
     * Default baud rate: 115200
     * Default log level: LOG_LEVEL_DEBUG
     * @note If USB_UART_RX and USB_UART_TX 
     * are defined as HAL_PIN_NC, you will 
     * need to define them manually for log to work. 
     * See @b LOG_MAP_USB_UART macro definition for detailed explanation.
     */
    LOG_MAP_USB_UART( log_cfg );
    log_init( &logger, &log_cfg );
    log_info( &logger, " Application Init " );

    // Click initialization.
    tempiso_cfg_setup( &tempiso_cfg );
    TEMPISO_MAP_MIKROBUS( tempiso_cfg, MIKROBUS_1 );
    if ( ADC_ERROR == tempiso_init( &tempiso, &tempiso_cfg ) )
    {
        log_error( &logger, " Communication init." );
        for ( ; ; );
    }

    log_info( &logger, " Application Task " );
}

Application Task

Reads the temperature measurement in degrees Celsius and displays the results on the USB UART approximately once per second.


void application_task ( void )
{
    float temperature = 0;
    if ( TEMPISO_OK == tempiso_read_temperature ( &tempiso, &temperature ) ) 
    {
        log_printf( &logger, " Temperature: %.1f degC\r\n\n", temperature );
        Delay_ms ( 1000 );
    }
}

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:

  • MikroSDK.Board
  • MikroSDK.Log
  • Click.TempISO

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.


ALSO FROM THIS AUTHOR

RS485 6 click

5

RS485 6 Click is offers a half-duplex RS-485 communication with integrated surge protection, which can be used as an interface between the TTL level UART and the RS485 communication bus. It is based on THVD1429DT, a transceiver from Texas Instruments with signaling rate of up to 20 Mbps.

[Learn More]

Fever Click

0

Fever Click features a specially designed sensor, which is capable of accurate measurement of human body temperature.

[Learn More]

Thermo 4 click

7

THERMO 4 click carries the LM75A digital temperature sensor and thermal watchdog. The sensor has the range from −55 °C to +125 °C. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over I2C interface

[Learn More]