![](/images/new-backgrounds/1206875/20687581x1.webp)
3. Next, find m & b:
X1 | = | 0 VDC | ç minimum expected input |
= | 0 A/D counts | at Transducer minimum output | |
X2 | = | 2.0000 VDC | ç maximum allowable input |
= | 20000 A/D counts | at Transducer maximum output | |
Y1 | = | 20.00 %RH | ç choose decimal point = 2 |
=2000 display counts
Y2 | = | 90.00 %RH | ç keep decimal point = 2 |
= | 9000 display counts | [Desired % RH resolution 2 places to right | |
m | = | (Y1 - Y2) / (X1 - X2) | of the decimal point (.01% RH)] |
=(2000 - 9000) / (0 - 20,000)
=0.35000
b = Y2 - (m * X2)
=9000 - (0.350 * 20,000)
=002000
4.Programming for the previous example:
| PRESS 1 |
| PRESS V |
| PRESS YES |
| PRESS 035000 |
| PRESS YES |
| PRESS 002000 |
| PRESS 58 |
| PRESS 2 |
| THE FINAL CHANNEL |
PRESS THE EXIT KEY AND IT IS ECHOED | DESCRIPTION |
|
Figure
u36u |