#pressure #pressure-sensor #i2c-driver #altitude #driver #i2c #embedded-hal-driver

no-std mpl3115

Platform-agnostic Rust driver for the MLP3115 pressure sensor

1 unstable release

0.1.0 Feb 6, 2020

#18 in #pressure-sensor

MIT license

14KB
261 lines

This is an embedded-hal device driver for the MPL3115A2 Altitude sensor.

It is accurate to around 0.3m.

There is also a temperature and pressure readings avaliable.

See the example for usage The pressure mode is likely wildly inaccurate and needs to be tested against a known good pressure sensor.


lib.rs:

This is an embedded-hal device driver for the MPL3115A2 Altitude sensor.

It is accurate to around 0.3m.

There is also a temperature and pressure readings avaliable.

See the examples folder for a blocking implementation.

The pressure mode is likely wildly inaccurate and needs to be tested against a known good pressure sensor.

Dependencies

~110KB