Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3260 Datasheet(PDF) 8 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) 8 Page - STMicroelectronics

Back Button AN3260 Datasheet HTML 4Page - STMicroelectronics AN3260 Datasheet HTML 5Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 24 page
background image
Application description
AN3260
8/24
Doc ID 17836 Rev 1
3.3
Application principle
At application startup, informative messages are displayed on the terminal window and the
user is prompted to enter critical minimum and maximum temperature thresholds.
The LM235 continuously measures the ambient temperature. The analog value is converted
by the STM8S105C6T6 ADC1 every 50 ms at each timer interrupt. To improve temperature
measurement reliability, temperature data are obtained by averaging the first 16 samples
measured after 1 second has elapsed. The resulting data are then compared to the current
minimum and maximum temperature thresholds which can be modified if needed. LD1 is
switched on if the temperature is below the low threshold or exceeds the high threshold
defined by the user.
Once per minute, the last computed average temperature is displayed on the terminal
window together with the critical temperature warning message when relevant.
The minimum and maximum temperatures over one hour period are recorded in the data
EEPROM once per hour and displayed on the terminal window.
Pressing Button1 prompts the user to enter new temperature threshold values.
Pressing Button2 triggers the display on the terminal window of all recorded minimum and
maximum temperatures stored in data EEPROM. LD1 is switched off.
Figure 2 shows the application state diagram and Table 2 describes the actions performed
by the application at each transition. The algorithm that controls the progress of the
execution according to the timer and external events is managed by the State_Machine()
function (see Section 4.3.3: State machine flowchart).



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