Web only

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

Price match guranteePrice match guarantee

We can price match this item if found elsewhere. Call us on:

0333 400 9500

Quoting product code: N46DQ

£15.49

Our delivery options

Free standard delivery (orders over £10)
3-5 working days 9am-5pm
FREE
Standard delivery (orders under £10)
3-5 working days 9am-5pm
£2.99
Next day delivery
Mon - Fri, order by 6pm
From £5.99
Specific day/time delivery
Choose am / pm OR before 9am / 10.30am
From £5.99
Same day delivery with Shutl
Choose a 1 hour time slot
Prices vary

Specific options for this product are available in the checkout. Read more delivery information

About this product

Overview

  • Two sensors - one 3-axis accelerometer, one magnetometer
  • Uses I2C to communicate
  • 3.3V max chip, but added circuitry makes it 5V safe

Product overview

• Two sensors - one 3-axis accelerometer, one magnetometer
• Uses I2C to communicate
• 3.3V max chip, but added circuitry makes it 5V safe

He told you ""Go West, young maker!"" - but you don't know which way is West! Ah, if only you had this triple-axis accelerometer/magnetometer compass module. 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! Adafruit based this breakout 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, they added circuitry to make it 5V-safe logic and power, for easy use with either 3 or 5V microcontrollers. 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

If using with an Arduino, its extra-easy to get started as Adafruit already wrote a nice little Arduino library to get you started click here

Simply download their 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 the test program to read out accelerometer and magnetic field data.

Downloads