TOP Contributors

  1. MIKROE (2769 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 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 (139375 times)
  2. FAT32 Library (71819 times)
  3. Network Ethernet Library (57153 times)
  4. USB Device Library (47467 times)
  5. Network WiFi Library (43124 times)
  6. FT800 Library (42441 times)
  7. GSM click (29860 times)
  8. mikroSDK (28205 times)
  9. PID Library (26895 times)
  10. microSD click (26225 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: 5 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

PAC1954 Click

0

PAC1954 Click is a compact add-on board that contains an energy monitoring solution. This board features the PAC1954, a four-channel DC power/energy monitor from Microchip Technology. It uses real-time calibration to minimize offset and gain errors with no input filters required for this device.

[Learn More]

MRAM 2 Click

0

MRAM 2 Click is a compact add-on board for applications that must store and retrieve data and programs quickly using a small number of pins.

[Learn More]

ISO ADC click

5

The ISO ADC Click is add-on board current-shunt measurement device with isolated delta-sigma modulator. This Click boardâ„¢ is based on AMC1204BDWR -provide a single-chip solution for measuring the small signal of a shunt resistor across an isolated barrier from Texas Instruments.

[Learn More]