-
Notifications
You must be signed in to change notification settings - Fork 39
Pressure value wrong #13
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
Comments
Bosch API for ref: Looks like the problem is due to splitting the computation into two lines. What is the "re-conditioning" you mention for the humidity reading? |
Yes, this updated var1 was the problem.
|
For convenience, I made a PR for that. #14 |
The pressure values are slightly wrong. They are about 10hPa too high, compared against calibrated device and other implementations. The reason is a wrong code. Lines 192-194 should be:
Compared against the Bosch reference code. After the change, the result matches the reference pressure value substantially better and also matches other implementations.
P.S.: I should note that the humidity reading of my Adafruit sensor are completely wrong, 83.3% instead of 75.5% over a saturated NaCl solution, and that with every driver I tried. I had that with a BME280 too. After re-conditioning, the situation improved.
The text was updated successfully, but these errors were encountered: