BME280 Pressure Readings / Calibration

I’m reading the values of the BME280 via an MCP3428 4-Channel 4-20mA 16-Bit Converter.
The value for temperature and humidity are no problem, but I get unusual high reading for pressure like 152648.6 .
The standard average atmospheric value is around 1013.25 hPa.

For the code I’m using this library from the official repository:

Thank you for support in advance.

Here is the code I’m using, maybe it helps:
(Is there something else, that need to be configured?)

BMyCode.ino (Send data every 10 min)

Sorry I missed the original post on this, thanks for bringing it to my attention!

I just updated the repo to correct some data types for the compensation variables and that seems to have brought the pressure readings on my desk to where they should be, the only changes are in the .cpp, so nothing in your code needs to change.

Let me know if this solves the inaccuracy on your end.


1 Like

I’ve made the update and got following data.

Local pressure data from the internet:
994 hPa

If the unit is in Pa, then this value is correct! :slight_smile:

Thank you very much!
This helped me a lot!