Near Intersection of I-35 & I-90 Southern Mn. | Rod Maker - 1/27/2020 18:18
In line with Ted's dead band, a long time between just checking the variables may suffice. Say 30 minutes. I suspect humidity moves enough that it won't be an issue. Humidity is stagnant on days you would not want fans running. To get dry air in the Midwest it takes sunny days. I guess that is kinda relative though.
A resettable fan hour meter would be a must for me.
Having the sketch only check on the temp and humidity status every 30 minutes would prevent the problem I was anticipating of the fans cycling ON/OFF quite often when the values were close to the setpoint.
The millis function can return the time in milliseconds since the Arduino has been reset to handle this. Check the blink without delay example in the IDE to see how this can be used. I think this rolls over at something like 29 days which could be programmed around.
I like your play on words about the humidity being relative. Reminds of the old relative humidity with ones Sister-in-law joke. Not appropriate here. |