> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

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

**Type:** Product page · **SKU:** ADA1120 · **Brand:** [Adafruit](https://core-electronics.com.au/brands/adafruit-australia)
**Page:** https://core-electronics.com.au/triple-axis-accelerometer-magnetometer-compass-board-lsm303.html ([markdown](https://core-electronics.com.au/triple-axis-accelerometer-magnetometer-compass-board-lsm303.html.md))

## Retired product

This product is retired and no longer available for purchase. Search the catalogue for an alternative.

## How to buy

- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## Description

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, Adafruit 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 (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.](https://github.com/adafruit/Adafruit_LSM303) Simply download Adafruit's 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 Adafruit's test program to read out accelerometer and magnetic field data.

## Technical Details

[Datasheet, Fritzing, and EagleCAD PCB files available in the product tutorial](https://learn.adafruit.com/lsm303-accelerometer-slash-compass-breakout/downloads)

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

 ![](https://core-electronics.com.au/media/wysiwyg/resources/rohs_icon.jpg)

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/1/1/1120-00.jpg)
