i am having some troubles with converting a NTC value to a temperature.
The ntc is connected to one of the analog inputs of our emx module. There is a resitor in serie with it of 10K. The ntc also is a 10K type. So this means that it’s resistance is 10K at 25 degrees (celcius). We are measuring between the resistor and the ntc, so at 25 degrees the voltage will be devided in half (half of the supply voltage, which is 3,3v).
Now i am measuring 1,325v. I can calculatie the milli amps that is running through the 10K resitor. With that i can calculate the resistance of the ntc at that moment and that should 7,7K ohms.
But now i need to convert this to a real temperature. All the normal formulas require Log() functions, which the .net micro framework standard doesn’t have. I have tried elzes math libary, but i can’t seem to get it to work…
Anybody that has worked with temperatures in this way before with .net micro? So NTC, or PT1000 & PT100?