"CES191" humidity sensor [solved]

Today at 17:59:41
Quote from: UKHeliBob on Today at 16:00:24
From the section of the data sheet that you attached to the first post it appears that the humidity is inversely proportional to the output frequency
that means if i have 33k the humidity should be a value minus that frequency?

No.

If the frequency were directly proportional to the humidity then doubling the humidity would double the frequency. However, it seems that the frequency is inversely proportional to the frequency which means that if the humidity doubles the frequency halves.

The partial data sheet that you posted seems to indicate that at a frequency of 16 KHz the humidity is 76% and that a variation of 25 Hz indicates a humidity variation of 1%

So, if you are getting a frequency of 33 KHz whilst counting every state change the actual frequency is about 16.5 KHz which means that the humidity is about 76 - ((16,500 - 16,000) / 25) which gives a result of about 56% If I am right then you should be able to write a formula based on the one above into which you can put your frequency measurement and derive the humidity.

Bear in mind that I am going on very little information in a foreign language so could be way off beam.