wero1414 / ESPWeatherStation

GNU General Public License v2.0
4 stars 5 forks source link

dewpoint calculation looks wrong #1

Open jonesy2 opened 5 years ago

jonesy2 commented 5 years ago

In Esp8266weather.ino there is a dewpoint calculation double dewPoint(double tempf, double humidity) //Calculate dew Point

I've found the formula in various programs eg https://gist.github.com/Mausy5043/4179a715d616e6ad8a4eababee7e0281

and they all use celcuis as the input variable. I did a test using celcius with an online calculator, plus the formula shown in the SHT11 datasheet.

The input to your code should be celcius. The output is celcius.

wero1414 commented 5 years ago

Ok i will take a look

wero1414 commented 5 years ago

Thanks!