Comments
Login to post a comment...
A simple use of the LM35 shipped with the Fritzing Starter Kit.
|
This example shows a simple use case of the LM35 temperature sensor. The sensed temperature is displayed with 6 LEDs in a range from 20 – 31°C. Inspired by ladyada http://www.ladyada.net/learn/sensors/tmp36.html pscmpf http://pscmpf.blogspot.com/2008/12/arduino-lm35-sensor.html |
Files |
xomz # Feb. 7, 2012, 7:19 p.m.
how i can get it working with negative temperatures?Stefan Hermann # March 15, 2012, 8:50 a.m.
The LM35 can meassure temperatures from -55 to 150 °C. So you only have to change the Arduino code at int startTemp=20; to something smaller like int startTemp=-10;