0

Arduino Nano 33 BLE IMU Sensor Fusion to AHRS
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Arduino Nano 33 BLE IMU Sensor Fusion to AHRS

by Ecape17 on Tue Nov 03, 2020 6:08 pm

I have an Arduino Nano 33 BLE which has an nRF52840 chip and an onboard LSM9DS1 9-axis IMU. I am trying to fuse the IMU sensor data into an AHRS according to this guide: https://learn.adafruit.com/how-to-fuse-motion-sensor-data-into-ahrs-orientation-euler-quaternions/overview. It begins with storing per-sensor calibration data, and it specifically mentions the nRF52840 chip for external SPI FLASH. I installed the Adafruit Sensor Calibration library and its dependancy libraries. However, when I try to upload the "sensor_calibration_read" example code with the Arduino IDE 1.8.13 it states:

Code: Select all | TOGGLE FULL SIZE
 #define pgm_read_ptr(addr) (*(const void *)(addr))
                            ~^~~~~~~~~~~~~~~~~~~~~~
exit status 1
Error compiling for board Arduino Nano 33 BLE.


Alternatively, when I try to upload the "SdFat_format" example code to format the storage it tells me:

Code: Select all | TOGGLE FULL SIZE
SdFat_format:52:6: error: #error No QSPI/SPI flash are defined on your board variant.h !


Do you have any advice for getting past these errors or getting AHRS onto the Arduino Nano 33 BLE in a different way?

Ecape17
 
Posts: 1
Joined: Tue Nov 03, 2020 5:52 pm

Re: Arduino Nano 33 BLE IMU Sensor Fusion to AHRS

by soipor on Tue May 04, 2021 9:01 am

Hi
I have the same problem. Could you solve it?

soipor

soipor
 
Posts: 1
Joined: Tue May 04, 2021 9:00 am

Re: Arduino Nano 33 BLE IMU Sensor Fusion to AHRS

by pcarff on Thu May 27, 2021 11:34 am

+1 Looking for a solution.

pcarff
 
Posts: 10
Joined: Thu Nov 19, 2015 8:36 pm

Please be positive and constructive with your questions and comments.