Library for 6-DoF IMU Pro Mini Unit
-
Hi,
I been trying to find a library that will work with the M5-stack 6-DoF IMU Pro Mini Unit (BMI270, BMM150, BMP280)for an ESP-32 running micro python and preferable using i2c communication however are open to other types.
Does any one have any ideas? -
@007jimmey
A bit late to the party here but.. maybe of help to you or othersThe
bmp280temperature/humidity/pressure sensor is well known, there are lots of libraries for this (I2C) eg: https://github.com/robert-hh/BME280- it has it's own I2C address and is separate from the bmi270/bmm150
The
bmi270six axis sensor (acceleration and gyro) has a basic, large and slow driver here: https://github.com/micropython/micropython-lib/tree/master/micropython/drivers/imu/bmi270I have my own pair of drivers for this:
https://codeberg.org/easytarget/bmi270-micropythonbmi270_fast.pyis a drop-in replacement for the above driver, but is 5x smaller, and 25x faster loading. (92 ms vs 2.3 seconds..)bmi270_legacy.pyis a work in progress full-feature driver I'm working on for my Tab5. It uses for the 'legacy config' (tablet/mobile phone featureset) and has motion and orientation sensors and interrupts available.
But.. the
BMM150magnetometer is an issue, it is attached to the 'auxillary' bus of the BMI270, not to the main I2C bus. You can only to access it via special features in the BMI270, and none of the MicroPython drivers support it.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login