Ks0022 keyestudio LM35 Linear Temperature Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
== keyestudio LM35 Linear Temperature Sensor==
<br>[[File:Ks0022-2.png|500px|frameless|thumb]]<br>
<br>
==Introduction==
==Introduction==
LM35 Linear Temperature Sensor is based on semiconductor LM35 temperature sensor. It can be used to detect ambient air temperature. This sensor offers a functional range among 0 degree Celsius to 100 degree Celsius. Sensitivity is 10mV per degree Celsius. The output voltage is proportional to the temperature.
LM35 Linear Temperature Sensor is based on semiconductor LM35 temperature sensor. It can be used to detect ambient air temperature. <br>
This sensor is commonly used as a temperature measurement sensor. It includes thermocouples, platinum resistance, and thermal resistance and temperature semiconductor chips. The chip is commonly used in high temperature measurement thermocouples. Platinum resistance temperature sensor is used in the measurement of 800 degrees Celsius, while the thermal resistance and semiconductor temperature sensor is suitable for measuring the temperature of 100-200 degrees or below, in which the application of a simple semiconductor temperature sensor is good in linearity and high in sensitivity. The LM35 linear temperature sensor and sensor-specific Arduino shield can be easily combined.
This sensor offers a functional range among 0 degree Celsius to 100 degree Celsius. Sensitivity is 10mV per degree Celsius. The output voltage is proportional to the temperature.<br>
<br>[[File:221.png|500px|frameless|thumb]]<br>
This sensor is commonly used as a temperature measurement sensor. It includes thermocouples, platinum resistance, and thermal resistance and temperature semiconductor chips. <br>
 
The chip is commonly used in high temperature measurement thermocouples. Platinum resistance temperature sensor is used in the measurement of 800 degrees Celsius, while the thermal resistance and semiconductor temperature sensor is suitable for measuring the temperature of 100-200 degrees or below, in which the application of a simple semiconductor temperature sensor is good in linearity and high in sensitivity. The LM35 linear temperature sensor and sensor-specific Arduino shield can be easily combined.
<br>[[File:Ks0022-1.png|500px|frameless|thumb]]<br>


<br>
==Specification==
==Specification==
*Based on the semiconductor LM35 temperature sensor
*Based on the semiconductor LM35 temperature sensor
Line 10: Line 17:
*Sensitivity: 10mV per degree Celcius
*Sensitivity: 10mV per degree Celcius
*Functional Range: 0 degree Celsius to 100 degree Celsius
*Functional Range: 0 degree Celsius to 100 degree Celsius
*Size: 30*20mm
*Weight: 3g


<br>
==Connection Diagram ==
==Connection Diagram ==
<br>[[File:Ks0022.png|700px|frameless|thumb]]<br>


<br>[[File:222.png|500px|frameless|thumb]]<br>  
<br>


==Sample Code ==
==Sample Code ==
<pre>
<pre>
void setup()
void setup()
Line 26: Line 31:
}
}
 void loop()
 void loop()
{  int val;
{  unsigned int val;
    int dat;
    unsigned int dat;
    val=analogRead(0);//Connect LM35 on Analog 0
    val=analogRead(0);//Connect LM35 on Analog 0
    dat=(500 * val) /1024;;
    dat=(500 * val) /1024;
    Serial.print("Temp:"); //Display the temperature on Serial monitor
    Serial.print("Temp:"); //Display the temperature on Serial monitor
    Serial.print(dat);
    Serial.print(dat);
    Serial.println("C");
    Serial.println("C");
    delay(500);
    delay(500);
}</pre>
}
</pre>
 
<br>
 
== Result ==
<br>[[File:Ks0349-39-2.png|800px|frameless|thumb]]<br>
Wire it up as the above diagram and upload well the code to the board, then open the serial monitor and set the baud rate as 9600, finally you will see the current temperature value shown below. The value may be slight difference due to different place and weather.<br>
<br>[[File:Ks0349-39-3.png|600px|frameless|thumb]]<br>
 
<br>
 
==Resources ==
 
* '''Video'''<br>
http://video.keyestudio.com/ks0022/
 
* '''PDF and Code'''<br>
https://fs.keyestudio.com/KS0022
 
<br>
 
==Get One Now==
 
*[https://www.keyestudio.com/free-shippingkeyestudio-lm35-linear-temperature-sensor-module-for-arduino-p0157.html  '''Official Website''' ]
 
*[https://ru.aliexpress.com/store/product/Free-shipping-Keyestudio-LM35-Linear-Temperature-Module-S-ensor-for-Arduino-CE-FCC/4247007_32886092013.html?spm=a2g0v.12010615.8148356.3.1759775aTtUkqa  '''Shop on aliexpress''' ]


==Video==
http://www.keyestudio.com/wp/2016/05/ks0023-keyestudio-18b20-temperature-sensor/


[[Category: Sensor]]
[[Category: Sensor]]

Latest revision as of 14:41, 7 January 2021

keyestudio LM35 Linear Temperature Sensor


thumb


Introduction

LM35 Linear Temperature Sensor is based on semiconductor LM35 temperature sensor. It can be used to detect ambient air temperature.
This sensor offers a functional range among 0 degree Celsius to 100 degree Celsius. Sensitivity is 10mV per degree Celsius. The output voltage is proportional to the temperature.
This sensor is commonly used as a temperature measurement sensor. It includes thermocouples, platinum resistance, and thermal resistance and temperature semiconductor chips.
The chip is commonly used in high temperature measurement thermocouples. Platinum resistance temperature sensor is used in the measurement of 800 degrees Celsius, while the thermal resistance and semiconductor temperature sensor is suitable for measuring the temperature of 100-200 degrees or below, in which the application of a simple semiconductor temperature sensor is good in linearity and high in sensitivity. The LM35 linear temperature sensor and sensor-specific Arduino shield can be easily combined.
thumb


Specification

  • Based on the semiconductor LM35 temperature sensor
  • Can be used to detect ambient air temperature
  • Sensitivity: 10mV per degree Celcius
  • Functional Range: 0 degree Celsius to 100 degree Celsius


Connection Diagram


thumb


Sample Code

void setup()
{
    Serial.begin(9600);//Set Baud Rate to 9600 bps
}
 void loop()
{   unsigned int val;
    unsigned int dat;
    val=analogRead(0);//Connect LM35 on Analog 0
    dat=(500 * val) /1024;
    Serial.print("Temp:"); //Display the temperature on Serial monitor
    Serial.print(dat);
    Serial.println("C");
    delay(500);
}


Result


thumb
Wire it up as the above diagram and upload well the code to the board, then open the serial monitor and set the baud rate as 9600, finally you will see the current temperature value shown below. The value may be slight difference due to different place and weather.

thumb


Resources

  • Video

http://video.keyestudio.com/ks0022/

  • PDF and Code

https://fs.keyestudio.com/KS0022


Get One Now