SparkFun Pressure Sensor - BMP581 (Qwiic) | SparkFun Micro Pressure Sensor - BMP581 (Qwiic) |
This library provides an easy way to control the BMP384 pressure sensor. It is a very precise sensor, allowing down to 1/64 Pa pressure resolution, plus a built-in filter to reduce noise. That's sufficient to measure the difference in pressure of raising/lowering the sensor by less than an inch!
The sensor also includes a temperature sensor, however it's not really intended for measuring air temperature; its main purpose is to compensate the pressure measurements. The measured temperature is usually a few degrees above ambient, and depends on things like the PCB temperature, sensor element, and even the I2C/SPI clock speed!
This library implements Bosch's BMP5 API in an Arduino-friendly way. All functions return error codes to indicate the result of each operation, where BMP5_OK (0) indicates success. The examples demonstrate basic ways of handling these errors, but error checking can be omitted to reduce code clutter if desired.
- /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
- /src - Source files for the library (.cpp, .h).
- keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
- library.properties - General library properties for the Arduino package manager.
- Installing an Arduino Library Guide - Basic information on how to install an Arduino library.
- Hardware Repo - Repository for the BMP581 board.
- Library - This library, providing functions to write applications for the BMP581 with Arduino IDE.
- Hookup Guide - Basic hookup guide for the BMP581.
- LICENSE.md - License Information
- SEN-20170 - BMP581 Qwiic Board
- v1.0.0 - Initial public release.
This product is open source!
Please review the LICENSE.md file for license information.
If you have any questions or concerns on licensing, please contact technical support on our SparkFun forums.
Distributed as-is; no warranty is given.
- Your friends at SparkFun.