Is there an MS5849 library

Hi just wondering if any one knows of a library for the TE MS5849 pressure sensor.
Thanks Simon

Did you try Google?

Yes I tried Google with no luck.

This is a related but similar device with library on Github which you might be able to adapt (if necessary - it does say "generic").

Thank you I will check it out. That is a bit above my pay grade, I'll have to keep looking.

Really?

@simonnomis
Do you have a link to a datasheet?

Yes really none of those links lead to the device I have.

MS5849 Data sheet

Sorry, I didn't notice Google was including results for MS5837 also!

It might be worth trying that library for MS5837. The MS5849 seems to be a recommended replacement for MS5837, so maybe there is a degree of compatibility between them. The library might need some modification.

They do seem similar but I am not able to do the modifications I am just a beginner.

Looks like the answer to your original question is no, and unfortunately you don't have the skills & experience to make or adapt one.

Is there another model of sensor you could use, one that does have an Arduino library?

You could contact the maintainer of the MS5837 library, through opening an issue on GitHub, and ask them if they have any plans to adapt it for MS5849, given that it seems MS5837 is now discontinued and MS5849 is one of the recommended replacements, and if there is anything you can do to help. You might not have the skills to adapt the library, but perhaps you can help with testing?

1 Like

Since the 5837 library is described as generic it would be worth just trying it with the 5849, it way well work fine. After all if it's the recommended replacement library compatibility would be a selling point.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.