Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/9peo0xnd/unit-imu_pro
M5Stack Unit-IMU Pro BMI270/BMM150 libraries
https://github.com/9peo0xnd/unit-imu_pro
bmi270 bmm150 imu m5gfx m5unified platformio
Last synced: 24 days ago
JSON representation
M5Stack Unit-IMU Pro BMI270/BMM150 libraries
- Host: GitHub
- URL: https://github.com/9peo0xnd/unit-imu_pro
- Owner: 9PEO0xNd
- License: mit
- Created: 2024-04-06T23:02:06.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-06T23:13:43.000Z (10 months ago)
- Last Synced: 2024-11-16T12:04:41.354Z (3 months ago)
- Topics: bmi270, bmm150, imu, m5gfx, m5unified, platformio
- Language: C
- Homepage:
- Size: 4.94 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UNIT-IMU PRO mini
![9DoF Display](image/DSC_0032.JPG)
![HSI Display](image/DSC_0034.JPG)
![orientation](image/IMU-Pro-Mini.jpg)
BMI270 and BMM150 Orentation and BMI270 I2C address = 0x69## PlatformIO only (not tested Arduino-IDE)
Copy example code to src folder and rename main.cpp- Modifed bmm150_defs.h using floating point
~~~
/******************************************************************************/
/*! @name Compiler switch macros Definitions */
/******************************************************************************/
#define BMM150_USE_FLOATING_POINT //OK#ifndef BMM150_USE_FLOATING_POINT /*< Check if floating point (using BMM150_USE_FLOATING_POINT) is enabled */
#ifndef BMM150_USE_FIXED_POINT /*< If floating point is not enabled then enable BMM150_USE_FIXED_POINT */
#define BMM150_USE_FIXED_POINT
#endif
#endif
~~~## Serial Monitor
To keep the display speed, use M5.Log.Printf instead of Serial or USBSerial## References
https://github.com/boschsensortec/BMI270_SensorDriver
https://github.com/boschsensortec/BMM150_SensorDriver
https://github.com/m5stack/M5Unified
https://x-io.co.uk/open-source-imu-and-ahrs-algorithms/## License
- 9PEO0xNd - MIT
- M5Unified - MIT by M5Stack
- BMI270 BSD-3-Clause license by BoschSensortec
- BMM150 BSD-3-Clause license by BoschSensortec## History
2024/Apr/06 Initial release