Programming guide for Open Thermal Probe Sensors for Lego Mindstorms NXT

Hello

I have just bought an Open Thermal Probe Sensors for Lego Mindstorms NXT and I need some more detailed information in how to program to this thermometer in C programming language. I’m aware of the sensor example provided by Dexter Industries, but I need some more implementation info, such as how to handle the raw data from the thermometer and how to convert the temperature to Celsius.

Thanks in advance!

Can you tell us a little more about what you’re trying to do with it?

I just added two datasheets into the github repo for this sensor. Hope that helps!

Could you provide a link to the github repo? :slight_smile:

In the temperature sensor example (DEXTER INDUSTRIES - dTemp test.c) C code from the BrickPi_C-master repo, there is a limited amount of documentation. For example I don’t know what the RtRt25 and why 1023 is subtracted from val and why log is used on lnRtRt25. I just need some more thorough explanation for how the code works and how to customize it?

The code I’m referring to is attached :slight_smile:

Here’s the github repo: https://github.com/DexterInd/DI_LEGO_NXT/tree/master/Thermometer