You are reading a single comment by @ltj and its replies. Click here to read the full conversation.
  • You should not use a resistor like the thermistor tutorial suggests. Instead you connect the output pin (white on the Atlas device) on the MCP9701 directly to an ADC pin on the Espruino. The voltage you read is proportional to the temperature. Use the calculations described in the atlas datasheet to get the actual temperature. Just remember that Espruino analogRead returns a resolution-independent number between 0 and 1, and the Aref voltage is 3.3V.


Avatar for ltj @ltj started