[netmgr], who has similar hardware, realized why I was having trouble with the humidity field. It's not just one field, it's three separate fields that affect humidity! I believe they are two coefficients (I'll call them a and b), and a value. The dummy coefficients I had been sending had resulted in a nonlinear response to changes in value.
Armed with that knowledge, I started adjusting the other values as well. Plugged in a=b=100, sent a range of inputs to the value field, and plotted a (linear, this time) regression in a spreadsheet. Result:
Humidity is expressed as 500 * (161*percent + 1234) / 1983.
It may not seem like much, but it was the last "stumper"!
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
On my box I have a high humidity calibration and a low humidity calibration with values of 2981 and 811, respectively. I'm certain these are not fixed values, but might be good values to plug in when in doubt.
Are you sure? yes | no