LM35 temperature sensor
Definition
A temperature is an objective comparative measure of hot or cold. It is measured by a thermometer, Several scales and units exist for measuring temperature, the most common being Celsius (denoted °C; formerly called centigrade), Fahrenheit (denoted °F), and, especially in science, Kelvin (denoted K).
Sensor Output:
Sensor gives linear + 10.0 mV/°C scale factor, as per that we have set the calibration in program Vref=5V ADC Count for 1°C = 10m/(5/1024) = 2.048 Temperature=ADC Count/2.048
Arduino Circuit for Temperature measurement
Arduino Code for Temperature measurement
code
نسخ
اقتباس
عرض
تنزيل
OR you can use LIBRARY : download
code for lib:
code
نسخ
اقتباس
عرض
تنزيل