BlueRobotics_MS5837_Library icon indicating copy to clipboard operation
BlueRobotics_MS5837_Library copied to clipboard

Add oversampling setting adjustment

Open jaxxzer opened this issue 6 years ago • 6 comments

This will allow us to reduce the blocking measurement delay time.

jaxxzer avatar Jan 30 '19 18:01 jaxxzer

For example, our python library already supports this: https://github.com/bluerobotics/ms5837-python#readoversamplingosr_8192

jaxxzer avatar Jan 30 '19 18:01 jaxxzer

Absolutely, right now we're having issues using our bar30 sensor, as the sensor spends time of 40ms to read, it reduces our communication rate down to ~50Hz,

since the oversampling can be set to 256, it can be running at 1.5Khz. Please implement this feature to the arduino library.

Thanks

senceryazici avatar May 13 '19 14:05 senceryazici

I've modified such changes on my forked repository. => https://github.com/senceryazici/BlueRobotics_MS5837_Library/tree/pr_osr_implementation

I can open a pull request if you like.

Thanks

senceryazici avatar May 13 '19 14:05 senceryazici

I can open a pull request if you like.

@senceryazici yes please :+1:

jaxxzer avatar May 13 '19 16:05 jaxxzer

Pending pull request #16

senceryazici avatar May 14 '19 10:05 senceryazici

Why does it not compile on teensy 3.2 ? - is it some of the math in the library (POW) forexample ?

kiteborne avatar Apr 10 '20 10:04 kiteborne