Coder Social home page Coder Social logo

dvarrel / arduino-ms5xxx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from schm1tz1/arduino-ms5xxx

0.0 0.0 0.0 31 KB

Arduino Library with examples for using digital pressure sensors MS5607 (and MS56xx, MS57xx, MS58xx) based on AN520 by manufacturer.

License: GNU General Public License v3.0

C++ 100.00%

arduino-ms5xxx's Introduction

arduino-ms5xxx

Arduino Library with examples for using digital pressure sensors MS5607/MS5611 (and MS56xx, MS57xx, MS58xx) based on AN520 by manufacturer and the datasheets. This library has been tested extensively (over almost a year of datataking) with MS5607 and also tested newer MS5611 sensors.

Please note the different I2C-addresses, calculations and correction functions between the different chips and series. One generic MS5xxx-class as well as a derived class MS5611 with the default I2C address and the new calculations have been implemented. Nevertheless you should check that the sensor's I2C address with some kind of I2C-Scanner in case it doesn't connect and set the I2C-Address of the sensor before running the connect() method:

...
MS5xxx sensor(&Wire);
sensor.setI2Caddr(0x42); //change the 0x42 to the I2C address that was found by your scan.
...
if(sensor.connect()>0) {
...

The examples nicely show how to use this library with the standard MS5xxx-class. For usage with MS5611 chips just use the class MS5611 in the same way. "Standard units" are Pascals for pressure and 0.01 °C for temperature as calculations are done exactly as shown in the manufacturers datasheet.

arduino-ms5xxx's People

Contributors

schm1tz1 avatar katrinleinweber avatar per1234 avatar

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.