Ks0123 keyestudio EASY plug LM35 Temperature Sensor Module
Revision as of 11:10, 24 September 2016 by Keyestudio (talk | contribs) (Created page with "==EASY plug LM35 Temperature Sensor module== <br>500px|frameless|thumb<br> ==Introduction== LM35 Linear Temperature Sensor is based on semiconductor LM3...")
EASY plug LM35 Temperature Sensor module
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
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); }