Adafruit Triple-axis Accelerometer + Magnetometer (Compass) Board - Pimoroni
Added to cart

£0 0 items   View
Checkout

Adafruit Triple-axis Accelerometer + Magnetometer (Compass) Board

ADA1120
  • £15.50

    2 left

This handy little breakout is the perfect way to orientate your project!

  • Based on the latest version of the LSM303DLHC this breakout contains two sensors
  • One classic 3-axis accelerometer, which can tell you which direction is down towards the Earth (by measuring gravity).
  • One 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!
  • Communicates using I2C
  • Since it's a 3.3V max chip, there is added circuitry to make it 5V-safe logic and power, for easy use with either 3 or 5V microcomtrollers
  • This board/chip uses I2C 7-bit addresses 0x32 & 0x3C

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 have already written a nice little Arduino library to get you started. 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.

Tutorials & Projects

Reviews

Customer Reviews

Based on 1 review Write a review