Pressure and temperature sensor MS5840-02BA

Hey I was wondering if anyone has experience using the MS5840-02BA pressure and temperature sensor (datasheet). I found an Arduino library to this sensor (MS5840.h) but I was wondering if this library is compatible with ESP8266 or ESP32 boards as well.

MS5840_Demo.ino states it was tested using an Arduino Mega
however, the interface is I2C so worth trying on an ESP8266 or ESP32
could test first using a mega so you know how the code works then moving to the ESP
the datasheet states a supply voltage of 1.5V ~ 3.6V so using it with a Mega which uses 5V logic you need level converters

1 Like

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