MS5607 Altimeter

Hi,

I am new to Arduino and I am trying to use MS5607 altimeter to read pressure, altitude and temperature.
I tried getting code for trial from elsewhere but no success. The pressure is not proper nor the height.

Does anyone have any code for this already or can anyone help me in writing a new code for the same to read the pressure and temperature.

Thanks,
Sri

If you can read the baromic pressure, the sensor is okay.
The altitude is calculated in the sketch.

This is the manufacturers page : http://www.meas-spec.com/product/pressure/MS5607-02BA03.aspx

Did you try this 1.0 Arduino version ? https://sites.google.com/site/parallaxinretailstores/home/altimeter-module-ms5607
Did you try the newest version from Parallax ? Altimeter Module MS5607 - Parallax

Do you use the I2C mode ? If yes, did you run the i2c_scanner ?

Hi Peter,

thanks for your reply. I am using the latest one (29124) that you had suggested.

Peter_n:
Did you try the newest version from Parallax ? Altimeter Module MS5607 - Parallax

Do you use the I2C mode ? If yes, did you run the i2c_scanner ?

I tried using the code from I2C mode but did not work. May be I have to run I2C scanner which I didn't know before.

I will try it now.

And can you please tell me if the following link you gave me works for 29124?
1.0 Arduino

Thanks & regards,
Sri

Hi Peter,

I2C scanner worked!
But I tried a code which gives me the following result. Not sure how to understand the values it says.
Is it right reading?

Actual TEMP= 23.45 Actual PRESSURE= 497.06
RAW Temp D2= 8330934 RAW Pressure D1= 6191426

C1 = 43915
C2 = 40165
C3 = 26339
C4 = 23568
C5 = 32129
C6 = 27375

Regards,
Srivathsan

I know I2C, but I don't know the MS5607.

This seems to be code from 2012 : https://sites.google.com/site/parallaxinretailstores/home/altimeter-module-ms5607

This (select Downloads and Documentation) : Altimeter Module MS5607 - Parallax
has an application note updated to 2014. In the document is not Arduino code, but you could check the code against the sketch (the higher level i2c code from the document).

The whole MS56xx series seems to be almost the same. You could try code for another sensor. However, random trying some code from the internet can be tiresome :slightly_frowning_face:
This seems serious code : GitHub - jarzebski/Arduino-MS5611: Barometric Pressure & Temperature Sensor Arduino Library

i am also using the same code but i am not geting correct values..
what should i do for it?
help me out.

Quick question: What range of altitudes are you looking at? As in, will your altimeter measure between 0ft AGL (Above Ground Level) to 50ft AGL? Or is it more like 0ft AGL to 3 miles AGL?

If the altimeter is for a small range of altitudes, your barometer is completely useless. Barometers are noisy, unreliable, and have offset based on the current humidity etc. They can't provide much accuracy.