Other Parts Discussed in Thread: LP-MSPM0L1306
Before wheel reinvention, I wondered if anyone had code, equation or data on the LP-MSPM0L1306 TMP6131 that would calculate temperature?
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.
Before wheel reinvention, I wondered if anyone had code, equation or data on the LP-MSPM0L1306 TMP6131 that would calculate temperature?
Hi Malcolm,
The thermistor design tool contains all of the methods and C code examples for converting ADC measurements to temperature. The LP-MSPM0L1306 uses the voltage divider topology and TI recommends using the 4th order polynomial method for measuring temperature. Check out the '4th order polynomial TMP vs Vdc' tab in the Voltage Bias file of the thermistor design tool for more information:
Best regards,
Simon Rojas
Dear Malcolm -
You can also check the out-of-box demo here -
See thermistor.c for implementation of the TMP6 on that LaunchPad, that includes/uses what is in the thermistor design tool Simon mentions.