kriswiner/EM7180_SENtral_sensor_hub

calibration & warmstart for USFS LSM6DSM + LIS2MD

Opened this issue · 3 comments

Hi Kris,
I'm very interested in your USFS LSM6DSM + LIS2MD and going to order it from Tindie.
But I can't find any calibration and warm start supporting document or sketch for this board.
I do see you have very detailed instructions of accelerometer and magnetometer calibration and warm start for USFS MPU9250, do you have the same supporting document and sketch for USFS LSM6DSM + LIS2MD?

thanks

I used @simondlevy EM7180 examples to calibrate and save warmstart for @kriswiner Ultimate Sensor Fusion Solution - MPU9250 and its better successor Ultimate Sensor Fusion Solution - LSM6DSM + LIS2MD. The EM7180 examples use the CrossPlatformDataBus and prior to Arduino-ESP32 release 1.0.1, I had to change /src/ArduinoI2C.cpp to this:


// #define NOSTOP false     // ReSTART needed for some chips
#define NOSTOP true  // ESP32 won't work properly with ReStart I2C reads prior to r1.0.1

Now with release 1.0.1 I don't need to change any code, it just works!