FACULTY OF ENGINEERING TECHNOLOGY
Lab
01 Temperature sensor
BTE4733
Sensor Technology
Lab Objectives
By the end of this lab, students should be able to:
1. Understand the principle of temperature sensor using LM35
2. Measure the voltage output from the sensor
3. Trigger the output based on the setting temperature using
comparator IC.
Student names Student ID Section
20
Delivery Date:
Rev3_2018
Temperature Sensor using LM35
The LM35 series are precision integrated-circuit temperature sensors, whose output voltage is
linearly proportional to the Celsius (Centigrade) temperature. The LM35 thus has an advantage
over linear temperature sensors calibrated in ° Kelvin, as the user is not required to subtract a large
constant voltage from its output to obtain convenient Centigrade scaling. The LM35 does not
require any external calibration or trimming to provide typical accuracies of ±1⁄4°C at room
temperature and ±3⁄4°C over a full −55 to +150°C temperature range.
Experiment 1: Measure the output signal from LM35
1. Read the LM35 sensor datasheet in Appendix A.
2. Determine the following parameter:
a. Operating voltage : ______________
b. Output signals : ______________
c. Sensing range : ______________
d. Accuracy : ______________
3. Construct the circuit in Figure 1.
Figure 1
4. Measures the voltage output based on room temperature and record your result in Table 1.
5. Apply heat to the sensor until you get the output voltage of 850mV. Calculate the expected
temperature.
Table 1
No. Voltage Temperature
1. 26°C (room)
2. 850mV
2
Experiment 2: Use IC 741 as a comparator to trigger the output at a specific temperature
In non-inverting comparator the reference voltage is applied to the inverting input and the
voltage to be compared is applied to the non-inverting input. Whenever the voltage to be
compared (Vin) goes above the reference voltage, the output of the op-amp swings to positive
saturation (V+) and vice versa. The difference between Vin and Vref, (Vin – Vref) will be a positive
value and is amplified to infinity by the op-amp. Since there is no feedback resistor Rf, the op-amp
is in open loop mode and so the voltage gain (Av) will be close to infinity. So the output voltage
swings to the maximum possible value V+.
1. Construct the circuit in Figure 2
+Vcc
Green
Red
-Vcc
Figure 2
2. Measure the voltage at pin no. 2 (V1).
3. Apply heat to the sensor and measure the voltage at pin no. 3 (V2) when Red LED turns on.
4. Calculate and record the temperature value.
5. Observe the relation between V1, V2 and setting temperature.
6. Adjust the potentiometer to turns on Red led at 75 ºC.
7. Modify the circuit so that it can activate a fan (12V DC Motor) at 75 ºC.
3
Discussion:
a. What is the function of potentiometer in this circuit?
b. What is the output of the comparator if V 1 > V2 ?
c. What is the output of the comparator if V 2 > V1 ?
d. What is the output of the comparator if V1 = V2 ?
e. Briefly describe how we can trigger a 12V DC Motor at a specific temperature.
Submit your report individually within 1 week.
4
APPENDIX A