Fermion: LIS2DW12 Triple Axis Accelerometer

SKU: SEN0405

The LIS2DW12 is an ultra-low power three-axis linear accelerometer designed for versatile motion and acceleration detection, featuring programmable interrupts, selectable full scales, varied output data rates, and multiple operating modes for smart power saving and enhanced functionality.

Front of LIS2DW12 3-axis accelerometer module with microcontroller and pins-DFRobot product sku:SEN0405 image.
  • Docs
  • Tech Specs
  • 1. For M0--Sample code 1-Read acceleration of x, y and z(getAcceleration.ino)

    2. For M0--Sample code 2-Wakeup function(wakeUp.ino)

    3. For M0--Sample code 3-Tap detection(tap.ino)

    4. For M0--Sample code 4-Tap interrupt function(tapInterrupt.ino)

    5. For M0--Sample Code 5-Free fall detection function(freeFall.ino)

    6. For M0--Sample code 6-Free fall interrupt function(freeFallInterrupt.ino)

    7. For M0--Sample code 7-Motion detection(activityDetect.ino)

    8. For M0--Sample code 8-Orientation detection(orientation.ino)

    9. For Raspberry Pi--Sample code 1-Read acceleration of x, y and z(get_acceleration.py)

    10. For Raspberry Pi--Sample code 2-Wakeup function(wake_up.py)

    11. For Raspberry Pi--Sample code 3-Tap detection(tap.py)

    12. For Raspberry Pi--Sample code 4-Free fall detection function(free_fall.py)

    13. For Raspberry Pi--Sample code 5-Free fall interrupt function(interrupt.py)

    14. For Raspberry Pi--Sample code 6-Motion detection(activity_detect.py)

    15. For Raspberry Pi--Sample code 7-Orientation detection(orientation.py)

    Reference

    Specification

    Parameter Description
    Working Voltage 3.3 V
    Working Current 50 nA (low power mode) / 0.17 mA (high performance mode)
    Interface Mode I²C / SPI
    I²C Address 0x19 (default) / 0x18 (optional, pull down SDO pin to select)
    Measurement Range ±2 g / ±4 g / ±8 g / ±16 g
    Data Output 16-bit
    Output Data Rate 1.6 Hz – 1600 Hz
    Noise Density 1.3 mg RMS (low power mode)
    FIFO 32-level FIFO (first-in, first-out)
    Shock Survivability 10,000 g
    Compliance ECOPACK, RoHS, Green compliant
    Operating Temperature −40 °C to +85 °C
    Module Size 15 × 20 mm (0.59 × 0.79 inch)

    Board Overview

    三轴加速度计
    三轴加速度计

    No. Silkscreen Description
    1 VCC 5V/3V3
    2 GND GND
    3 SCL I2C Clock Line/SPI Clock Line
    4 SDA I2C Data Line/SPI Data Line
    5 INT2 Interrupt Pin 2
    6 INT1 Interrupt Pin 1
    7 CS SPI chip-select line
    8 SDO I2C Address select pin/SPI data line MOSI

    Note:

    • All data outputs from this sensor average 3.3 V. For use with 5V masters such as the UNO, MEGA2560, etc., a 4-channel level shifter module is recommended.
    • The I2C address of micro:bit (v1.5 version) conflicts with the sensor I2C address 0x19, so please select 0x18
    • Pull down the SDO pin to switch the I2C address: 0x18

    Connections for different communication methods:

    • I2C: 0x19(Default)

    1

    • I2C: 0x18

    2

    • SPI

    3

    • Interrupt pin connection
    Mainboard Default connected pin
    UNO/MEGA2560 D2
    Leonardo D3
    Micro:bit P0
    ESP32/ESP8266/ARDUINO_SAM_ZERO D6
    Raspberry Pi GPIO25

    Note:All data outputs from this sensor average 3.3 V. For use with 5V masters such as the UNO, MEGA2560, etc., a 4-channel level shifter module is recommended.

    Was this article helpful?

    TOP