TMP36 temperature sensor circuit setup
For this exercise we need:
TMP36 sensor
The TMP36 is temperature sensor created by a company named Analog Devices. It is easy to use and widely available. We get all the technical information about the TMP36 sensor in its datasheet. It is available at: http://www.analog.com/en/mems-sensors/digital-temperature-sensors/tmp36/products/product.html.
TMP36 can measure temperature from -40°C to 125°C with a maximum ±2°C error. It is not good for checking human body temperature because the relative error is large enough to show bad health as good. But it is good in fire alarms, environment control systems, industrial process control systems, and so on. It needs 2.7V to 5.5V as input voltage to function. It gives output voltage 750mV at 25°C temperature. It has an output scale factor of 10mV/°C. So, it gives 0V at -50°C and increases with 10mV/°C. The voltage to Celsius temperature conversion equation for TMP36 is:
Temperature = 100 * Voltage(measured) - 50...