Talk:Humidity Sensor - HIH-4030 Breakout

The equation converting voltage to humidity in the code comes from the Table 1 of the datasheet: http://www.sparkfun.com/datasheets/Sensors/Weather/SEN-09569-HIH-4030-datasheet.pdf

However, this data appears to conflict with the information in Table 2. It appears there is a pretty decent amount of variation, because the calibrated data example deviates not insignificantly from the Table 1 curve fit. In fact, my sensor seems to correspond better to the Table 2 fit. That aside, I decided to stick with the more generic fit from Table 1, which includes a temperature correction. If your application is sensitive, you should probably calibrate best-fit line yourself.