Datasheet
Connect Vin to the power supply, 3V or 5V is fine.
Use the same voltage that the microcontroller
logic is based off of
Connect GND to common power/data ground
Connect the SCL pin to Digital #13 but any pin can
be used later
Connect the DO pin to Digital #12 but any pin can
be used later
Connect the SDA pin to Digital #11 but any pin can
be used later
Connect the CS pin Digital #10 but any pin can be
used later
Later on, once we get it working, we can adjust the library to use hardware SPI if you desire, or change the pins to
others.
Library Installation
You can install the Adafruit LSM6DS Library for Arduino using the Library Manager in the Arduino IDE. This will work
for the LSM6DSOX, ISM330DHCX, and LSM6DS33:
Click the Manage Libraries ... menu item, search for Adafruit LSM6DS, and select the Adafruit LSM6DS library:
Then follow the same process for the Adafruit BusIO library.
© Adafruit Industries https://learn.adafruit.com/lsm6dsox-and-ism330dhc-6-dof-imu Page 9 of 23










