Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.

SparkFun Triple Axis Accelerometer Breakout - LIS3DH

The LIS3DH Breakout is a smart, low-power, three-axis, capacitive micro-machined accelerometer with 12 bits of resolution that you can use to add translation detection to your project. It would be classified as a 3DoF, or 3 Degrees of Freedom. Inertial Measurement Units (or IMUs) can provide additional space location data, such as gyroscopic or magnetometric. The LIS3DH provided on this breakout operates under the same principles but gives a few analog inputs to play with, and it has some built-in movement detection abilities.

The LIS3DH from STMicroelectronics is easy to set up; just wire up your choice of interface (SPI or I2C), supply 3.3V, and ground. This sensor works nicely with a breadboard for easy connection, and, because it gives some mass to the accelerometer, it more closely matches what might be expected from a project or cellphone.

The LIS3DH Breakout is a 3.3V device! Supplying voltages greater than ~3.6V can permanently damage the IC. As long as your Arduino has a 3.3V supply output, and you're fine with using I2C, you shouldn't need any extra level shifting. But if you want to use SPI, you may need a level shifter.

  • 1.7V--3.6V
  • Three Modes:
    • Power-Down
    • Normal
    • Low-Power
  • ±2g/±4g/±8g/±16g Dynamically Selectable Fullscale
  • 10bit, 32-Level FIFO
  • 6D/4D Orientation
  • Free-fall Detection
  • Motion Detection
  • Embedded Temperature Sensor

SparkFun Triple Axis Accelerometer Breakout - LIS3DH Product Help and Resources

LIS3DH Hookup Guide

December 29, 2016

A guide to connecting the LIS3DH to a microcontroller and using the Arduino library.

Interactive LED Name

Pedro Mendez

Name on a box that lights up and has three different patterns that provide a cool light show.

Play Simon and Track Your Memory Skills

Taylor Ballard

Capture and store your wins and losses as you play the Simon game. Send yourself an email if someone else is playing your Simon.

Smart Cash TransitBox

Amol Disale

Smart Cash Box guard to secure ATM cash during transit which gives emergency alert with a live tracking features.

Jump Yo' Rex

Advik Singhania

Play T-Rex game on Google Chrome using Seeeduino XIAO (CircuitPython) and LIS3DH accelerometer.

Core Skill: Soldering

This skill defines how difficult the soldering is on a particular product. It might be a couple simple solder joints, or require special reflow tools.

1 Soldering

Skill Level: Noob - Some basic soldering is required, but it is limited to a just a few pins, basic through-hole soldering, and couple (if any) polarized components. A basic soldering iron is all you should need.
See all skill levels

Core Skill: Programming

If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.

2 Programming

Skill Level: Rookie - You will need a better fundamental understand of what code is, and how it works. You will be using beginner-level software and development tools like Arduino. You will be dealing directly with code, but numerous examples and libraries are available. Sensors or shields will communicate with serial or TTL.
See all skill levels

Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

2 Electrical Prototyping

Skill Level: Rookie - You may be required to know a bit more about the component, such as orientation, or how to hook it up, in addition to power requirements. You will need to understand polarized components.
See all skill levels


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Has anyone hooked up the LIS3DH to an ATTiny84/85? I would very much like some guidance on how to do this. Thanks.

  • My "pet peeve" about I2C parts applies here: Why do the manufacturers "bury" the I2C address (or range of addresses, on a part such as this) down in the bowels of the datasheet? (I've seen one who puts it up in the first page "features" so it's easy to find.)

    BTW, a few months before SparkFun introduced this, I built a project with two 3-DOF sensors (the important measurement was the angle between the two, rather than the orientation relative to the ground). Fortunately I found a 3-DOF sensor that had I2C interface, AND a pin selecting between two I2C addresses. Thus I was able to connect both on the same I2C bus. (Nested BTW: I arranged the two sensors so that one axis was always parallel - thus the relative angle could be calculated using the atan() function, which is fast and does not require the vectors to be normalized.)

    • Sorry, especially when there are more than one and/or ways to change it, it can be a bit much for the product description. Our current standard does have it listed on the schematic so it shouldn't be buried too far.

      • That's OK. I usually look at the datasheet anyway.

        BTW, the Adafruit 3-DOF I was using brought the address selection out to the edge connector. Had I "productized" this project (it got dropped because of FDA obstacles -- your tax dollars hard at work protecting you from improved health [though I heartily agree with some of the things the FDA does, sometimes they are "helicopter" nannies]) I was contemplating a PCB with two connectors that would "pass through" PWR, GND, SCL, and SDA, and "switch" the address, so that the second one in the chain would respond to the other address. Thus the sensors would be interchangeable, only needing one PCB design. Oh well, nice idea while it lasted! ;-) FWIW, the project ran on a MicroView.

Customer Reviews

3.5 out of 5

Based on 2 ratings:

Currently viewing all customer reviews.

1 of 1 found this helpful:

The board is good, the arduino libraries are not intuitive.

The board performs well although the arduino libraries provided by sparkfun are pretty average, I ended up using the adafruit library for this and it is much easier to use.

Works great for this app

Easy to use and does almost all i need.

I really like the simplicity of your arduino library just with it also supported the LIS2DH too.

One issue though, there is only 1 INT pin and i am not using the analog pins.

Any chance there will be a LIS2DH in the future? It is almost 100% register compatible, 2 INT pins, I2C/SPI and a robust increase in features over the LIS3DH.

all said; still a great buy