Electronic Components Datasheet Search
  English  ▼

X  

AN3397 Datasheet(PDF) 14 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) 14 Page - STMicroelectronics

Back Button AN3397 Datasheet HTML 10Page - STMicroelectronics AN3397 Datasheet HTML 11Page - STMicroelectronics AN3397 Datasheet HTML 12Page - STMicroelectronics AN3397 Datasheet HTML 13Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 24 page
background image
Temperature sensor application description
AN3397
14/24
Doc ID 018809 Rev 1
Note:
In any application, a user may decide to make a trade-off and use the V90 datasheet typical
value and the user calibration point to obtain less accurate but nevertheless very good
temperature calculation results.
2.4.3
Calibration technique
The calibration technique is a one-off procedure which must be done when the STM8L-
DISCOVERY is received. It consists of calculating the average slope of the TS, and is
available only when the TS application Advanced mode is selected.
The calibration technique makes use of Equation 5 to calculate the average slope.
The factory calibration value, V90, is obtained from a fixed data address (see Advanced
mode). VAMBIENT is measured during the calibration procedure. To accurately calculate the
average slope, TAMBIENT must be measured using a temperature measuring device such as
a thermometer. The #define Tambient must be updated with the temperature given by
the thermometer.
By default, TAMBIENT (which can be found in the main.c file) is set to 25 °C in the TS
application code.
To start the calibration procedure, press the user push-button for at least 2 s, then release
the button. If calibration is successful, the message ‘CAL-OK’ is displayed on the LCD
screen. If no factory calibrated value is present, or if the present value is out of range (580
mV - 614 mV), the message 'CALERR' is displayed. Press the user push-button again to
continue. When calibration is successful, the value is stored in the Data EEPROM of the
microcontroller. By default, the value is stored as two bytes in the Data EEPROM addresses
0x1000 (MSB) and 0x1001 (LSB).
In Advanced mode, an automatic calibration is performed by the software if no calibration
has been made by the user.
Note:
Automatic calibration may not be accurate because, by default, TAMBIENT is set to 25 °C.



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