> **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

# FLORA Accelerometer/Compass Sensor - LSM303 - v1.0

**Type:** Product page · **SKU:** ADA1247 · **Brand:** [Adafruit](https://core-electronics.com.au/brands/adafruit-australia)
**Page:** https://core-electronics.com.au/flora-accelerometer-compass-sensor-lsm303-v1-0.html ([markdown](https://core-electronics.com.au/flora-accelerometer-compass-sensor-lsm303-v1-0.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

Add motion and direction sensing to your wearable FLORA project with this high precision 3-axis Accelerometer+Compass sensor. 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) or how fast the board is accelerating in 3D space. 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 yourself.

Adafruit based this sensor on the latest version of this popular sensor, the LSM303DLHC. The sensor has a digital (I2C) interface. Attaching it to the FLORA is simple: line up the sensor so its adjacent to the SDA/SCL pins and sew conductive thread from the 3V, SDA, SCL and GND pins. They line up perfectly so you will not have any crossed lines. You can only connect one of these sensors to your FLORA, but you can connect other I2C sensors/outputs by using the set of SCL/SDA pins on the opposite side.

Get started with the FLORA Accelerometer with Adafruit's guide on the Adafruit Learning System! It uses the same [Arduino library as Adafruit's conventional form LSM303 breakout. The example and library code](https://github.com/adafruit/Adafruit_LSM303) will work 'out of the box' with FLORA. Simply download Adafruit's library and connect the 3V/SCL/SDA/GND pins, install the library properly and upload Adafruit's test program to read out accelerometer and magnetic field data.

Flora Accelerometer/Compass Sensor - LSM303 ([17:38](https://www.youtube.com/watch?feature=player_detailpage&v=5avUvKLEiLs#t=1058))

## Technical Details

- 0.55"/14mm diameter, 0.07"/1.8mm thick
- This board/chip uses I2C 7-bit addresses 0x32 &amp; 0x3C.

[Datasheets, EagleCAD PCB files, and Fritzing object available in the product tutorial](https://learn.adafruit.com/flora-accelerometer/downloads)

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

## Images

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