Wish List 0

Lis3Dh Triple Axis Accelerometer

Rs. 230.00 Rs. 283.00

-The LIS3DSH is an extremely-low-strength excessive-overall performance three-axis linear accelerometer belonging to the “nano” own family.
-The self-check functionality permits the person to test the functioning of the sensor inside the very last software.
-The LIS3DSH has an incorporated first-in, first-out (FIFO) buffer permitting the consumer to shop records that allows you to limit intervention with the aid of the host processor.
-The tool may be configured to generate interrupt signals activated with the aid of person-defined motion patterns.
-To do that,  embedded finite country machines can be programmed independently for movement detection.
-Each nation machine has 16 states.
-It's low-fee, however has pretty much each 'extra' you would want in an accelerometer.

•  Wide supply voltage, 1.71 V to 3.6 V
•  Motion detection
•  6D/4D orientation detection
•  I2C/SPI digital output interface
•  16 bit data output
•  Free-fall detection
•  Embedded temperature sensor
•  10000 g high shock survivability
•  ± 2g/ ± 4g/ ± 8g/ ± 16g dynamically selectable full-scale
•  Independent IOs supply (1.8 V) and supply voltage compatible
•  Ultra low-power mode consumption down to 2 µ A
•  Embedded self-test
•  Embedded 96 levels of 16 bit data output FIFO
•  ECOPACK® RoHS and ""Green"" compliant"

SPECIFICATION:

-1.7V--3.6V

-±2g/±4g/±8g/±16g Dynamically Selectable Full scale

-10bit, 32-Level FIFO

-6D/4D Orientation

-Free-fall Detection

-Motion Detection

-Embedded Temperature Sensor


Three Modes:

-Power-Down

-Normal

-Low-Power

OVERVIEW:

-Wide supply voltage, 1.71 V to 3.6 V

-Independent IOs supply (1.8 V) and supply

-voltage compatible

-Ultra low-power mode consumption

-down to 2 µA

-±2g/±4g/±8g/±16g dynamically selectable fullscale

-I

-2C/SPI digital output interface

-16 bit data output

-2 independent programmable interrupt

-generators for free-fall and motion detection

-6D/4D orientation detection

-Free-fall detection

-Motion detection

-Embedded temperature sensor

-Embedded self-test

-Embedded 96 levels of 16 bit data output FIFO

-10000 g high shock survivability

-ECOPACK® RoHS and “Green” compliant

PACKAGE INCLUDES:

1 PCS x Lis3Dh 3 Axis Accelerometer


//SOURCE CODE TAKEN FROM BELOW LINK

//https://github.com/sparkfun/LIS3DH_Breakout/blob/master/Libraries/Arduino/examples/ADCUsage/ADCUsage.ino



#include "SparkFunLIS3DH.h"

#include "Wire.h"

#include "SPI.h"


LIS3DH myIMU; //Default constructor is I2C, addr 0x19.


void setup() {

  // put your setup code here, to run once:

  Serial.begin(9600);

  delay(1000); //relax...

  Serial.println("Processor came out of reset.\n");

  

  myIMU.settings.adcEnabled = 1;

  //Note:  By also setting tempEnabled = 1, temperature data is available

  //on ADC3.  Temperature *differences* can be read at a rate of

  //1 degree C per unit of ADC3

  myIMU.settings.tempEnabled = 0;

  myIMU.settings.accelSampleRate = 50;  //Hz.  Can be: 0,1,10,25,50,100,200,400,1600,5000 Hz

  myIMU.settings.accelRange = 2;      //Max G force readable.  Can be: 2, 4, 8, 16

  myIMU.settings.xAccelEnabled = 0;

  myIMU.settings.yAccelEnabled = 0;

  myIMU.settings.zAccelEnabled = 0;

  

  //Call .begin() to configure the IMU

  myIMU.begin();


}


void loop()

{

  //Get all parameters

  Serial.print("\nADC:\n");

  Serial.print(" 1 = ");

  Serial.println(myIMU.read10bitADC1());

  Serial.print(" 2 = ");

  Serial.println(myIMU.read10bitADC2());

  Serial.print(" 3 = ");

  Serial.println(myIMU.read10bitADC3());

  

  delay(300);

}

© 2020 GitHub, Inc.

15 DAYS

Write a review

Please login or register to review