A pair of Drivers for the Bosch BMI270 6-Axis IMU chip #18823
easytarget
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The existing BMI270 driver in the micropython library is easy to find and use, but has some issues, most notably a 2300 ms init time
While working on my Tab5 I wanted a higher functionality driver for the BMI270; this resulted in Two drivers:
https://codeberg.org/easytarget/bmi270-micropython
See the README in the repo, plus there are a couple of
demo_programs to explore the basic (IMU) data and advanced feature detection/operation of the driversA basic driver:
bmi270_fast.py* 1/5th the size, and at 95 ms it has 25x faster init()
* (Re)Setting of Sensor Ranges and Output Data Rates (ODR) after init()
* Entering 'adavnced powersave mode' and enabling / disabling specific sensors and filter power modes.
* Device internal temperature() method has been added.
A 'feature' driver
bmi270_legacy.pyProvides all the features of the fast driver above, but has been extended to use the 'legacy' config provided by Bosch and provides additional 'sensors' and 'features' optimised for Tablet and Phone devices (eg the Tab5 I am working with).
Working:
Not Implemented:
Beta Was this translation helpful? Give feedback.
All reactions