Creative Commons images are CC BY-NC-SA 3.0

Retired RETIRED

This product has been retired from our catalog and is no longer for sale.

This page is made available for those looking for datasheets and the simply curious. Please refer to the description to see if a replacement part is available.

Replacement: None. We are no longer carrying this tilt compensated compass in our catalog. This page is for reference only.

Description: The LSM303DLH is a triple axis MEMS accelerometer combined with a triple axis magnetic sensor. The sensor has an easy to use I2C interface. Supply voltage should be between 2.5 and 3.3 VDC.

Check below for a breakout board!

Features:

  • +- 2/4/8 g dynamically selectable full-scale
  • +-1.3 to +- 8.1 gauss magnetic field full-scale
  • 16-bit data out
  • I2C interface
  • Embedded self-test

Documents:

Comments 8 comments

  • It looks like there is a library on GitHub to turn this into a tilt compensated compass:
    https://github.com/ryantm/LSM303DLH
    I haven’t tried it out though. I’ll add this part to my wish list :)

  • This is NOT a tilt compensated compass. This is a bundle of sensors that can be used to make a tilt compensated compass. There’s lots of computation involved in going between magnetometer readings and compass readings (see the app note).

  • Impressive, the 430 units ran out of stock in few hours…
    I know there is a penury with that chip.

  • Are you guys getting more of these? They’re nowhere to be found.
    And combined with the HMC5843 EOL.. it could be a tough couple months for UAV nerds. :-\

  • I know what I’m spending my freeday money on. Sparkfun read my mind!

  • How does this compare to the pricey HMC6343?

    • This doesn’t output heading in degrees or pitch/roll in degrees. The HMC6343 does. The HMC6343 also has a built in temperature sensor if I’m reading the datasheet right.
      In my opinion, the LSM303 should be should be called a “3-axis accelerometer and 3-axis magnetometer” because of this. You can use it to get pitch, roll, and heading.. but you need a uC to do some maths to get these values (the diydrones site and the app note on this page have helpful information on calculating this).


Related Products