Creative Commons images are CC BY-NC-SA 3.0

27.95

added to your
shopping cart

quantity
18 available 18 in stock
27.95 1+ units
25.16 10+ units
22.36 100+ units

Description: This is a breakout board for the ultra low-power LIS331HH three axis linear accelerometer. The device has a digital I2C/SPI serial interface which makes it ideal for using in embedded applications. All major pins are broken out to 0.1" spaced headers. It also includes two mounting holes as well.

The LIS331HH is an ultra low-power full-scale three axis MEMS linear accelerometer. It has a digital I2C/SPI serial interface which makes it ideal for using in embedded applications. The device also features ultra low-power operational modes that allow advanced power saving and smart sleep to wake-up functions.

The LIS331HH has dynamically user selectable full scales of +-6g/+-12g/+-24g and is capable of measuring accelerations with output data rates from 0.5 Hz to 1kHz. The self-test capability allows the user to check the functioning of the sensor in the final application.

Not sure which accelerometer is right for you? Our Accelerometer and Gyro Buying Guide might help!

Features:

  • 2.16-3.6V input
  • Ultra low-current mode, down to 10uA
  • 6g/12g/24g selectable
  • I2C/SPI digital output
  • 16 bit data output

Documents:

Comments 15 comments

  • Hello, I am using this accelerometer through SPI. I can read data but I think something is not very good. When I set register 0x20 to 0x37 and then read it, it returns 0x3F (instead of 0x37). Does anybody know why that is happening?

  • I am putting this and an altitude sensor on a model rocket with a data logger. I can’t wait!

  • This is definitely got the range +-6g/+-12g/+-24g right?

    My unit seems to cap at +-2g if i set register to lowest range and +-8 at highest.

    I assume I have scaled in the code correctly because I see a total of 1g when the unit has axis orientated inline with gravity.

    Anybody else seen this?

    • I bought this product months ago, it works fine.

      did you check the lis331 chip on PCB? is it marked as “lis331hh” or something else like “lis331dlh” or ‘lis331dh’?

      if it is lis331hh, it is definitely got the range +-6g/+-12g/+-24g! if no, there must be something wrong.

  • Quick “Hidden Gem” from the Data Sheet - Unlike many I2C devices, doing a multiple-byte read (e.g. to read all x,y,z values) does not automatically advance the register pointer, unless you set bit 7 in the register address. Reading 6 values from register 0x28 returns you the low order x-acceleration byte 6 times - reading 6 values from register 0xA8 will return the 3 axis 16 bit acceleration values.

  • are you sure this thing gives 16-bit data output? From the resolution in the datasheet, it looks like it’s 12-bits not 16… Can someone double-check this please?

    • The data output is 16 bits but right 4 bits are ‘0000’ which is not mentioned in datasheet I think(at least I have not found and I figured out by checking the data output). hope this help.^_^

  • I have been looking to use this board and compile the code.

    The sample code talks about using arduino but the code isn’t for the arduino IDE and I don’t know what was used to compile it.

    Any chance of getting code that works as demo code for the arduino IDE ?

    This device is pretty useless to me atm.

  • Nice accelerometer, but just in case no one’s noticed, the pin labels (back side) are the wrong direction. Not a big deal, but if you’re taking the time to label them, label them correctly.

  • OK. My brilliant plan – output from LIS331 (in SPI mode) to data in (DIN) on an XBee for remote accelerometer (talking to an XBee on an XBee Dongle).
    Problem: the 331 needs a clock circuit (for either SPI or I2C). Suggestions needed ASAP. I don’t think a 555 timer will work, but if it will, can someone give me the C/R1/R2 values if I want 9600 baud SPI output?
    Thanks in advance.

    • Nevermind, these two pages helped:
      http://www.eleinmec.com/article.asp?3
      http://www.csgnetwork.com/ne555timer2calc.html
      Off to RadioShack (sorry!) for a 555 and some resistors…

  • The example code uses the SPI interface, I wrote an I2C implementation here:
    http://code.google.com/p/loguino/source/browse/#svn%2Ftrunk%2Flibraries%2FLIS331

  • when using i2C to write and read the registers of this accer, all the data I read from all registers is 0x31. I already send data 0x37 to register 0x20. Reading the register 0x20 turns out 0x31 and so the other registers. Could anyone help?

  • Why it Accelerometer module in “Breakout Boards”?


Related Products