You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hi... It looks from the MCP9701 info like the MCP9701 is an 'active' thermistor and outputs a voltage (rather than resistance) so you don't need a resistor at all. Not only that but it's linear.

    The datasheet gives you the formula you need - I don't have one here to test but your code should look something like:

    var vOut = E.getAnalogVRef() * analogRead(A0); // if you attached VOUT to Ao
    var vZero = 0.4;
    var tCoeff =  19.5 / 1000;
    var temp = (vOut - vZero) / tCoeff;

Avatar for Gordon @Gordon started