|
|
| Author |
Message |
mretallack User

Joined: 30 Mar 2006
Posts: 2
|
Posted: Thu Mar 30, 2006 7:59 am Post subject: RH-02 With my own driver |
|
|
Hello, I have written my own driver to talk to an RH-02 temperature and humidity sensor. I used the information in the rh02.pdf file, however the 16-bin reading to temperature conversion table only goes from 0 to 50oC.
http://www.picotech.com/document/pdf/rh02.pdf
Where can I get the conversion information for 0oC to -20oc and 50oC to 70oC.
Thanks in advance. |
|
| Back to top |
|
 |
mretallack User

Joined: 30 Mar 2006
Posts: 2
|
Posted: Mon Apr 03, 2006 10:31 am Post subject: Thanks for the data |
|
|
Thanks for sending me the missing data. I have converted it into an equation for easy usage. Not fully tested at this stage.....
Hopefully this will help other people if they ever need the info.
| Code: |
float fltCount = (GVP_FLOAT)intReading;
// ok, do a bit of maths
fltCount =((-66349+fltCount)/(703.3-(0.0088832*fltCount)))+(0.98373*(pow(log(fltCount), 2)));
|
|
|
| Back to top |
|
 |
|