Hi to all
I have written a new version of the LSM9DS1 library for the IMU chip. It was tested on a Nano 33 BLE Sense board and should be backward compatible with V1.01.0.
Meanwhile it is 15 commits ahead of the original.
The latest commit was made 10 July 2020 and is probably the final one, before making the pull request to the original.
- Added support for Full scale setting,
- Added support for Operational mode: off, Accel only, Gyro + Accel
- Added support for ODR sample rate, ODR values are automatically calibrated, include fast ODR for magnet
- Added support for Band width
- Added support for changing output unit
- Added support for separate or combined sensor calibration
- Calibration parameters are dimensionless, independent of each other and of the other settings
- Includes 3 DIY calibration programs producing copy/paste-able code
Video instruction - Includes readme.md and Getting Started.md
- Includes examples RPM_meter_Rev_Counter, Water_Leveler, XY_Compass
- The "Simple" example programs that came with version 1.01 are now augmented with FS and ODR settings.
- Includes Register_test: demonstrates and verifies all new settings
- The code now runs even in the small memory space of an Arduino Uno.
Installation: This library is meant to replace the existing library directory Arduino_LSM9DS1
I appreciate your help in testing and suggestions.
If there are new versions, I'll update them here in the top posting of this thread