https://github.com/sparkfun/sparkfun_lsm6ds3_arduino_library
Arduino library for the LSM6DS3
https://github.com/sparkfun/sparkfun_lsm6ds3_arduino_library
Last synced: 8 months ago
JSON representation
Arduino library for the LSM6DS3
- Host: GitHub
- URL: https://github.com/sparkfun/sparkfun_lsm6ds3_arduino_library
- Owner: sparkfun
- License: other
- Created: 2015-05-01T20:05:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-02-10T22:29:21.000Z (almost 3 years ago)
- Last Synced: 2024-04-15T00:11:23.155Z (over 1 year ago)
- Language: C++
- Size: 675 KB
- Stars: 51
- Watchers: 44
- Forks: 47
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
SparkFun LSM6DS3 Arduino Library
========================================

[*LSM6DS3 Breakout (SEN-13339)*](https://www.sparkfun.com/products/13339)
This is an arduino IDE library to control the LSM6DS3. It can be configured to use I2C or SPI with 2 instances per I2C channel or any number of SPI instances. The top-level driver, class LSM6DS3, contains an inner driver LSM6DS3Core, a settings struct, and float-based math functions for conversion from raw to meaningful numbers.
This has been tested with Arduino Uno, ESP32, ESP8266, and Teensy 3.1 architectures.
Repository Contents
-------------------
* **/examples** - Example sketches for the library (.ino). Run these from the Arduino IDE.
* **/extras** - Contains class diagrams for the driver. Ignored by IDE.
* **/src** - Source files for the library (.cpp, .h).
* **keywords.txt** - Keywords from this library that will be highlighted in the Arduino IDE.
* **library.properties** - General library properties for the Arduino package manager.
Example Briefs
--------------
* FifoExample - Demonstrates using the built-in buffer to burst-collect data - **Good demonstration of settings**
* InterruptFreeFall - Embedded function demonstrating free-fall detection
* InterruptHWTapConfig - Embedded function demonstrating tap and double-tap detection
* LowLevelExample - Demonstrates using only the core driver without math and settings overhead
* MemoryPagingExample - Demonstrates switching between memory pages
* MinimalistExample - The **easiest** configuration
* MultiI2C - Using two LSM6DS3s over I2C
* MultiSPI - Using two LSM6DS3s over SPI
* Pedometer - Embedded function demonstrating step-counting feature
Documentation
--------------
* **[Installing an Arduino Library Guide](https://learn.sparkfun.com/tutorials/installing-an-arduino-library)** - Basic information on how to install an Arduino library.
* **[Product Repository](https://github.com/sparkfun/LSM6DS3_Breakout/)** - Main repository (including hardware files) for the LSM6DS3 Breakout.
* **[Hookup Guide](https://learn.sparkfun.com/tutorials/lsm6ds3-breakout-hookup-guide)** - Basic hookup guide for the LSM6DS3 Breakout.
Products that use this Library
---------------------------------
* [SEN-13339](https://www.sparkfun.com/products/13339)- LSM6DS3 Breakout board
Version History
---------------
* [V 1.0.0](https://github.com/sparkfun/SparkFun_LSM6DS3_Arduino_Library/releases/tag/V_1.0.0) -- Initial commit of Arduino 1.6-compatible library.
* [V 1.0.1](https://github.com/sparkfun/SparkFun_LSM6DS3_Arduino_Library/releases/tag/V_1.0.1) -- Adds SPI compatibility to the ESP32 and ESP8266 boards for this product.
License Information
-------------------
This product is _**open source**_!
Please review the LICENSE.md file for license information.
If you have any questions or concerns on licensing, please contact techsupport@sparkfun.com.
Distributed as-is; no warranty is given.
- Your friends at SparkFun.