Ks0123 keyestudio EASY plug LM35 Temperature Sensor Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==EASY plug LM35 Temperature Sensor module==
[[image:ks0123图.jpg|thumb|600px|right|Keyestudio EASY plug LM35 Temperature Sensor ]]
<br>[[File:ks0123-1.png|500px|frameless|thumb]]<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.<br>
It is based on semiconductor LM35 temperature sensor. <br>
Note: this module needs to be used together with EASY plug control board.<br>
A temperature sensor is exactly what it sounds like - a sensor used to measure ambient temperature. <br>
It is effective in the range between 0 degree Celsius and 100 degree Celsius. Sensitivity is 10mV per degree Celsius. <br>
The output voltage is proportional to the temperature.<br>
<span style="color: red">'''Note: ''' this module should be used together with EASY plug control board.<br>
<br>


==Features==
* Connector: Easy plug
* Power supply: 5V
* Sensitivity: 10mV per degree Celsius
* Function range: 0℃ to 100℃
<br>


==Specification==
==Technical Details==
* Interface: Easy plug
* Dimensions: 38mm*20mm*18mm
* Sensitivity: 10mV per degree Celcius
* Weight: 4.6g
* Functional range: 0 degree Celsius to 100 degree Celsius
* Size: 38*20mm
* Weight: 5g


<br>
==Connect It Up==
Connect the EASY Plug LM35 temperature sensor to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
<br>[[File:ks0123.jpg|500px|frameless|thumb]]<br>
<br>


==Connection Diagram ==
==Upload the Code==
<br>[[File:ks0123-2.png|500px|frameless|thumb]]<br>
Copy and paste below code to [http://wiki.keyestudio.com/index.php/How_to_Download_Arduino_IDE Arduino IDE] and upload.   
 
 
==Sample Code==
<pre>
<pre>
void setup()
void setup()
{
{
  Serial.begin(9600);//Set Baud Rate to 9600 bps
Serial.begin(9600);//Set Baud Rate to 9600 bps
}
}
void loop()
void loop()
{ int val;
{int val;
  int dat;
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>
==What You Should See==
Done uploading the code, open the serial monitor and set the baud rate to 9600, you should see the analog temperature value.
<br>[[File:ks0123 Result.gif|500px|frameless|thumb]]<br>


<br>
==Resources ==
==Resources ==
 
'''PDF'''<br>
'''PDF'''
 
https://drive.google.com/open?id=1QP4EWzSG3VAbFtpxmHhkULljfKR8jmuV
https://drive.google.com/open?id=1QP4EWzSG3VAbFtpxmHhkULljfKR8jmuV


<br>
==Buy from ==
==Buy from ==
'''Official Website'''
'''Official Website'''<br>
http://www.keyestudio.com/keyestudio-easy-plug-lm35-temperature-sensor-module-for-arduino.html


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


[[category:EASY Plug]]
[[category:EASY Plug]]

Revision as of 11:28, 16 November 2018

Keyestudio EASY plug LM35 Temperature Sensor

Introduction

It is based on semiconductor LM35 temperature sensor.
A temperature sensor is exactly what it sounds like - a sensor used to measure ambient temperature.
It is effective in the range between 0 degree Celsius and 100 degree Celsius. Sensitivity is 10mV per degree Celsius.
The output voltage is proportional to the temperature.
Note: this module should be used together with EASY plug control board.

Features

  • Connector: Easy plug
  • Power supply: 5V
  • Sensitivity: 10mV per degree Celsius
  • Function range: 0℃ to 100℃


Technical Details

  • Dimensions: 38mm*20mm*18mm
  • Weight: 4.6g


Connect It Up

Connect the EASY Plug LM35 temperature sensor to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
thumb

Upload the Code

Copy and paste below code to Arduino IDE and upload.

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);
}


What You Should See

Done uploading the code, open the serial monitor and set the baud rate to 9600, you should see the analog temperature value.
thumb


Resources

PDF
https://drive.google.com/open?id=1QP4EWzSG3VAbFtpxmHhkULljfKR8jmuV


Buy from

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