Arduino code to log IMU data to Adafruit feather m0 and a Adafruit featherwing data logger. SD connection made over SPI, IMU connection made over I2c. Max SPI speed is 12 MHz
Hardware used (All products from adafruit.com):
- Stacking female headers - Part No. 2830
- Adafruit feather M0 Express - ATSAMD21 Cortex M0 - Part No. 3403
- MicroSD card - Part No. 1294
- Lithium Ion Polymer Battery ideal for Feathers 3.7v 400mAh - Part No. 3898
- Adafruit 9-Dof Orientation IMU Fusion Breakout - BNO085 - Stemma QT/Qwiic - Part No. 4754
- CR1220 12 mm Diameter - 3V Lithium Coin Cell Battery
- Adalogger Featherwing - RTC + SD Add-on for all Feather boards - Part No. 2922