Ks0123 keyestudio EASY plug LM35 Temperature Sensor Module

From Keyestudio Wiki
Revision as of 10:28, 16 February 2017 by Keyestudio (talk | contribs)
Jump to navigation Jump to search

EASY plug LM35 Temperature Sensor module


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.
Note: this module needs to be used together with EASY plug control board.


Specification

  • Interface: Easy plug
  • Sensitivity: 10mV per degree Celcius
  • Functional range: 0 degree Celsius to 100 degree Celsius
  • Size: 38*20mm
  • Weight: 5g


Connection Diagram


thumb


Sample Code

void setup()
{
   Serial.begin(9600);//Set Baud Rate to 9600 bps
}
void loop()
{  int val;
   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);
}

Resources

Datasheet

http://www.keyestudio.com/files/index/download/id/1464156685/

Buy from

http://www.keyestudio.com/keyestudio-easy-plug-lm35-temperature-sensor-module-for-arduino.html