Electronic Components Datasheet Search
  English  ▼

X  

AN3397 Datasheet(PDF) 18 Page - STMicroelectronics

Part # AN3397
Description  Temperature sensor example using the STM8L-DISCOVERY board
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3397 Datasheet(HTML) 18 Page - STMicroelectronics

Back Button AN3397 Datasheet HTML 14Page - STMicroelectronics AN3397 Datasheet HTML 15Page - STMicroelectronics AN3397 Datasheet HTML 16Page - STMicroelectronics AN3397 Datasheet HTML 17Page - STMicroelectronics AN3397 Datasheet HTML 18Page - STMicroelectronics AN3397 Datasheet HTML 19Page - STMicroelectronics AN3397 Datasheet HTML 20Page - STMicroelectronics AN3397 Datasheet HTML 21Page - STMicroelectronics AN3397 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 24 page
background image
Software description
AN3397
18/24
Doc ID 018809 Rev 1
3.2.2
User calibration routine flowchart
The user calibration routine performs the ADC measurement (see Section 2.4.3: Calibration
technique) at ambient temperature (VAMBIENT) and calculates the average slope. These
values are stored in the Data EEPROM.
This routine is automatically launched in temperature sensor Advanced mode when the user
calibration point has not been previously processed. It may also be forced by the user if the
calibration point is to be updated.
Before proceeding to this calibration, the #define Tambient in the main.c file must be
updated with the ambient temperature value of the environment. It is set by default to 25 (for
25 °C).
As shown in Figure 6, the temperature measurement is averaged from 20 acquisition
samples, and the resulting data is stored in the EEPROM to be re-used even after
STM8L-DISCOVERY is powered off.



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