Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3260 Datasheet(PDF) 10 Page - STMicroelectronics

Part # AN3260
Description  Building a thermometer using the STM8S-DISCOVERY
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3260 Datasheet(HTML) 10 Page - STMicroelectronics

Back Button AN3260 Datasheet HTML 6Page - STMicroelectronics AN3260 Datasheet HTML 7Page - STMicroelectronics AN3260 Datasheet HTML 8Page - STMicroelectronics AN3260 Datasheet HTML 9Page - STMicroelectronics AN3260 Datasheet HTML 10Page - STMicroelectronics AN3260 Datasheet HTML 11Page - STMicroelectronics AN3260 Datasheet HTML 12Page - STMicroelectronics AN3260 Datasheet HTML 13Page - STMicroelectronics AN3260 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 24 page
background image
Application description
AN3260
10/24
Doc ID 17836 Rev 1
3.4
Launching your application from the PC terminal
To display the terminal window, you can either run the preconfigured STM8S-
Discovery_Thermometer.ht terminal based on Windows HyperTerminal (COM1 port) or
create one by proceeding as explained in Appendix A.
At application startup, the user is prompted to enter the minimum and maximum
temperature thresholds. The temperature thresholds must range from −40 to +125 °C, and
be expressed as follows:
G
Positive temperature values: ‘+XXX’. For example enter ‘+025’ for 25 °C.
G
Negative temperature values: ‘−XXX’. For example enter ‘−005’ for −5°C.
Figure 3.
Terminal window at startup
Table 3.
Application typical behaviors
Application
state
LED state
Entry
condition
Actions
State 0
Idle
-
Default
state
Every 50 ms: conversion of analog temperature delivered by the
LM235.
State 1
Config
-
At startup
or when
Button 1
pressed
Informative messages displayed on the terminal window.
User prompted to enter for the first time or to update minimum and
maximum temperature threshold.
State 2
Read
LD1 switched off
Button 2
pressed
Minimum and maximum temperature values read from data
EEPROM and displayed on terminal window
State 3
Normal
-
LD1 switched on if
temperature out
of range
-
-
Every 1 s
–Every 1 s:
Computation of average temperature from 16 samples.
Update of current minimum and maximum temperature values if
needed.
– Every 1 min: display of current temperature value and critical
temperature warning message on the terminal window (if need
be).
– Every 1 hr: minimum and maximum temperature over the previous
hour recorded in data EEPROM.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com