Skip to content

BME280 Pressure unit bug #83

Open
Open
@jdavid

Description

Data from BME280 is stored in Pa, because that's what returns the getPressure function from the Waspmote API.
e.g. see bme_pres in https://wsn.latice.eu/admin/wsn/frame/22948999 /change/

Except when we use the SDI-12 slave board (QT Py). Then the data is in hPa (hPa is what the sensor actually sends I think).
e.g see bme_pres in https://wsn.latice.eu/admin/wsn/frame/38139406/change/

The bug: The pressure values are in Pa or hPa depending on whether it's directly attached to the waspmote, or it goes through SDI-12.
Should this be fixed so we have always the same unit in the database?

Which unit should be used: Pa or hPa?
Even if we decide not to fix it in the Waspmote, I need to know what unit to use for the future RIOT based motes. @ArcticSnow

Personally I prefer Pa because: then we can use integers (more efficient than floats), and because most of the data today is in Pa. But maybe from a scientific point of view hPa makes more sense?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions