The MCP9701A is an analog temperature sensor that converts temperature to analog voltage.
Here is the datasheet for this device: https://ww1.microchip.com/downloads/en/DeviceDoc/20001942G.pdf
This project was created to help enigneers, technicians, and hobbyist quicky get the MCP9701A low voltage temperature sensor working in their own projects.
The characteristic equation below should make it easy for you to design your own circuits around this device.
Vout = 0.010664993427881799 * TemperatureInFahrenheit + 0.003439744213177644 * VDD + 0.000021753013902669428 * RL + 0.036892333737057255
The coefficient of determination (r-squared) for this equation is 0.9952001732812471.
NOTE: RL must be entered into the characteristic equation in K ohms.
So, for example, if VDD is 3.30 Vdc, the ambient temperature is 77.0 degrees Fahrenheit, and RL (your equivalent load resistance) is 100K Ohms, then you would expect Vout to be approximately 0.872 Volts.
Vout = 0.010664993427881799 * (77.0) + 0.003439744213177644 * (3.30) + 0.000021753013902669428 * (100) + 0.036892333737057255 = 0.871623284977708946
Vout ~ 0.872 Volts
Besides the limitations listed in the manufacturer's datasheet, below are the ranges used in my tests to derive the characteristic equation shown above. I anticipate adding wider temperature ranges to my tests as time and ambient temperatures permit which in turn will produce tweaks to the characteristic equation. However, I expect the characteristic equation above to be good for any situation in or "near" the domain criterion listed below.
76.8 degrees Fahrenheit <= Ambient Temperature <= 91.0 degrees Fahrenheit
AND
3.128 Vdc <= VDD <= 5.260 Vdc
AND
21.51K Ohm <= RL <= 221.6K Ohm
I used 9 different MCP9701As to acquire the data. 102 different data points were used to determine the characteristic equation.
MCP9701A-E/TO from DigiKey: https://www.digikey.com/en/products/detail/microchip-technology/MCP9701A-E-TO/1212511
MCP9701A-E/TO from Mouser: https://www.mouser.com/ProductDetail/Microchip-Technology-Atmel/MCP9701A-E-TO?qs=RnzODY3cU8u0EUmxN333WQ%3D%3D
MCP9701A-E/TO from Arrow: https://www.arrow.com/en/products/mcp9701a-eto/microchip-technology?q=MCP9701A-E%2FTO
MCP9701A-E/TO from Newark: https://www.newark.com/microchip/mcp9701a-e-to/temperature-sensor-1c-3-to-92/dp/17M0680?ost=mcp9701a-e%2Fto
https://github.com/Joe0x7F/LMT87
The TMP35/TMP36/TMP37 is an unpredictable product. I recommend against ever using it.