Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/9peo0xnd/imu_atoms3r
M5AtomS3R built-in 9DoF IMU test
https://github.com/9peo0xnd/imu_atoms3r
bmi270 bmm150 imu m5atoms3 m5stack m5unified platformio
Last synced: 3 days ago
JSON representation
M5AtomS3R built-in 9DoF IMU test
- Host: GitHub
- URL: https://github.com/9peo0xnd/imu_atoms3r
- Owner: 9PEO0xNd
- Created: 2025-01-31T22:28:15.000Z (4 days ago)
- Default Branch: main
- Last Pushed: 2025-02-01T06:13:12.000Z (3 days ago)
- Last Synced: 2025-02-01T07:20:06.109Z (3 days ago)
- Topics: bmi270, bmm150, imu, m5atoms3, m5stack, m5unified, platformio
- Language: C
- Homepage:
- Size: 2.67 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# M5ATOMS3R IMU Examples
## Do not use this unit in situations involving safety to life.
9DoF test
![9DoF Display](image/DSC_0072.JPG)3D compass
hsi_S and ehou2025_S
![HSI Display](image/DSC_0071.JPG)Orientation
![orientation](image/orientation.png)- BMI270 I2C address = 0x68
- Tohoku elder sister is not included.## PlatformIO only (not worked 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## Caribration
Press BTN-A(display). And flip random direction.## 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/
picture data converter: https://lang-ship.com/blog/## License
- 9PEO0xNd - MIT
- M5Unified - MIT by M5Stack
- BMI270 BSD-3-Clause license by BoschSensortec
- BMM150 BSD-3-Clause license by BoschSensortec## History
2025/Jan/31 Initial release