Digital Thermometer with LM35

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

By Stefan_Hermann
Created on September 12, 2011, 12:52

Category: Analog

Difficulty: kids

License:  Creative Commons Attribution 3.0 Unported License

Tags: temperature, sensor, temp, degree, heath, analog, sensing, cold, fritzing, starter, kit

Files

Comments

  1. xomz # Feb. 7, 2012, 7:19 p.m.

    how i can get it working with negative temperatures?
  2. 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;

Login to post a comment...
  • Print this
© 2007 - 2011 University of Applied Sciences Potsdam