Skip to content

9PEO0xNd/M5CoreS3IMU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M5CoreS3-IMU

9DoF Display HSI Display orientation

YouTube https://www.youtube.com/embed/pA9W0otDkSE

PlatformIO only (not tested Arduino-IDE)

Copy example code to src folder and rename main.cpp

platformIO

  • 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://github.com/GOB52/gob_unifiedButton
https://x-io.co.uk/open-source-imu-and-ahrs-algorithms/

License

  • 9PEO0xNd - MIT
  • M5Unified - MIT by M5Stack
  • gob_unifiedButton - MIT by GOB52
  • BMI270 BSD-3-Clause license by BoschSensortec
  • BMM150 BSD-3-Clause license by BoschSensortec

History

2024/Mar/02 Initial release