Project showcase
Arduino Based Digital Temperature Sensor

Arduino Based Digital Temperature Sensor © GPL3+

This is a temperature tensor that is made using an Arduino UNO and an LM35 sensor which measures the temperature of a given area.

  • 12,447 views
  • 0 comments
  • 11 respects

Components and supplies

About this project

Introduction

The project is a temperature sensor made with an Arduino UNO and LM35 sensor and a few other components. The main aim of the project is to detect the temperature of the surroundings and display it on the LCD.

The working of the project starts with the LM35 sensor that senses the change in temperature of the surrounding, and uses that temperature difference to produce a voltage signal which is processed by the Arduino to give a digital output displaying the temperature of the given surrounding.

Connections

The connections to be made are given below:

  • Connect LCD PIN 1 to Ground and PIN 2 to Supply respectively.
  • Connect LCD PIN 3 to the 10K Potentiometer and connect rest of the terminals to the ground.
  • Connect LCD PIN 15 to Ground and PIN 16 to Supply respectively.
  • Connect LCD PINS D4,D5,D6 and D7 to PINS 5 - 2 of the Arduino.
  • Connect LCD PIN 4(RS) to PIN 7 of the Arduino.
  • Connect LCD PIN 5(RW) to Ground.
  • Connect LCD PIN 6(E) to PIN 6 of the Arduino.
  • Attach the LM35 to the Bread Board.
  • Take the output of the LM35 i.e. PIN 2 of the LM35 and connect it to the Analog Input Ao of the Arduino.
  • The Rest of the Connections made are to connect the Two Breadboards together.

Connections

Video

Code

ArduinobasedDTS_7Arduino
It is the code that is to be uploaded into the Arduino UNO after which it is placed in the circuit.
#include<LiquidCrystal.h>
LiquidCrystal lcd(7,6,5,4,3,2);

const int Sensor = A0; 
byte degree_symbol[8] = 
              {
                0b00111,
                0b00101,
                0b00111,
                0b00000,
                0b00000,
                0b00000,
                0b00000,
                0b00000
              };
void setup()
{
  pinMode(Sensor, INPUT);
  lcd.begin(16,2);
  lcd.createChar(1, degree_symbol);
  lcd.setCursor(0,0);
  lcd.print("    Digital    ");
  lcd.setCursor(0,1);
  lcd.print("  Thermometer   ");
  delay(4000);
  lcd.clear();
}
void loop()
{
  
     float temp_reading=analogRead(Sensor);
     float temperature=temp_reading*(5.0/1023.0)*100;
     delay(10); 
  
    lcd.clear();
    lcd.setCursor(0,0);
    lcd.print("Temperature in C");
    lcd.setCursor(4,1);
    lcd.print(temperature);
    lcd.write(1);
    lcd.print("C");
    delay(1000);
}

Schematics

Schematic Diagram
It is the schematic diagram that displays the connections to be made in the circuit.
Arduino based digital thermometer n5xxyyq7dx

Comments

Similar projects you might like

Arduino Temperature - Humidity - Rain Sensor

Project showcase by Rick_Findus

  • 7,425 views
  • 6 comments
  • 13 respects

Ultrasonic Sensor with Alarm, LCD and Temperature

Project tutorial by MichDragstar

  • 4,645 views
  • 7 comments
  • 19 respects

How To Use DS18B20 Water Proof Temperature Sensor

Project showcase by Team IoTBoys

  • 35,462 views
  • 11 comments
  • 15 respects

DHT11 Humidity + Temperature Sensor with 16x2 LCD display

Project showcase by onatto22

  • 9,063 views
  • 1 comment
  • 17 respects

Temperature sensor

Project tutorial by Grant

  • 12,364 views
  • 6 comments
  • 30 respects

Room temperature sensor with display on Mobile

Project showcase by Kaustubh Agarwal

  • 23,927 views
  • 8 comments
  • 54 respects
Add projectSign up / Login