Introduction
The LSM303DLH is a triple axis accelerometer combined with a triple axis magnetic sensor. This breakout board uses the LSM303DLH to give you the data you need to feed into a arduino microcontroller and calculate tilt-compensated output.
Specifications
Power supply: 3.6~8V DC
Chip: LSM303DLH
±1.3 to ±8,1 gauss magnetic field full-scale
±2 g/±4 g/±8 g dynamically selectable fullscale
16-bit data out
I2C serial interface
2 independent programmable interrupt
generators for free-fall and motion detection
Embedded self-test
Accelerometer sleep-to-wakeup function
6D orientation detection
Dimensions: 20.5mmx20.5mm
Weight: 1g
Applications
- Compensated compassing
- Map rotation
- Position detection
- Motion-activated functions
- Free-fall detection
- Intelligent power-saving for handheld devices
- Display orientation
- Gaming and virtual reality input devices
- Impact recognition and logging
- Vibration monitoring and compensation
Tutorial
Requirements
Hardware
- DFRduino UNO R3 (or similar) x 1
- LSM303 Breakout Board x 1
Software
- Arduino IDE
- Download and install the LSM303 Library.
- About how to install the library?
Connection Diagram
Sample Code
(Read Navigation Angle)
Sample Code
(Read Raw Data)
More Documents
Get LSM303 Breakout Board - Tilt Compensated Compass from DFRobot Store or DFRobot Distributor.