Hi all, I’ve recently got back into the game of playing with Arduinos. So, I am trying to run the example code from the library associated with the MS5803-14BA and this is what’s being produced in the monitor.
Temperature C = -2273.70
Temperature F = -4060.66
Pressure abs (mbar)= 6855.50
Pressure relative (mbar)= 6874.22
Altitude change (m) = 0.00
I am connected to pins 20 and 21, using the mega. Even if I connect to A4 and A5 or 2 and 3, I get the same readings. Keep in mind I have not changed any of the code. Please any assistance would be much appreciated!
Those values would indicate the Arduino isn’t communicating with the sensor. I’ve tried a sensor here with a Mega and it’s working for me.
Pins 20 and 21 are what you’d need on the Mega. Make sure power isn’t connected to 5V (It’s a 3.3 volt only device) and that the I2C/SPI and 0x76/0x77 jumpers are both open and the triple jumper labeled PU is closed.
If you’re still having trouble, please send photos of the top and bottom of your board and a photo showing the connections between the board and Mega.