SEN0224

SEN0224 Datasheet


Gravity I2C Triple Axis Accelerometer LIS2DH SKU:SEN0224

Part Datasheet
SEN0224 SEN0224 SEN0224 (pdf)
PDF Datasheet Preview
Gravity I2C Triple Axis Accelerometer LIS2DH SKU:SEN0224

Introduction

DFRobot presents the ultra low-power Arduino triple axis accelerometer! This device is based around a MEMS LIS2DH chip solution and has high-performance ultra-low power mode. The module is fitted with a Gravity I2C interface for easy plug and play integration in to your projects. The build in LDO power management chip gives you a wide range of input voltages, from 5V. The on-board I2C level conversion also makes it compatible with and 5V devices. Compared to traditional ADXL345, The LIS2DH accelerometer has advantages such as extra stability and more efficient power consumption. Low power mode requires only 2uA, while normal mode requires 11uA. At maximum the module supports an output frequency of 5.3KHz. Sensitivity levels are adjustable to either +-2g, +-4g, +-8g or +-16g and the module supports 16-bit data outputs. There are 2 independent programmable interrupt generators for free-fall and motion detection, that will activate interrupt wake-up. This module has many potential applications including wearable tech, display orientation and impact recognition.

Application
• Motion-activated
• Display orientation
• Shake control
• Pedometer
• Gaming and virtual reality input devices
• Impact recognition and logging
• Gravity plug and play interface
• Ultra-low power 2uA
• Fast response rate up to 400KHz
• Low price
• Compact and easy to install

Specification
• Operating Voltage 3.3V ~ 5V
• Operating Current 2uA low-power mode 50Hz ODR / 11uA normal mode 50Hz ODR
• Interface Gravity-I2C interface
• Adjustable Sensitivity ± 2g / ± 4g / ± 8g / ± 16g
• Frequency 1Hz ~ 5.3KHz
• 16-bit data output
• 2 independent programmable interrupt generators for free-fall and motion detection
• 6D/4D orientation detection
• Embedded Temperature Sensor
• Embedded FIFO
• 1 million grams of high impact resistance
• Operating Temperature -40 ~ +85
• Module Size x mm x inches
• Weight 12 g

Tutorial

In this tutorial, we'll show you how does the sensor work.

Requirements
• Hardware DFRduino UNO or similar x 1 Gravity I2C Triple Axis Accelerometer - LIS2DH x1 M-M/F-M/F-F Jumper wires
• Software

Arduino IDE, Click to Download Arduino IDE from

Connection Diagram

LIS2DH VCC GND SDA SCL

Arduino 5V / 3V3

GND A4 SDA A5 SCL

Sample Code

Click to download Arduino LIS2DH Library How to install Libraries in Arduino IDE
/*! * testLIS2DH12.ino * DFRobot's Read LIS2DH12 data * This example is in order to achieve the serial port to receive LIS2DH12
back to the data * * 2016 * GNU Lesser General Public License * * V1.0 * 2016-10-13 * */
#include <Wire.h> #include <DFRobot_LIS2DH12.h>

DFRobot_LIS2DH12 LIS //Accelerometer
void Wire.begin Serial.begin 115200 while !Serial delay 100 ;
// Set measurement range // Ga LIS2DH12_RANGE_2GA // Ga LIS2DH12_RANGE_4GA // Ga LIS2DH12_RANGE_8GA
// Ga LIS2DH12_RANGE_16GA while LIS.init LIS2DH12_RANGE_16GA == //Equipment connection excepti on or I2C address error

Serial.println "No I2C devices found" delay 1000 ;
void acceleration ;
/*! * Print the position result. */
void acceleration void
int16_t x, y, z;
delay 100 LIS.readXYZ x, y, z LIS.mgScale x, y, z Serial.print "Acceleration x " //print acceleration Serial.print x Serial.print " mg " Serial.print y Serial.print " mg " Serial.print z Serial.println " mg" ;

Expected Results

Open the Serial monitor, you'll get the following data.
5-3-17
More datasheets: 2363 | 2365 | 2367 | 2369 | 2371 | 2373 | FFAF40U60DNTU | 22-21UBC/C430/TR8 | 727 | AAH-438-28.63636MHZ-T3


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 SEN0224 Datasheet file may be downloaded here without warranties.

Datasheet ID: SEN0224 509121