MS5611 sensor

Hello.

Just received the MS5611 sensor.

Made a test with arduino uno, sparkfun LLC and the sketch on DROTEK web page under arduino 1.0

MS56110101BA_altitude tells me, I am on 12470 meters !!

Something is definitely wrong. Please advice …

BR


Can you test your board with MultiWii code please?! Because I’m sure it will work good.
See you soon.

Thank you for your fast reply.

I just did a test with

arduino uno, multiwii 2.0, wmp, ms5611

As you predicted, the sensor is working there.

But again. My question, why the wrong values in Fabios sketch?

I do need a sensor for showing actual values, NOT for multiwii!

BR

ok great! I can help you with Fab code because I have nerver tested it! Maybe you can use the MultiWii code for your application.
Good luck!

I think, I have got it!

Those are more realistic values…

12470 meters was a little high :wink:

BR


Perfect!!! :smiley:

Hi kalle123,
Well done for getting the MS5611 working. Can you tell me how you managed to do this as I have had the same problems as you and have been unable to solve them.
Have you used Fabio’s Altitude program as is, as well as the libraries? Can you post or send me the code you have used?
Best
Ivan

Hi Ivan.

I did use that “old” sketch from Fabio.
Just follow the information in INSTALL.txt

In MS561101BA_altitude.pde only had to adjust

// Embedded adventures module CSB is VCC so HIGH
//
baro.init(MS561101BA_ADDR_CSB_LOW);
delay(100);

Depends on *The pin CSB shall be connected to VDD or GND
*

If you are wrong here, you will only see zeros.
I am using arduino 0023 with it.

BR - kalle123
Arduino 0.22 MS561101BA.zip (141 KB)

Hi Kalle123,
Many thanks but I still cannot get it to work. CSB is set to low, I2C scanner reports device at 0x77. Even tried it back on version 023 but no joy. (You need to update wire.h if you use arduino version 1 just in case you try; it is on Fabio’s site.) Cannot think what is wrong.
Are your values fairly steady when working or do they fluctuate much?
Best wishes
Ivan
My results are like your earlier ones:

temp: 21.02 degC pres: 163.77 mbar altitude: 18752.06 m
temp: 21.02 degC pres: 163.77 mbar altitude: 18752.06 m
temp: 21.02 degC pres: 163.77 mbar altitude: 18752.10 m
temp: 21.02 degC pres: 163.77 mbar altitude: 18752.10 m
temp: 21.02 degC pres: 163.77 mbar altitude: 18752.06 m
temp: 21.02 degC pres: 163.77 mbar altitude: 18752.12 m
temp: 21.02 degC pres: 163.77 mbar altitude: 18752.10 m
temp: 21.02 degC pres: 163.77 mbar altitude: 18752.14 m

In my folder “sketchbook” there are two folder

**libraries
**
and
MS561101BA

Each one contains the complete zip file.

BR

I am building an experimental board and would like to use an IC support for the pressure sensor MS5611.
What’s the IC socket type for the MS5611 ?
I thought it was a SOIC8 but it’s not beacuse the chip is flat without any PINS.
many thansk for answer.

It’s QFN package with special footprints!

hi, i’m using drotek 10dof imu mpu6050-hmc5883-ms5611, arduino ide1.0, on win7 64bit.

I have the same problem (not-real values of pressure and altitude)…

I used the skecth Fabio Varesano, MS561101BA_altitude.pde, re-adapting.

From my skecth read data from the accelerometer and gyroscope, but dall’altimetro the altitude is busted! (I attach the serial data as attachments)

accelgyro.initialize ();
Serial.println (“Testing device connections …”);
Serial.println (accelgyro.testConnection ()? “MPU6050 connection successful”: “MPU6050 connection failed”);
accelgyro.setI2CBypassEnabled (true);
mag.initialize ();
Serial.println (mag.testConnection ()? “HMC5883 connection successful”: “HMC5883 connection failed”);
baro.init (MS561101BA_ADDR_CSB_LOW);

I can make a suggestion?


Have you tested with MultiWii code? It should works fine!