RTD click is based on MAX31865 resistance to digital converter from Analog Devices, optimized for platinum resistance temperature detectors, or RTD. The click uses the PT100 type platinum probe for temperature measurement. There are four screw terminals on the board, so different PT100 probe types can be used with this design. This click board™ can work with 2, 3 or 4-wire PT100 probe types.
RTD probes are commonly used to measure a range of temperatures between −200°C and 500°C, but the exact value depends on the specific probes used. Features like the 15bit ADC resolution, input terminals overvoltage protection up to ±45V, fault detection, a fast response time of 21mS and the SPI interface, make the RTD click an ideal solution when it comes to the precise measuring of extremely high and low temperatures.
How does it work?
RTD sensors are basically thermosensitive resistors – materials that change the resistance depending on their temperature. In this case, the resistor is a small strip of platinum with a resistance of 100Ω at 0°C – that is why it is called PT100. The RTD measurement is more stable and precise than with most NTC/PTC thermistors, so it is commonly used for measuring temperature in the laboratory and industrial processes.
Measurement probe is connected to the RTD click by using the screw terminals, and it has wires that can be 1m long, which makes possible to measure high temperatures from a safe distance. To successfully measure small differences in the sensor resistance, the signal must be amplified. There is an input signal amplifier before the ADC converter, inside the MAX 31865 IC. Once amplified, the signal goes through the ADC converter and then, this value can be then read through the SPI interface on the mikroBUS™ socket. Since the temperature vs resistance curve of the platinum probes is not ideal, a compensating calculation is done with the functions, contained in the click library. The 15bit ADC can provide the resolution of ±0.3125°C, but the total accuracy of the RTD click is ±0.5°C.
The RTD click can work with several different variations of the RTD probes:
- The 2-wire probe connection can give acceptable results when the RTD is located close to the MAX31865. For the PT100 probes, the series resistance of 0.4Ω causes an error of approximately 1°C. Therefore, as the cable length increases, the error due to cable resistance can become excessive.
- The 3-wire probe connection is a compromise that uses one less conductor than the 4-wire solution. If the cable resistances are well matched, the error due to cable resistance is canceled.
- The 4-wire probe connection eliminates errors due to cable resistance by using separate force and sense leads.
To select proper mode for the type of the connected probe, the SMD jumpers on the click board must be set to a proper position. The jumper settings can be found in the Onboard settings and indicators table, below.
DRDY – Data ready pin is used to signal a ready status to the MCU. This pin will go to a LOW logic state when there is a new conversion result is available in the data register. When a read operation of an RTD resistance data register occurs, DRDY goes to a HIGH logic level. It can be used to trigger an interrupt on the MCU so that the polling of the temperature registers can be avoided.
Specifications
Type
Temperature & humidity
Applications
Measuring a wide range of temperatures in hard to reach places and in hazardous conditions.
On-board modules
RTD click uses Maxim Integrated MAX31865 15bit resistance to digital converter, optimized for platinum resistance temperature detectors (RTD)
Key Features
RTD click can be equipped 2, 3 or 4-wire PT100 RTD probe, measuring wide range of temperatures with the accuracy of ±0.5°C, ±45V overvoltage protection, fast measurement data processing of 21mS, DRDY pin for interrupt triggering…
Interface
GPIO,SPI
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V
Pinout diagram
This table shows how the pinout on RTD click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
PWR | Power LED | – | Power LED indicates that the click is powered on |
J1 | Jumper | Right | For 3-wire probe, connect to the RIGHT position. For 2 or 4-wire probe, connect to the LEFT position |
J2 | Jumper | Soldered | Solder the 0Ω resistor when using the 2 or 3-wire probe, leave open for 4-wire probe |
J3 | Jumper | NC | Solder the 0Ω resistor when using the 2-wire probe, leave open otherwise |
Note: RTD click is set to work with the 3-wire probe by default.
Software Support
We provide a library for the RTD Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Library Description
This library contains API for RTD Click driver.
Key functions
-
rtd_read_register
This function reads data from the chosen register. -
rtd_read_temperature
This function reads data from temperature registers. -
rtd_convert_temperature
This function convert data from temperature registers.
Example Description
This app measures temperature and converts the data to celsius degrees.
void application_task ( void )
{
uint16_t read_value = 0;
float converted_value = 0;
read_value = rtd_read_temperature( &rtd );
converted_value = rtd_convert_temperature( &rtd, read_value, RTD_REF_RESISTANCE_470 );
log_printf( &logger, " Current temperature: %.2f rn", converted_value );
Delay_ms ( 300 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Other MIKROE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Rtd
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.
mikroSDK
This Click board™ is supported with mikroSDK – MIKROE Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
For more information about mikroSDK, visit the official page.