Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] ADS124S08: Is example code available to convert sensor output such as a thermistor, thermocouple or RTD to temperature?

Part Number: ADS124S08
Other Parts Discussed in Thread: ADC-TEMP-SENSOR-FW,

I want to measure temperature using an ADC, but I'm not sure which sensor I should use or how to go about making the measurement.  A thermistor or RTD use resistance and a thermocouple outputs a voltage.  How do I get a temperature from these types of sensors?  Is there information on how to make these measurements and example 'C' code available?

  • There are 4 really good resources available.  For thermocouples I recommend reading a A Basic Guide to Thermocouple Measurements.  For RTDs and thermistors I recommend reading A Basic Guide to RTD Measurements.  Both of these documents show how to connect the sensor to an ADC as well as converting the sensor output to a temperature.  Additional circuit implementations are also included in the Analog Engineer's Circuit Cookbook.

    The fourth resource is example code found in the API library ADC-TEMP-SENSOR-FW.  This API includes conversion calculations for taking sensor output and converting to a temperature.  The API is available for download to either a Windows or Mac PC.  The code examples were written specifically for the ADS124S08, but can be adapted to other ADCs with minimal effort.  The API library can be easily be implemented using Code Composer Studio (CCS) along with the SimpleLink SDK.