MS5837 and PyMata

Is it possible to use the MS5837 sensor with PyMata (Python implementation of Firmata)? I’m trying to convert all the smbus calls with pymata ones, but am running into lots of trouble with replacing the self._bus.read_word_data function.

I’m not sure about Firmata, but we have a python library that has been tested on the Raspberry Pi: GitHub - bluerobotics/ms5837-python: A python module to interface with MS5837-30BA and MS5837-02BA waterproof pressure and temperature sensors.

Yes, I am currently trying to modify that python library. I’m trying to find another way to use the sensor through the Firmata communication protocol - are there any robotics frameworks that interface with the ms4837 already?

Nevermind, finally got it to work. Here’s a link to the modified python library for using Pymata with the MS5837 sensor (for anyone that’s interested):

1 Like