i am working on humidity and temperature sensor(HSM- 20G). i want to calculate
relative humidity in % using temperature and ADC output because at different temperature the RH(%) will vary. i am unable to figure it out the formula of RH(%).
so please help me out with it.
The simplest way will be to use a lookup table for your humidity adc value, but if you are using C etc then using more complex forumla will be easier than assembler.
You can calibrate the humidity sensor at 70% using the damp salt box method - just google it.
By specification, the sensor (as most usual rH sensors) measures relative humidity independant of temperature. Some
variation can be expected of course, but the manufacturer doesn't tell about a systematic relation. So, if your accuracy requirements
aren't very high, you may want to use the sensor based on the given typical characteristic, without individual calibration. if you
do a calibration, you should be sure, that the accuracy is better than the initial sensor accuracy.
By specification, the sensor (as most usual rH sensors) measures relative humidity independant of temperature. Some
variation can be expected of course, but the manufacturer doesn't tell about a systematic relation.
Some of them gives you a relation to compensate the RH measures at diferent temperatures, as you can see in the datasheet of this one: **broken link removed**.
Take a look at page 2, "Temperature Compensation":
if you are using avr you can check this article, where you would get a complete code + proteus files +c files an discription for the working and calibration process.. Hope that would help http://teeblog.blog.com/archives/404