S19MCP9700A

Temp Analog

Gives a voltage that rises with the temperature.

Loading 3D Drag to orbit · scroll to zoom · double-click to reset

Try it

Touch the sensor

745 mV = 24.5 C780 mV = 28.0 C805 mV = 30.5 C790 mV = 29.0 C

Analog thermometer, 10 mV per degree C, 500 mV at 0 C.

/*
  BuiltByTyler Sensor Kit - S19 TEMP ANALOG (MCP9700A)
  Board: ESP32-WROOM-32 DevKit V1 (30-pin), Arduino-ESP32 core 3.x, "ESP32 Dev Module"

  Reads the MCP9700A analog thermometer: 500 mV at 0 C, +10 mV per C.
  tempC = (millivolts - 500) / 10

  Wiring (module pin -> ESP32 pin):
    GND  -> GND
    VCC  -> 3V3
    AO   -> GPIO 34

  Library: none needed
  Serial Monitor: 115200 baud
*/

#define AO_PIN   34

void setup() {
  Serial.begin(115200);
}

void loop() {
  long sum = 0;
  for (int i = 0; i < 16; i++) {          // average 16 reads to calm the noise
    sum += analogReadMilliVolts(AO_PIN);  // calibrated millivolts
  }
  int mv = sum / 16;
  float tempC = (mv - 500) / 10.0;
  Serial.printf("%d mV = %.1f C\n", mv, tempC);
  delay(1000);
}

Not for sale yet. Planned price $79, shipping included. Join the waitlist and we'll email you once when the kit is ready. Nothing else.