Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Mar 20, 2014

README.md

Welcome to MS5611 library

MS5611-01BA Pressure Sensor - ARDUINO

This is a C++ library for barometric pressure sensor MS5611-01BA. My motivation for writing this library was fact that some existing libraries had a bug in the pressure reading compensation routine for low temperatures. As a result, the pressure readings at low temperatures (< ~12C) were completely off.

The library was tested for pressure stability in the temperature range of -11C - 50C using regular kitchen fridge and oven. In this temperature range, the measured variance of the absolute altitude at the 200m above the see level was estimated at cca 20m (600ft).

Therefore, be aware of using MS5611 in temperature unstable environments where device rely on absolute altitude.

Minimalistic example:

Reads pressure and sends the value to the serial monitor (UART)

#include <MS5611.h>

MS5611 baro;
int32_t pressure;

void setup() {
  // Start barometer
  baro = MS5611();
  baro.begin();
  // Start serial (UART)
  Serial.begin(9600);
  delay(2);
}

void loop() {
  // Read pressure
  pressure = baro.getPressure();
  // Send pressure via serial (UART);
  Serial.println(pressure);
}

About

MS5611-01BA Pressure Sensor ARDUINO

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.