Has anyone used one of these by any chance?
Humirel Humidity Module Based on HF3223
According to the datasheet, it outputs a frequency corresponding to the humidity. The calculation if gives for the frequency is 9740 - 18*rh
I am running some code as follows
I'm assuming that count 1,1000 will give me a measurement in Hz? I then calculate the humidity from that reading as per the datasheet. I am pretty sure my maths is correct, since the result matches what the datasheet gives in the example look up table.
The problem is - my reading is up in the 90's or eventually goes over 100% when I put it outside, and the weather website says more like 60%!
Has anyone used a similar module? Any idea what I am doing wrong? Do I need to calibrate it...or am I missing something?
Thanks
Toby
Humirel Humidity Module Based on HF3223
According to the datasheet, it outputs a frequency corresponding to the humidity. The calculation if gives for the frequency is 9740 - 18*rh
I am running some code as follows
Code:
setreq m8
count 1,1000,w0
debug rh
w0 = w0 * 2
rh = 9740 - w0 / 18
The problem is - my reading is up in the 90's or eventually goes over 100% when I put it outside, and the weather website says more like 60%!
Has anyone used a similar module? Any idea what I am doing wrong? Do I need to calibrate it...or am I missing something?
Thanks
Toby