Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dewpoint calculation looks wrong #1

Open
jonesy2 opened this issue Apr 24, 2019 · 2 comments
Open

dewpoint calculation looks wrong #1

jonesy2 opened this issue Apr 24, 2019 · 2 comments

Comments

@jonesy2
Copy link

jonesy2 commented Apr 24, 2019

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
Copy link
Owner

Ok i will take a look

@wero1414
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants