# Interface temperature sensor(LM35) with evive

This tutorial discusses how we can interface LM-35 temperature sensor with evive and display the data on the evive tft display .LET’S BEGIN….
Tutorial Info

## Components Required

ImageComponentQuantityAvailable in Kit
evive1
USB A-B Cable1
Male to Male Jumper Cable 20cm3
Temperature Sensor1

# Introduction

In the scorching summer, the generally asked question is what is the temperature ? So, what do we basically understand by temperature?Well the answers to your question lies ahead.

Temperature is the degree (or intensity ) of heat present in a substance. Temperature is one of the most commonly measured parameter in the world, whether it is from Microwave or fridges or AC. Now, to measure the temperature we will use a LM-35 temperature sensor.

LM-35 sensor is a thermocouple which gathers the temperature from the surrounding. The output voltage of the sensor is linearly proportional to its output temperature(in °C). It is a three pin temperature sensor which measures the temperature in the range of -40 °C to +120 °C. The output voltage of the sensor increase 10 mV/°C.

## How does LM-35 sensor work?

The LM-35 sensor gives the voltage in the range of 0 to +1V.Each step in the analog reading which is equal to 1.0742 mV. If 10mV is equal to 1 degree Celcius, 10 / 1.0742 = 9.31. So, for every change of 9.31 in the analog reading, there is one degree of temperature change. Hence the factor or the conversion of the output signal becomes

## Interfacing LM-35 sensor with evive

### Circuit Diagram:

Follow the steps below to connect LM-35 sensor with evive:

1. Take a LM-35 sensor and  3 male to male jumper wires.Insert the temperature sensor in the breadboard as shown in the figure.Insert the three male end of the jumper wires on the breadboard in front of the  three pin of the temperture sensor.
2. Connect the middle pin (yellow jumper wire) to the analog output A0 as shown in the circuit diagram.
3. Take another male to male jumper wire(red jumper wire) and connect the first pin of the temperature sensor.This pin goes to 5V of the evive board.
4. At last connect the last pin of the sensor to the GND button on the evive.The setup is ready.

## Arduino Code:

The following arduino code displays the data read by the sensor on the evive TFT screen.

## OUTPUT

The arduino setup is shown below.

Note: While making the connections with the LM-35 sensor make sure the pins are properly inserted in the breadboard. Sometimes the temperature sensor will show abnormal values.It maybe due to irregularities in the jumper wires.
This helped
This didn't help
Related Projects & Tutorials
How to interface DC motor with Arduino IDE
This tutorial discusses what are DC motors, how to control them, and how to interface them with Arduino IDE using motor control units in evive with the help of an Arduino IDE sketch.
Interfacing Relay with evive
This tutorial explains interfacing of a relay module with evive for controlling high power circuits like AC bulb with help of evive.
Featured Projects
DIY Robotic Arm Bartender

This project will show you how to make your own robotic arm bartender that will make you a star host!