• MPL3115A2 hangs intermittently

    Expansion Board wipy 2 pysense mpl3115a2 hang
    16
    0 Votes
    16 Posts
    4k Views
    catalinC
    hi @smbunn, The code was not modified. On a second thought, the altitude is just a simple function of the pressure, considering the same sea-level pressure. This is not ok, as the sea-level pressure varies in time, and from place to place. So, I would recommend, to use just the pressure, and if altitude is required, some arithmetics code has to be added, to get the right altitude. You could use some weather forecast service to obtain the accurate and real-time sea-level pressure.
  • 0 Votes
    2 Posts
    1k Views
    P
    I found out that like below, the results are plausible. No clue why the above mentioned way does not work, but at least this is a workaround. [image: 1508350679444-image.png]