How to convert analog value of HR202 to RH

Digital Fiber, Photoelectric, Laser Range, Optical, Temperature, Rotary Encoder, Ultrasonic, Gas, Gyro, Accelerometer, FlexiBend, Flexiforce, Compass......

How to convert analog value of HR202 to RH

Postby ale7beck » Mon Apr 22, 2013 11:24 pm

Is there an equation to convert the analog value to relative humidity in %?
ale7beck
Freshie
 
Posts: 4
Joined: Thu Nov 29, 2012 12:09 am

Re: How to convert analog value of HR202 to RH

Postby shahrul » Tue Apr 23, 2013 9:33 am

In the HR202 have graph resistance over humidity.
In the circuit humidity sensor module it shows have a pull-up 10K. So, it be a voltage divider.

Microcontroller just read analog voltage. Then, from analog voltage convert to resistance using voltage divider formula.
From the resistance convert to humidity. From the tabulated table, you can get the formula by using Curve Fitting.
Ex curve fitting HSM-20G and Maple Curve Fitting.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor


Return to Sensor

Who is online

Users browsing this forum: No registered users and 5 guests

cron