Skip to content
Unified sensor driver for the Adafruit 10DOF Breakout
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
ahrs Added missing gyro header Jun 25, 2015
pitchrollheading Added missing header Jun 25, 2015
tester Added unified driver for L3GD20 Dec 5, 2013
.gitignore Add updated cuberotate ahrs sketch. Aug 5, 2014
Adafruit_10DOF.cpp Fixed error in magnetometer vector rotation Feb 6, 2016
Adafruit_10DOF.h Added fusionGetOrientation Mar 18, 2014 Better readme Nov 29, 2013

#Adafruit 10DOF Library #

This driver is for the Adafruit 10DOF Breakout (, and makes use of Adafruit's Unified Sensor Library ( to provide standard SI units of measure and easy to reuse sensor data.

For information about this breakout and how to use this library, consult our online learning guide at

About the 10DOF Breakout

Adafruit's 10DOF Breakout includes everything you need for accurate, meaningful motion capture and detection, including the following sensors:

  • L3GD20 3-axis gyroscope: ±250, ±500, or ±2000 degree-per-second scale
  • LSM303 3-axis compass: ±1.3 to ±8.1 gauss magnetic field scale
  • LSM303 3-axis accelerometer: ±2g/±4g/±8g/±16g selectable scale
  • BMP180 barometric pressure/temperature: -40 to 85 °C, 300 - 1100hPa range, 0.17m resolution

About this Library

The Adafruit_10DOF library makes use of Adafruit's existing libraries for the L3GD20, LSM303DLHC and BMP180, but also adds a few helper functions to generate values that are more useful for drones, motion detection, etc.

Adafruit invests time and resources providing this open source code. Please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Kevin (KTOWN) Townsend for Adafruit Industries.

You can’t perform that action at this time.