Datasheet

The LM35 is a low-cost precision
integrated-circuit temperature sensor,
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.
It has a linear +10.0 mVC scale factor
and less than 60 μA current drain. As it
draws only 60 μA from its supply, it has
very low self-heating, less than 0.1°C
in still air. EasyMx PRO™ v7 for STM32
enables you to get analog readings
from the LM35 sensor in restricted
temperature range from +C to
+150ºC. Board provides a
separate socket (TS2) for
the LM35 sensor in TO-92
plastic packaging. Readings
are done with microcontroller
using single analog input line,
which is selected with DIP switch
SW14. Switch connects the sensor with
PC0 microcontroller pin.
page 35
C29
100nF
1
2
3 4 5 6
7
8
O
N
SW14
PC0 LM35
DATA BUS
R79
100
GND
VOUT
VCC
Figure 21-4: LM35 connected to PC0 pin
EasyMx PRO
v7 for STM32 enables you to get analog readings from the LM35
sensor using PC0 microcontroller pin. The connection is done placing SW14.7
DIP switch to ON position (Figure 21-3). When placing the sensor in the socket
make sure that half-circle on the board’s silkscreen markings matches the
rounded part of the LM35 sensor. If you accidentally connect the sensor the
other way, it can be permanently damaged and you might need to replace it with
another one. During the readings of the sensor, make sure that no other device
uses the selected analog line, because it may interfere with the readings.
Figure 21-1:
LM35 socket
Figure 21-2:
LM35 correctly
placed in socket
Enabling LM35 Sensor
LM35 - Analog
Temperature Sensor
other modules
EasyMx PRO
v7
Figure 21-3:
Enabled SW14.7
DIP switch