Adafruit LSM303AGR Accelerometer Magnetometer - STEMMA QT Qwiic
Qty | Discount |
---|---|
1-9 | $12.50 |
10-99 | $11.25 |
100+ | $10.00 |
Description
Do you know which way the wind blows? You will now, with 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!
We based this breakout on the latest version of the popular LSM303 sensor, the LSM303AGR. This compact sensor uses I2C to communicate and its very easy to use. Simply download our library and connect the SCL pin to your I2C clock pin, and SDA pin to your I2C data pin and upload our test program to read out accelerometer and magnetic field data.
To make life easier so you can focus on your important work, we've taken the LSM303AGR and put it onto a breakout PCB along with support circuitry to let you use this little wonder with 3.3V (Feather/Raspberry Pi) or 5V (Arduino/ Metro328) logic levels. Additionally, since it speaks I2C you can easily connect it up with two wires (plus power and ground!). We've even included SparkFun qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder! Just wire up to your favorite micro and you can use our CircuitPython/Python or Arduino drivers to easily interface with the LSM303 and get compass measurements ASAP. QT Cable is not included, but we have a variety in the shop.
It's fully assembled and tested. Comes with a bit of 0.1" standard header in case you want to use it with a breadboard or perfboard. Four 2.5mm (0.1") mounting holes for easy attachment.
Note: Qwiic cables are not included but are available at https://www.adafruit.com/category/619
Technical Details
Datasheet, Fritzing, and EagleCAD PCB files available in the product tutorial
This board/chip uses I2C 7-bit addresses 0x19 & 0x1E
- ±50 gauss magnetic dynamic range
- 1.5 mGauss magnetic sensitivity
- Accelerometer ranges: ±2/±4/±8/±16 g
- As little as 1mg accelerometer sensitivity
Revision History:
- As of May 15, 2023 – we've updated this PCB with Adafruit Pinguin to make a lovely and legible silkscreen - you may get the new PCB or the older version with vector fonts - both are identical other than the fancy silkscreen. Additionally, this sensor breakout may come with black or tan STEMMA QT connectors. They work the same!
- As of June 17, 2022 - This board may come with a different regulator than AP2112K due to parts shortages. The regulator can provide at least 150mA.
Product Dimensions: 25.4mm x 17.7mm x 4.6mm / 1.0" x 0.7" x 0.2"
Product Weight: 1.7g / 0.1oz
Learn
-
Mouser Electronics
United States -
van alles en meer
Netherlands -
Optimus Digital SRL
Romania -
Robotscience
South Korea -
Makersify
United Kingdom -
The Pi Hut
United Kingdom -
Kiwi Electronics
Netherlands -
Core Electronics
Australia -
Cool Components
United Kingdom -
Digi-Key Electronics
United States -
NTREX, Inc.- Devicemart
South Korea -
Snail Instruments
Czech Republic -
BerryBase
Germany
See our Distributors page for a complete list of distributors.