Electronic Components Datasheet Search |
|
AN3260 Datasheet(PDF) 8 Page - STMicroelectronics |
|
AN3260 Datasheet(HTML) 8 Page - STMicroelectronics |
8 / 24 page 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). |
Similar Part No. - AN3260 |
|
Similar Description - AN3260 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
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 |