Skip to content

Triple-axis Accelerometer+Magnetometer (Compass) Board - LSM303

SKU CED-1120-O
Sold out
Original price $14.95 - Original price $14.95
Original price
$14.95
$14.95 - $14.95
Current price $14.95
Title: LSM303

Get your bearings with the LSM303 Triple Axis Accelerometer / Compass board!  Inside are two sensors, one is a classic 3-axis accelerometer, which can tell you which direction is down towards the Earth (by measuring gravity). The other is a magnetometer that can sense where the strongest magnetic force is coming from, generally used to detect magnetic north. By combining this data you can then orient your project! 

This breakout is based on the latest version of this popular sensor, the LSM303DLHC. This compact sensor uses I2C to communicate and its very easy to use. Since it's a 3.3V max chip, Adafruit added circuitry to make it 5V-safe logic and power, for easy use with either 3 or 5V microcomtrollers. Simply connect VCC to +3-5V and ground to ground. Then read data from the I2C clock and data pins. There's also a Data Ready and two Interrupt pins you can use (check the LSM303 datasheet for details) 

If using with an Arduino, its extra-easy to get started as Adafruit already wrote a nice little Arduino library to get you started. Simply download our library and connect the SCL pin to your Arduino's I2C clock pin, and SDA pin to your Arduino's I2C data pin and upload our test program to read out accelerometer and magnetic field data.

 

TECHNICAL DETAILS

 

Datasheet, Fritzing, and EagleCAD PCB files available in the product tutorial

This board/chip uses I2C 7-bit addresses 0x19 & 0x1E

Compare products

{"one"=>"Select 2 or 3 items to compare", "other"=>"{{ count }} of 3 items selected"}

Select first item to compare

Select second item to compare

Select third item to compare

Compare