Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antirez/bma423-pure-mp
Pure MicroPython BMA423 accelerometer driver
https://github.com/antirez/bma423-pure-mp
Last synced: 3 months ago
JSON representation
Pure MicroPython BMA423 accelerometer driver
- Host: GitHub
- URL: https://github.com/antirez/bma423-pure-mp
- Owner: antirez
- License: mit
- Created: 2024-02-24T21:14:08.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-06T15:15:21.000Z (9 months ago)
- Last Synced: 2024-07-30T22:48:36.379Z (6 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-micropython - bma423-pure-mp - MicroPython Driver for the Bosch 423 accelerometer. Includes FIFO support. ⏩ (Libraries / Sensors)
README
This is a work in progress BMP423 accelerometer driver written in MicroPython.
The aim of this project is to explore the capabilities of the device, including
what is normally not available in simpler drivers: the feature engine especially
for step detection.The datasheet was not really useful to be able to get the steps counter working,
so this driver makes use certain things that BOSCH does in their own public
driver in order to load the features configuration blob and things like that.Right now **this is just a work in progress**, even if it works in the base
case and to enable the step counter. More work is needed in order to support
interrupts, to provide a cleaner API, documentation and a few examples.## Usage
Transfer files to the device. Note that **:** at the end is needed, or
mpremote does a mess and will copy all the files to the last file name.mpremote bma423.py bma423config.bin :
Then upload an example as `main.py` like this:
mpremote example_you_want.py :main.py
Then reset the device and look at the output in your serial log with:
mpremote repl