Running the demonstration
2.7.7
Thermometer
The STM32F100ZET6 microcontroller has two embedded I
connected to any device supporting the I
(SMBus) mode. An STLM75 (or a compatible device) I
the STM32100E-EVAL board and used to capture the external temperature (-55°C to
+125°C).
When the Thermometer submenu is selected, the message shown in
displayed on the LCD.
Figure 52. Thermometer submenu selected
Once you select the Temperature submenu, the temperature value is displayed in Celsius
and Fahrenheit as shown in
Press any key to return to the Thermometer submenu.
Figure 53. Temperature display
The temperature variations can be monitored easily using the STM32 I2C SMBus feature.
This is managed by the SMBus Alert, which generates a dedicated interrupt to inform the
system that the temperature is out of the selected range. This can be very useful for
systems where the increase of temperature needs an immediate intervention, like in motor
control, medical systems, etc.
If the temperature exceeds the over-limit high value (TEMPERATURE_TOS: Over Limit
Temperature), the SMBus Alert interrupt is generated and the following warning message is
displayed on the LCD screen:
38/49
2
C protocol including the System management bus
Thermometer
Temperature
Return
Figure
53.
Temperature
+xxx.x C
+xxx.x F
Doc ID 18064 Rev 1
2
C peripherals that can be
2
C temperature sensor is mounted on
Figure 52
UM1011
is
Need help?
Do you have a question about the STM32100E-EVAL and is the answer not in the manual?