LSM303C 6DoF Hookup Guide
The LSM303C is a 6 degrees of freedom (6DOF) inertial measurement unit (IMU) in a sigle package. It houses a 3-axis accelerometer, and a 3-axis magnetometer. The range of each sensor is configurable: the accelerometer's scale can be set to ±2g, ±4g, ±6g, or ±8g, and the magnetometer has full-scale range of ±16 gauss.
Covered In This Tutorial
First we'll introduce you to the breakout board. Then we'll switch over to example code and show you how to interface with the board using an Arduino and our SparkFun LSM303C 6 DOF IMU Breakout Arduino Library.
The tutorial is split into the following sections:
- Breakout Board Overview -- This page examines the LSM303C Breakout Board -- topics like the pinout, jumpers, and schematic are covered.
- Hardware Assembly -- How to assemble the hardware to run some example code.
- Installing the Arduino Library -- How to install the Arduino library, and use a simple example sketch to verify that your hookup works.
- Resources & Going Further -- Resources for learning and doing more with the LSM303C.
This tutorial explains how to use the LSM303C Breakout Board with an Arduino. To follow along, you'll need the following materials:
If you're not familiar with some of the concepts below, we recommend checking out that tutorial before continuing on.