The datasheet you provided contains a chart which converts resistance of the sensor to humidity at a given temperature. You could put that table an array, and then look up and interpolate values based on the value from the temperature sensor which it appears you are missing.
Alternatively, you could generate a function from the values in the table. Spreadsheets graphs and trend lines are helpful for that.
kuhntucker:
Alternatively, you could generate a function from the values in the table. Spreadsheets graphs and trend lines are helpful for that.
I plotted the 25C results against the log of the resistance and found that a 4th order polynomial function fits the data quite well, with an R^2 value of 1. Personally, I'd probably go with the function approach, since I find it more aesthetically pleasing.
hello, I just bought the sensor of HR202.
By the way have anyone had been successful how to get the reading in RH%? I had tried to search from the other sources, but it seems that not many info could get about this sensor.
You could put that table an array, and then look up and interpolate values based on the value from the temperature sensor which it appears you are missing.
This looks like a horrible sensor
First of all - Relative Humidity is, by name, relative to the air temerature.
The reading from this sensor is therefore incomplete, and cannot be used unless you already know the air temperature.
.. And if I read the documentation right, you will have to create a 500-2000 Hz frequenzy at 1.5 volt. And then messure the inductance.
It will cost you about $10 in parts. ...and half the hair on your head
Can I recomend a completely difrent approach to your project?
Alternative 1 : "DHT11 Digital Temperature and Humidity Sensor"
It is close to the range of HR202. It messures temp. and RH. It will give you the calculated RH digitaly over the serial port. It costs about $1.50 on eBay
Alternative 2 : "DHT22/AM2302 Digital Temperature Humidity Sensor"
The same as DHT11. A bit more expensive, but it has a wider range and has better precision. If you want precision, it is worth the extra money.
(1) Avoid polarization, driving voltage or current should be 100% alternative.
(2) Please measure the sensor with LCR alternative-current bridge, don't use multimeter.
This is the naked sensor, you need to build the AC supply, recommend 1.5Vac at 1Khz, and conversion hardware before feeding a signal suitable for the Arduino, eg DC level.