SEN0079

SEN0079 Datasheet


LSM303 Tilt Compensated Compass SEN0079

Part Datasheet
SEN0079 SEN0079 SEN0079 (pdf)
PDF Datasheet Preview
LSM303 Tilt Compensated Compass SEN0079

Contents
• 1 Introduction
• 2 Specifications
• 3 Applications
• 4 Connection Diagram
• 5 Download library
• 6 Sample Code Read Navigation Angle
• 7 Sample Code Read Raw Data

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 microcontroller and calculate tilt-compensated output.

Specifications
• Power supply 3.6~8V DC
• Chip LSM303DLH
• 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
• 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

Connection Diagram

SEN0079 connection diagram---IIC

Download library

Download related Library. About Library installation.

Sample Code Read Navigation Angle
* NavigationAngleRead.ino
* DFRobot's Manentic Sensor,This program continuously reads the accel erometer and magnetometer,
communicating the readings over the serial interface. You can displ
ay the readings with the Arduino Serial Monitor.
* [Get the module
* This example get the four lightest positions of the IR sources.
* [Connection and %9F%E5%99%A8
* 2016
* GNU Lesser General Public License
* V1.0
* 2016-07-11
#include <MagneticSensorLsm303.h>

MagneticSensorLsm303 compass;
void setup Serial.begin 9600 compass.init compass.enable ;
void loop compass.read float heading = compass.getNavigationAngle Serial.print "Navigation Angle " Serial.println heading,3 ;
delay 500 // delay for serial readability

Sample Code Read Raw Data
* MagneticRawData.ino
* DFRobot's Manentic Sensor,This program continuously reads the accel erometer and magnetometer,
communicating the readings over the serial interface. You can displ
ay the readings with the Arduino Serial Monitor.
* [Get the module
* This example get the four lightest positions of the IR sources.
* [Connection and %9F%E5%99%A8
* 2016
* GNU Lesser General Public License
* V1.0
More datasheets: M3436 SL005 | M3436 SL001 | A8295SESTR-T | 572 | NFS110-7602J | NFS110-7604PJ | NFS40-7615J | NFS110-7612J | NFS110-7601J | NFS110-7624J


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived SEN0079 Datasheet file may be downloaded here without warranties.

Datasheet ID: SEN0079 509051