LM35 Analog Temperature Sensor Module

From Geeetech Wiki
Jump to: navigation, search

Introduction

LM-35.jpg

The Arduino LM35 Linear Temperature Sensor module is based on the semiconductor LM35 temperature sensor. The LM35 Linear Temperature Sensor module can be used to detect ambient air temperature. This sensor is produced by National Semiconductor Corporation and offers a functional range between -40 degree Celsius to 150 degree Celsius. Sensitivity is 10mV per degree Celsius. The output voltage is proportional to the temperature.It is commonly used as a temperature measurement sensors. It includes thermocouples, platinum resistance, thermal resistance and temperature semiconductor chips, which commonly used in high temperature measurement thermocouples. Platinum resistance temperature used in the measurement of 800 degrees Celsius, while the thermal resistance and semiconductor temperature sensor suitable for measuring the temperature of 100-200 degrees or below, in which the application of a simple semiconductor temperature sensor has good linearity and high sensitivity. The LM35 linear temperature sensor and sensor-specific expansion of Arduino board, in combination, can be very easy to achieve

Features

  • Based on the semiconductor LM35 temperature sensor
  • Can be used to detect ambient air temperature

Specification

  • Type: Analog
  • Sensitivity: 10mV per degree Celcius
  • Functional range: -40 degree Celsius to 150 degree Celsius

Usage

LM-35 PIN.jpg LM-35 wiring.jpg

VCC - 5V
GND - GND
S   - Analog pin0

Example code

int potPin = 0;                    
float temperature = 0;              
long val=0;                     
void setup()
{
Serial.begin(9600);
}

void loop ()                     
{
   val=analogRead(potPin);
   temperature = (val*0.0048828125*100);         
   Serial.print("Tep=  ");
   Serial.print(temperature);
   Serial.println(" C");
   delay(500);
 }

How to buy

Click here to buy