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]
Rating:
Author: MIKROE
Last Updated: 2020-02-09
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Temperature & humidity
Downloaded: 6937 times
Not followed.
License: MIT license
RTD click is based on MAX31865 resistance to digital converter from Maxim Integrated, optimized for platinum resistance temperature detectors, or RTD. The click uses the PT100 type platinum probe for temperature measurement.
Do you want to subscribe in order to receive notifications regarding "RTD click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "RTD click" changes.
Do you want to report abuse regarding "RTD click".
Library Description
This library contains functions for basic reading and writing of the click's registers, as well as temperature conversion function that can convert raw data into degrees Celsius.
Key functions:
Examples Description
The application is composed of three sections:
uint16_t readValue; float convertedValue; char testTxt [20]; readValue = rtd_readTemperature(); convertedValue = rtd_convertTemperature(readValue, _RTD_REF_RESISTANCE_470); floatToStr(convertedValue, testTxt); mikrobus_logWrite("Current temperature: ", _LOG_TEXT ); mikrobus_logWrite(testTxt, _LOG_LINE ); delay_ms(1000);
Other mikroE Libraries used in this example:
Additional notes and information
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.