MOUNTAIN747
- 2nd April 2025, 00:11
The HIH-4000 Humidity Sensors has an output voltage which must be referenced to percent humidity. My DS2438 is reading the voltage output of the humidity sensor. I then need to use a lookdown table to determine the humidity. I have verified the voltage (Volt_humid var word) is a good number going into the lookdown2 module. The problem is that I get 0 on the output of the Lookdown2 (Humidity var word). The table starts at 128 = 15% humidity.
lookdown2 Volt_humid, >[128,132,135,138,141,144,147,150,154,157,160_
,163,166,169,172,176,179,182,185,188,191,194,198_
,201,204,207,210,213,216,220,223,226,229,232,235,2 38_ '32
,241,245,248,251,254,257,260,261,267,270,273_
,276,279,282,285,289,292,295,298,301,304,307,311,3 14,317,320_
,323,326,329,333,336,339,340,345,348,351,354,358,3 64,367,370], Humidity
I cant find any problem with the lookdown2 module and it compiles just fine. Comments please.
lookdown2 Volt_humid, >[128,132,135,138,141,144,147,150,154,157,160_
,163,166,169,172,176,179,182,185,188,191,194,198_
,201,204,207,210,213,216,220,223,226,229,232,235,2 38_ '32
,241,245,248,251,254,257,260,261,267,270,273_
,276,279,282,285,289,292,295,298,301,304,307,311,3 14,317,320_
,323,326,329,333,336,339,340,345,348,351,354,358,3 64,367,370], Humidity
I cant find any problem with the lookdown2 module and it compiles just fine. Comments please.