Datasheet

Adafruit_LSM9DS1.cpp and Adafruit_LSM9DS1.h
Place the Adafruit_LSM9DS1 library folder your arduinosketchfolder/libraries/ folder.
You may need to create the libraries subfolder if its your first library. Restart the IDE.
We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use (https://adafru.it/aYM)
Download Adafruit_Sensor
The Adafruit_LSM9DS1 library uses the Adafruit_Sensor support backend so that readings can be normalized between
sensors. You can grab Adafruit_Sensor from the github repo (https://adafru.it/aZm) or just click the button below.
https://adafru.it/cMO
https://adafru.it/cMO
Install like you did with Adafruit_LSM9DS1
Restart the IDE!
Load Demo Sketch
Now you can open up File->Examples->Adafruit_LSM9DS1->lsm9ds1 and upload to your Arduino wired up to the
sensor
Then open up the Serial console at 115200 baud to read the sensor output! You'll get 9 distinct data points,
accelerometer x/y/z in meters/s , magetometer x/y/z in gauss and gyroscope in x/y/x degrees/second
2
© Adafruit Industries
https://learn.adafruit.com/adafruit-lsm9ds1-accelerometer-plus-gyro-plus-
magnetometer-9-dof-breakout
Page 12 of 23