Skip to content

Instantly share code, notes, and snippets.

View JasonParmenter's full-sized avatar

Jason Parmenter JasonParmenter

  • Teton Technology
  • United States
View GitHub Profile
@JasonParmenter
JasonParmenter / MCP9700A.ino
Last active July 29, 2022 10:07
Sample Arduino sketch for reading temperature from MCP9700A sensor
/**
This is a simple example sketch that reads the analog output voltage from the MCP9700A temperature sensor.
Further information about the MCP9700A can be found here:
http://ww1.microchip.com/downloads/en/DeviceDoc/20001942F.pdf
Two methods used in this example: tempF(), tempC() utilizing conversion formula found in the
MCP9700A data sheet.
*****************************************************************
Wiring:
/*
This is a simple example sketch that reads the analog output voltage from the MCP9700A temperature sensor.
Further information about the MCP9700A can be found here:
http://ww1.microchip.com/downloads/en/DeviceDoc/20001942F.pdf
Two methods used in this example: tempF(), tempC() utilizing conversion formula found in the
MCP9700A data sheet.
*****************************************************************
Wiring: