Download User Manual for COP8-REF-AME

Transcript
Description
Reference design for COP8AME
File
User Manual COP8-REF-AME
Prepared
Checked
BC
MK
Status
Proposal
Rev
Project no.
Scale
Date
Page x of x
04-12-01
8.12 Convert_Temp
Convert_Temp
Convert AD value
into voltage
Calculate temperature
accordingly to equation:
é mV ù
Vout [V ] = −8ê
ú * T [°C ] + 1.625[V ]
ë °C û
Binary to BCD
(Bin_Dec)
This routine converts value
read from AD converter
into value in °C units. It is
up to user to write code
that will handle appropriate
accuracy. At the end
temperature value is
converted into separate
digits displayed on LCD.
Location: mathpack.inc
Exit
a brand new world
Page: 25
25 of 26