Figure 1017 Analog inputs

MUX. Select

MUX. Select

Analog input channel #0 is an LM-34A temperature sensor used to read temperatures from -50 to 200 P. Using Equation [10.9], the conversion gain is:

[10.30] ConvGain

ConvGain ^

ConvGain = 0.061050

From Equation [10.10], the conversion offset is:

[10.31] ConvOffset

ConvOffset counts =

ConvOffset counts = -307.125 The temperature at the LM34A is given by Equation [10.11] and is:

[10.32] Temperature<,F = (ADCcounts + ConvOffsetcount^ x ConvGain

Temperature^ = (ADCcounts- 307.125^ xOj

061050

Because the LM-34A only needs to be read once per second, the pass counter for the channel will be set to 10 (i.e., 10 X 100 mS scan period).

Was this article helpful?

0 0

Post a comment