Tuesday, October 20, 2020
Home Arduino Strarter Kit LM-35 | TEMPERATURE SENSOR

LM-35 | TEMPERATURE SENSOR

LM-35 is an analog sensor. The small chip IC is one of the cheapest sensors with high accuracy. As Arduino has ADC function we can easily interface with it.
USA purchase link
UK purchase link
Germany purchase link

 

Specifications:

  • Calibrated Directly in Celsius (Centigrade)
  • Linear + 10-mV/°C Scale Factor
  • 0.5°C Ensured Accuracy (at 25°C)
  • Rated for Full −55°C to 150°C Range
  • Suitable for Remote Applications
  • Low-Cost Due to Wafer-Level Trimming
  • Operates From 4 V to 30 V
  • Less Than 60-µA Current Drain
  • Low Self-Heating, 0.08°C in Still Air
  • Non-Linearity Only ±¼°C Typical
  • Low-Impedance Output, 0.1 Ω for 1-mA Load

How does the LM-35 work :

The module works on an output voltage linearly proportional to the Celsius temperature, as a result, there is no need to subtract a large constant. It consists of two transistors. One of them has ten times the emitter area of the other. Therefore, it has one-tenth of the present capacity because all transistors are carrying the same present. As a result voltage across the R1 resistor that is proportional to the absolute temperature and is almost constant across the range.

 

LM-35 Pin Configuration :

LM 35 has three pins

  • Vcc
  • Output
  • GND

Arduino Wiring :

Firstly, pin 1 of the sensor goes into the +5V of the Arduino.

Secondly, pin 2 of the LM35 goes into analog pin A1 of the Arduino.

Lastly, pin 3 of the LM35 goes into the  GND of the Arduino.

Arduino Code:

const int lm35_pin = A1;	/* LM35 Ooutput pin */

void setup() {
  Serial.begin(9600);
}

void loop() {
  int temp_adc_val;
  float temp_val;
  temp_adc_val = analogRead(lm35_pin);	/* Read Temperature */
  temp_val = (temp_adc_val * 4.88);	/* Convert adc value to equivalent voltage */
  temp_val = (temp_val/10);	/*output*/
  Serial.print("Temperature = ");
  Serial.print(temp_val);
  Serial.print(" Degree Celsius\n");
  delay(1000);
}

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

KY-032 | OBSTACLE AVOIDANCE SENSOR

The KY-032 obstacle avoidance sensor is an infrared obstacle avoidance sensor. It comes with the 37 in 1 starter kit for Arduino. It helps...

HIH-4000 | Humidity Sensors

The HIH-4000  sensors are one of the highly efficient humidity sensors you can buy. The HIH-4000 is an analog humidity sensor. It is useful...

KY-026 | ARDUINO FLAME IR SENSOR

The KY-026 Arduino Flame Sensor is a low-cost starter sensor. It normally comes in the starter kit of Arduino like the ky-039. It can...

KY-039 | ARDUINO HEARTBEAT SENSOR

The KY-039 Heartbeat sensor is one of the cheapest sensors to get a start on Arduino like the Sound sensor. It cost less than...

Recent Comments