Hi !

Thanks for the reply's!

@ Krodal:

I wouldn't know how to get the Atmospheric Pressure.

If I write: Serial.print(Pressure);

It gives an error: error: 'Pressure' was not declared in this scope

@ Vanja and Robtillaart:

I've tried the code from the Pressure Sensors MS5611 MS5803...

First the normal code without changes:

The result:

PROM COEFFICIENTS ivan

Error reading PROM 1

0

Error reading PROM 1

0

Error reading PROM 1

0

Error reading PROM 1

0

Error reading PROM 1

0

Error reading PROM 1

0

Actual TEMP= 20.00 Actual PRESSURE= 0.00

RAW Temp D2= 4294967295 RAW Pressure D1= 4294967295

C1 = 0

C2 = 0

C3 = 0

C4 = 0

C5 = 0

C6 = 0

Actual TEMP= 20.00 Actual PRESSURE= 0.00

RAW Temp D2= 4294967295 RAW Pressure D1= 4294967295

C1 = 0

C2 = 0

C3 = 0

C4 = 0

C5 = 0

C6 = 0

Actual TEMP= 20.00 Actual PRESSURE= 0.00

RAW Temp D2= 4294967295 RAW Pressure D1= 4294967295

C1 = 0

C2 = 0

C3 = 0

C4 = 0

C5 = 0

C6 = 0

Actual TEMP= 20.00 Actual PRESSURE= 0.00

RAW Temp D2= 4294967295 RAW Pressure D1= 4294967295

C1 = 0

C2 = 0

C3 = 0

C4 = 0

C5 = 0

C6 = 0

Actual TEMP= 20.00 Actual PRESSURE= 0.00

RAW Temp D2= 4294967295 RAW Pressure D1= 4294967295

C1 = 0

C2 = 0

C3 = 0

C4 = 0

C5 = 0

C6 = 0

Actual TEMP= 20.00 Actual PRESSURE= 0.00

RAW Temp D2= 4294967295 RAW Pressure D1= 4294967295

C1 = 0

C2 = 0

C3 = 0

C4 = 0

C5 = 0

C6 = 0

Actual TEMP= 20.00 Actual PRESSURE= 0.00

RAW Temp D2= 4294967295 RAW Pressure D1= 4294967295

C1 = 0

C2 = 0

C3 = 0

C4 = 0

C5 = 0

C6 = 0

Then I tried Leo's code:

PROM COEFFICIENTS ivan

Error reading PROM 1

0

Error reading PROM 1

0

Error reading PROM 1

0

Error reading PROM 1

0

Error reading PROM 1

0

Error reading PROM 1

0

Actual TEMP= 20.00 Actual PRESSURE= 0.00

RAW Temp D2= 4294967295 RAW Pressure D1= 4294967295

C1 = 0

C2 = 0

C3 = 0

C4 = 0

C5 = 0

C6 = 0

Actual TEMP= 20.00 Actual PRESSURE= 0.00

RAW Temp D2= 4294967295 RAW Pressure D1= 4294967295

C1 = 0

C2 = 0

C3 = 0

C4 = 0

C5 = 0

C6 = 0

Actual TEMP= 20.00 Actual PRESSURE= 0.00

RAW Temp D2= 4294967295 RAW Pressure D1= 4294967295

C1 = 0

C2 = 0

C3 = 0

C4 = 0

C5 = 0

C6 = 0

Actual TEMP= 20.00 Actual PRESSURE= 0.00

RAW Temp D2= 4294967295 RAW Pressure D1= 4294967295

C1 = 0

C2 = 0

C3 = 0

C4 = 0

C5 = 0

C6 = 0

Actual TEMP= 20.00 Actual PRESSURE= 0.00

RAW Temp D2= 4294967295 RAW Pressure D1= 4294967295

C1 = 0

C2 = 0

C3 = 0

C4 = 0

C5 = 0

C6 = 0

The same results...

But then i've changed the #define ADDRESS 0x77 //0x76 to 0x76

Then I get these results... the temperature works fine I think. I've put the sensor outside and the temperature drops , but when it reaches 20 degrees, it's not correct .

Actual TEMP= 21.01 Actual PRESSURE= 504.23

RAW Temp D2= 8309316 RAW Pressure D1= 6239926

C1 = 43760

C2 = 39947

C3 = 26993

C4 = 24969

C5 = 32337

C6 = 27552

Actual TEMP= 20.75 Actual PRESSURE= 504.26

RAW Temp D2= 8301170 RAW Pressure D1= 6241510

C1 = 43760

C2 = 39947

C3 = 26993

C4 = 24969

C5 = 32337

C6 = 27552

Actual TEMP= 20.54 Actual PRESSURE= 504.26

RAW Temp D2= 8294964 RAW Pressure D1= 6242566

C1 = 43760

C2 = 39947

C3 = 26993

C4 = 24969

C5 = 32337

C6 = 27552

Actual TEMP= 20.32 Actual PRESSURE= 504.26

RAW Temp D2= 8288212 RAW Pressure D1= 6243750

C1 = 43760

C2 = 39947

C3 = 26993

C4 = 24969

C5 = 32337

C6 = 27552

Actual TEMP= 20.11 Actual PRESSURE= 504.29

RAW Temp D2= 8281746 RAW Pressure D1= 6245034

C1 = 43760

C2 = 39947

C3 = 26993

C4 = 24969

C5 = 32337

C6 = 27552

Actual TEMP= 141086.15 Actual PRESSURE= 156428.96

RAW Temp D2= 8275998 RAW Pressure D1= 6245854

C1 = 43760

C2 = 39947

C3 = 26993

C4 = 24969

C5 = 32337

C6 = 27552

Actual TEMP= 141086.01 Actual PRESSURE= 156495.70

RAW Temp D2= 8271354 RAW Pressure D1= 6246866

C1 = 43760

C2 = 39947

C3 = 26993

C4 = 24969

C5 = 32337

C6 = 27552

Actual TEMP= 141085.90 Actual PRESSURE= 156532.20

RAW Temp D2= 8267988 RAW Pressure D1= 6247420

C1 = 43760

C2 = 39947

C3 = 26993

C4 = 24969

C5 = 32337

C6 = 27552

The problem is when it reaches below 20 degrees.

The pressure isn't correct either.

Any solutions?

Many Thanks!!!

FRR