The Temperature Sensor LM35 series are precision integrated-circuit temperature devices with an output voltage linearly proportional to the Centigrade temperature.
The LM35 device has an advantage over linear temperature sensors calibrated in Kelvin, as the user is not required to subtract a large constant voltage from the output to obtain convenient Centigrade scaling. The LM35 device does not require any external calibration or trimming to provide typical accuracies of ±¼°C at room temperature and ±¾°C over a full −55°C to 150°C temperature range.
You will need the following components −
Follow the circuit diagram and hook up the components on the breadboard as shown in the image given below.
Open the Arduino IDE software on your computer. Coding in the Arduino language will control your circuit. Open a new sketch File by clicking New.
LM35 sensor has three terminals - Vs, Vout and GND. We will connect the sensor as follows −
The Analog to Digital Converter (ADC) converts analog values into a digital approximation based on the formula ADC Value = sample * 1024 / reference voltage (+5v). So with a +5 volt reference, the digital approximation will be equal to input voltage * 205.
You will see the temperature display on the serial port monitor which is updated every second.
Arduino Related Interview Questions
|IBM-REXX Interview Questions||Flash Interview Questions|
|Computer Hardware Interview Questions||Software Engineering Interview Questions|
|PLC/Microcontrollers/Microprocessors Interview Questions||IBM Integration Bus Interview Questions|
|Continuous Integration Interview Questions||C preprocessor Interview Questions|
|8051 Microcontroller Interview Questions||TCS Technical Interview Questions|
|Wipro Technical Interview Questions||Wipro Java Interview Questions|
|Fieldbus Interview Questions||Universe Designer Interview Questions|
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.