Product categories

Have You Seen

B0505S-1WR3 MORNSUN Isolated DC - DC Converter

B0505S-1WR3 MORNSUN Isolated DC - DC Converter

Mornsun B0505S-1WR3 DC-DC Isolated ConverterMORNSUN B0505S 1WR3 1 watt, 5 Volts Isolated DC to DC Po..

Rs.106.20 (inc GST)
Rs.90.00 + GST

SKU: 2969 | DAE663
Stock: 31
XL1509-Adj E1 Buck DC to DC Converter IC (SOP8L Package)

XL1509-Adj E1 Buck DC to DC Converter IC (SOP8L Package)

XL1509-Adj E1 Buck DC to DC Converter IC (SOP8L Package)XL1509-Adj E1 Buck DC to DC Converter IC, Ad..

Rs.25.96 (inc GST)
Rs.22.00 + GST

SKU: 3657 | DAF397
Stock: 100

Arduino Thermometer using LM35 Temperature Sensor



Arduino Thermometer using LM35 Temperature Sensor is a very simple to implement Arduino based project. Its a perfect project if you are a beginner and have just started implementing Arduino projects. 

Circuit Diagram for Arduino Thermometer


In this project we will be displaying temperature in degree Centigrade and Fahrenheit as well. The ambient temperature is sensed using LM35 Temperature sensor which is a linear sensor. LM35 gives linear output of 10mv/°C this output of the sensor is then given to Analog input of Arduino UNO. Which then measures the temperature and displays it on 16x2 Alphanumeric Display in real time. 

Components used for Arduino Thermometer

Implemented Circuit Output


Code for Arduino Thermometer

/*   
 Arduino Thermometer using LM35  
 Tested By Amol Shah from DNA Technology : http://www.dnatechindia.com/  
 To wire your LCD screen to your Arduino, connect the following pins:   
 LCD Pin 6 to digital pin 12   
 LCD Pin 4 to digital pin 11   
 LCD Pin 11 to digital pin 5   
 LCD Pin 12 to digital pin 4   
 LCD Pin 13 to digital pin 3   
 LCD Pin 14 to digital pin 2   
  */  
 #include<LiquidCrystal.h>  
 LiquidCrystal lcd(12,11,5,4,3,2);  
 const int inPin = 0;  
 void setup()  
 {  
  lcd.begin(16,2);  
  lcd.setCursor(0,0);  
  lcd.print(" Thermometer");   
 }  
 void loop()  
 {  
  int value = analogRead(inPin);  
  float millivolts = (value / 1024.0) * 5000;  
  float celsius = millivolts / 10;  
  lcd.setCursor(0,1);  
  lcd.print(celsius);  
  lcd.write(0xdf);  
  lcd.print("C ");  
  lcd.print((celsius * 9)/5 + 32);  
  lcd.write(0xdf);  
  lcd.print("F");  
  delay(1000);  
 }  

 You can Download the working Code from HERE

Written by Amol Shah

Amol Shah

Founder of DNA Technology an Electronic Engineer by choice. Started working on this website as an Hobby and now its a full time venture. Very passionate about Electronics and like to learn new stuff. Want to make DNA Technology one of the best Online Store for Electronics Components in India.
Follow Me Twitter | Facebook | Google Plus | Instagram