5 releases (3 breaking)

new 0.4.1 Jan 10, 2025
0.4.0 Jan 9, 2025
0.3.0 May 31, 2024
0.2.0 May 25, 2024
0.1.0 May 24, 2024

#1632 in Embedded development

Download history 5/week @ 2024-09-22 7/week @ 2024-09-29 1/week @ 2024-10-13 8/week @ 2024-11-03 9/week @ 2024-12-08 5/week @ 2024-12-15 207/week @ 2025-01-05

212 downloads per month

MIT license

115KB
1.5K SLoC

BMP390

Crates.io Version Docs CI Crates.io Downloads

The BMP390 is a digital sensor with pressure and temperature measurement based on proven sensing principles. The sensor is more accurate than its predecessor BMP380, covering a wider measurement range. It offers new interrupt functionality, lower power, and a FIFO functionality. The integrated 512 byte FIFO buffer supports low power applications and prevents data loss in non-real-time systems.

Bmp390 is a driver for the BMP390 sensor. It provides methods to read the temperature and pressure from the sensor over I2C. It is built on top of the embedded_hal_async::i2c traits to be compatible with a wide range of embedded platforms. Measurements utilize the uom crate to provide automatic, type-safe, and zero-cost units of measurement for Measurement.

Synchronous and asynchronous interfaces are available. The synchronous interface is built on top of the embedded-hal traits, while the asynchronous interface is built on top of the embedded-hal-async traits. The default features include the asynchronous interface, but the synchronous sync::Bmp390 one can be enabled with the sync feature.

Datasheet

The BMP390 Datasheet contains detailed information about the sensor's features, electrical characteristics, and registers. This package implements the functionality described in the datasheet and references the relevant sections in the documentation.

Dependencies

~2–2.8MB
~55K SLoC