SparkFun Triple Axis Accelerometer Breakout - BMA400 (Qwiic) | SparkFun Micro Triple Axis Accelerometer Breakout - BMA400 (Qwiic) |
This library provides an easy way to control the BMA400 3-axis accelerometer. Each axis has 12-bit resolution, and supports ranges of 2g up to 16g. It also includes a number of interrupt features, including motion detection, orientation detection, tap detection, and step counting. The sensor also includes filtering, and an on-board FIFO buffer can be used to store measurements for more efficient burst reading of data.
This library implements Bosch's BMA400 API in an Arduino-friendly way. All functions return error codes to indicate the result of each operation, where BMA400_OK (0
) indicates success. Most examples ignore the error codes to reduce clutter, but an example is included to demonstrate error handling techniques.
- /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 BMA400 board.
- Library - This library, providing functions to write applications for the BMA400 with Arduino IDE.
- Hookup Guide - Basic hookup guide for the BMA400.
- LICENSE.md - License Information
- 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.