LM35 Temperature Sensor
The LM35 is an ideal temperature sensor for measuring ambient temperature. It provides a linear output proportional to the temperature, with 0 V corresponding to 0 degrees C and an output voltage change of 10 mV for each degree C change. LM35s are easier to use than thermistors and thermocouples because they are so linear and require no signal conditioning.
The output of an LM35 can be connected directly to a Arduino analog input. Because the Arduino analog-to-digital converter (ADC) has a resolution of 1024 bits, and the reference voltage is 5 V, the equation used to calculate the temperature from the ADC value is:
temp = ((5.0 * analogRead(TemperaturePin)) / 1024) * 100.0
To display the temperature, we will use a liquid crystal display (LCD).
https://github.com/manghao/LM35
LM35_Sensor-1.0.0.zip

Komentar
Posting Komentar