...
The ADC reading was determined using NTC thermistors (unlike MSX, which used thermocouples), and then put through an equation in order to determine the temperature.
Equations
Steinhart–Hart equation
The Steinhart-Hart equation models the resistance of a semiconductor at various temperatures. You can read up on the equation online, but this is the equation of interest (which was taken from the NTCLE100E3 datasheet).
...
where
is the reference resistance of the thermistor taken at room temperature (25 °C)
Voltage-Divider equation
A voltage-divider is a circuit which turns a large voltage into a smaller one, using two resistors in series and an input voltage. This equation states that the output voltage is directly proportional to the input voltage and the ratio of
and
, where
is the fixed resistor, and
is the power supply voltage.
ADC equation
An ADC reports a ratio between
and the supply voltage, using however many bits of resolution.
Mathinline |
---|
body | \text{ADC reading} = \frac{V_o (2 ^ \text{bits of resolution} - 1)}{V_{cc}} |
---|
|
, where
is the system voltage,
is the voltage measured, and
is the value read back from the ADC.
Derivation
The goal is to determine Temperature (T) as a function of the ADC-reading.
...