Giter Site home page Giter Site logo

arduino-ms5611's People

Contributors

jarzebski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

arduino-ms5611's Issues

Altitude obviously wrong

Hello,

I am trying to use your library on an Arduino UNO R2. The temperatures provided by the MS5611_simple example seem to be correct but not the absolute altitudes (I have 26m instead of 57 above sea level).

Error in temperature calculation

For "Actual Temperature", you need to use TEMPSENS (fc[6]) not TRef (fc[5]):

int32_t TEMP = 2000 + ((int64_t) dT * fc[5]) / 8388608;
Should read:
int32_t TEMP = 2000 + ((int64_t) dT * fc[6]) / 8388608;

==============================================
sorry, ignore that, you have numbered your fc from 0 to 5, so your calculations are indeed correct.
:(

Library hangs if temperature< 20

Library hangs whole sketch when temperature comes down below 20.

Fix:

In MS5611.cpp change line 184 from
TEMP2 = (dT * dT) / (2 << 30);
to
TEMP2 = (dT * dT) / pow(2, 31);

And all is well again.

Not going beyond the begin function

Is this code running completely for you?

When I run the simple example as it is, it doesn't proceed beyond the line:
if(ms5611.begin())

It gets stuck instead the function and code doesn't proceed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.