STMicroelectronics LSM6DS3 Accelerometer Gyroscope(I2C): Difference between revisions

From Visuino
Jump to navigation Jump to search
Created page with "Image:TArduinoLSM6DS3.png == Summary == The STMicroelectronics LSM6DS3 Accelerometer Gyroscope component provides 6-axis motion tracking with advanced features including pedometer, tap detection, and free-fall detection. It communicates using the I2C interface and outputs comprehensive motion data. == Description == The LSM6DS3 is a high-performance 6-axis inertial measurement unit (IMU) that combines a 3-axis accelerometer and 3-axis gyroscope with embedded pedome..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 30: Line 30:
*'''Gyroscope''' – Gyroscope configuration.
*'''Gyroscope''' – Gyroscope configuration.
**'''Enabled''' – Enables gyroscope (Default: True).
**'''Enabled''' – Enables gyroscope (Default: True).
**'''Full Scale Range''' – Angular rate range (Default: 2000).
**'''Full Scale Range (dps)''' – Angular rate range (Default: 2000).
**'''High Pass Filter''' – High-pass filter settings.
**'''High Pass Filter''' – High-pass filter settings.
***'''Cutoff Frequency''' – Filter cutoff frequency (Default: 0.0081).
***'''Cutoff Frequency (Hz)''' – Filter cutoff frequency (Default: 0.0081).
***'''Enabled''' – Enables filter (Default: False).
***'''Enabled''' – Enables filter (Default: False).
**'''High Performance''' – High-performance mode (Default: False).
**'''High Performance''' – High-performance mode (Default: False).
**'''Orientation Axes''' – Orientation axes configuration.
***'''Axes''' – Active axes (Default: XYZ).
***'''Invert X''' – X-axis inversion (Default: False).
***'''Invert Y''' – Y-axis inversion (Default: False).
***'''Invert Z''' – Z-axis inversion (Default: False).
**'''Power Down''' – Power-down mode (Default: False).
**'''Sample Rate (Hz)''' – Sampling rate (Default: 1660).
**'''Sleep''' – Sleep mode (Default: False).
*'''Name''' – Component identifier.
*'''Orientation''' – Orientation detection.
*'''Orientation''' – Orientation detection.
**'''Axes''' – Active axes (Default: XYZ).
**'''2D Mode''' – 2D orientation mode (Default: False).
**'''InvertX''' – X-axis inversion (Default: False).
**'''Enabled''' – Enables orientation detection (Default: True).
**'''InvertY''' – Y-axis inversion (Default: False).
**'''InvertZ''' – Z-axis inversion (Default: False).
**'''Mode2D''' – 2D mode (Default: False).
**'''Threshold''' – Detection threshold (Default: 80).
**'''Threshold''' – Detection threshold (Default: 80).
*'''Pedometer''' – Step counting configuration.
*'''Pedometer''' – Step counting configuration.
Line 73: Line 79:
== Pins ==
== Pins ==
=== Input Pins ===
=== Input Pins ===
*'''Reset''' (digital) – Reset input signal.
*'''Gyroscope Reset''' (clock) – Reset signal for gyroscope.
*'''Sensor''' (i2c) – I2C communication interface.
*'''Pedometer Reset''' (clock) – Reset signal for pedometer.
*'''Reset''' (digital) – Reset signal for gyroscope and pedometer.
*'''Clock''' (digital) – Clock input for pedometer synchronization.
*'''Reboot Memory''' (digital) – Memory reboot control input.


=== Output Pins ===
=== Output Pins ===
*'''Gyroscope''' – Gyroscope outputs.
*'''Gyroscope Out X''' (analog) X-axis angular velocity measurement in dps.
**'''High Pass Filter''' – Filtered output.
*'''Gyroscope Out Y''' (analog) Y-axis angular velocity measurement in dps.
**'''Out''' (analog) – Main gyroscope output.
*'''Gyroscope Out Z''' (analog) – Z-axis angular velocity measurement in dps.
*'''Pedometer''' – Step counting outputs.
*'''Pedometer Count''' (integer) – Step count output.
**'''Reset''' (digital) – Pedometer reset.
*'''Pedometer Step''' (digital) – Step detection pulse output.
**'''Count Step''' (digital) – Step count output.
*'''Pedometer Overflow''' (digital) – Step counter overflow indicator.
**'''Overflow''' (digital) – Counter overflow.
*'''Accelerometer Out X''' (analog) – X-axis acceleration measurement in G.
*'''Accelerometer''' – Acceleration outputs.
*'''Accelerometer Out Y''' (analog) Y-axis acceleration measurement in G.
**'''Reset''' (digital) – Accelerometer reset.
*'''Accelerometer Out Z''' (analog) – Z-axis acceleration measurement in G.
**'''Out''' (analog) – Main acceleration output.
*'''Thermometer Out''' (analog) – Temperature measurement output.
**'''X(G)''' (analog) – X-axis acceleration.
*'''Tap X Single Up''' (digital) – X-axis single tap upward detection.
**'''Y(G)''' (analog) – Y-axis acceleration.
*'''Tap X Single Down''' (digital) – X-axis single tap downward detection.
**'''Z(G)''' (analog) – Z-axis acceleration.
*'''Tap X Double Up''' (digital) – X-axis double tap upward detection.
*'''Thermometer''' – Temperature output.
*'''Tap X Double Down''' (digital) – X-axis double tap downward detection.
**'''Out''' (analog) – Temperature measurement.
*'''Tap Y Single Up''' (digital) – Y-axis single tap upward detection.
*'''Tap''' – Tap detection outputs.
*'''Tap Y Single Down''' (digital) Y-axis single tap downward detection.
**'''Axes''' – Axis-specific tap detection.
*'''Tap Y Double Up''' (digital) – Y-axis double tap upward detection.
***'''Single''' – Single tap outputs.
*'''Tap Y Double Down''' (digital) Y-axis double tap downward detection.
****'''Down''' (digital) – Single tap detected.
*'''Tap Z Single Up''' (digital) Z-axis single tap upward detection.
***'''Double''' – Double tap outputs.
*'''Tap Z Single Down''' (digital) Z-axis single tap downward detection.
****'''Down''' (digital) – Double tap detected.
*'''Tap Z Double Up''' (digital) – Z-axis double tap upward detection.
*'''Free Fall''' (digital) – Free-fall detection output.
*'''Tap Z Double Down''' (digital) Z-axis double tap downward detection.
*'''Orientation''' (digital) – Orientation detection output.
*'''Sleep Out''' (digital) – Sleep mode detection output.
*'''WakeUp X''' (clock) – X-axis wake-up event detection output.
*'''WakeUp Y''' (clock) – Y-axis wake-up event detection output.
*'''WakeUp Z''' (clock) – Z-axis wake-up event detection output.
*'''Free Fall Out''' (digital) – Free-fall detection output.
*'''Orientation Out''' – Orientation angle/output.
*'''Sensor''' (I2C) – I2C connection


== Categories ==
== Categories ==

Latest revision as of 06:34, 11 September 2025

File:TArduinoLSM6DS3.png

Summary

The STMicroelectronics LSM6DS3 Accelerometer Gyroscope component provides 6-axis motion tracking with advanced features including pedometer, tap detection, and free-fall detection. It communicates using the I2C interface and outputs comprehensive motion data.

Description

The LSM6DS3 is a high-performance 6-axis inertial measurement unit (IMU) that combines a 3-axis accelerometer and 3-axis gyroscope with embedded pedometer, tap detection, and free-fall detection capabilities. It features programmable digital filters, configurable full-scale ranges, and intelligent interrupt generation. The sensor provides low-power operation with high accuracy, making it suitable for applications such as wearable devices, activity tracking, gesture recognition, and impact detection systems.

Diagram:

Properties

  • Accelerometer – Accelerometer configuration.
    • Anti Aliasing Filter – Anti-aliasing filter settings.
      • Bandwidth – Filter bandwidth (Default: 400).
      • Enabled – Enables filter (Default: False).
    • Enabled – Enables accelerometer (Default: True).
    • Full Scale Range – Acceleration measurement range.
    • High Performance – High-performance mode (Default: False).
    • Power Down – Power-down mode (Default: False).
    • Sample Rate (Hz) – Sampling rate (Default: 1660).
  • Address – I2C device address (Default: 0x6A).
  • Data Ready Mask Enable – Data ready masking (Default: False).
  • Enabled – Enables component functionality (Default: True).
  • Free Fall – Free-fall detection settings.
    • Duration – Detection duration (Default: 0.095238).
    • Enabled – Enables free-fall detection (Default: True).
    • Threshold – Detection threshold (Default: 0.42857).
  • Gyroscope – Gyroscope configuration.
    • Enabled – Enables gyroscope (Default: True).
    • Full Scale Range (dps) – Angular rate range (Default: 2000).
    • High Pass Filter – High-pass filter settings.
      • Cutoff Frequency (Hz) – Filter cutoff frequency (Default: 0.0081).
      • Enabled – Enables filter (Default: False).
    • High Performance – High-performance mode (Default: False).
    • Orientation Axes – Orientation axes configuration.
      • Axes – Active axes (Default: XYZ).
      • Invert X – X-axis inversion (Default: False).
      • Invert Y – Y-axis inversion (Default: False).
      • Invert Z – Z-axis inversion (Default: False).
    • Power Down – Power-down mode (Default: False).
    • Sample Rate (Hz) – Sampling rate (Default: 1660).
    • Sleep – Sleep mode (Default: False).
  • Name – Component identifier.
  • Orientation – Orientation detection.
    • 2D Mode – 2D orientation mode (Default: False).
    • Enabled – Enables orientation detection (Default: True).
    • Threshold – Detection threshold (Default: 80).
  • Pedometer – Step counting configuration.
    • Debounce – Step debounce settings.
      • Threshold – Debounce threshold (Default: 6).
      • Time (mS) – Debounce time (Default: 1040).
    • Enabled – Enables pedometer (Default: True).
    • Min Threshold (mg) – Minimum step threshold (Default: 256).
    • Sleep – Sleep detection settings.
      • Duration – Sleep/wake durations.
        • Sleep – Sleep duration (Default: 0.13333).
        • Wake – Wake duration (Default: 0.666667).
      • Enabled – Enables sleep detection (Default: True).
      • Threshold – Sleep threshold (Default: 0.031746).
      • Use High Pass Filter – Use filter for sleep detection (Default: False).
  • Tap – Tap detection configuration.
    • Axes – Tap detection axes.
      • X – X-axis tap detection (Default: True).
      • Y – Y-axis tap detection (Default: True).
      • Z – Z-axis tap detection (Default: True).
    • Double Tap – Double-tap settings.
      • Enabled – Enables double-tap detection (Default: True).
      • Max Gap Duration – Maximum gap between taps (Default: 0.5333333).
    • Duration – Tap duration settings.
      • Quiet – Quiet duration (Default: 0).
      • Shock – Shock duration (Default: 0).
    • Threshold – Tap threshold (Default: 0.258).
  • Thermometer – Temperature sensor configuration.
    • Enabled – Enables temperature sensor (Default: True).
    • In Fahrenheit – Fahrenheit output (Default: False).

Pins

Input Pins

  • Gyroscope Reset (clock) – Reset signal for gyroscope.
  • Pedometer Reset (clock) – Reset signal for pedometer.
  • Reset (digital) – Reset signal for gyroscope and pedometer.
  • Clock (digital) – Clock input for pedometer synchronization.
  • Reboot Memory (digital) – Memory reboot control input.

Output Pins

  • Gyroscope Out X (analog) – X-axis angular velocity measurement in dps.
  • Gyroscope Out Y (analog) – Y-axis angular velocity measurement in dps.
  • Gyroscope Out Z (analog) – Z-axis angular velocity measurement in dps.
  • Pedometer Count (integer) – Step count output.
  • Pedometer Step (digital) – Step detection pulse output.
  • Pedometer Overflow (digital) – Step counter overflow indicator.
  • Accelerometer Out X (analog) – X-axis acceleration measurement in G.
  • Accelerometer Out Y (analog) – Y-axis acceleration measurement in G.
  • Accelerometer Out Z (analog) – Z-axis acceleration measurement in G.
  • Thermometer Out (analog) – Temperature measurement output.
  • Tap X Single Up (digital) – X-axis single tap upward detection.
  • Tap X Single Down (digital) – X-axis single tap downward detection.
  • Tap X Double Up (digital) – X-axis double tap upward detection.
  • Tap X Double Down (digital) – X-axis double tap downward detection.
  • Tap Y Single Up (digital) – Y-axis single tap upward detection.
  • Tap Y Single Down (digital) – Y-axis single tap downward detection.
  • Tap Y Double Up (digital) – Y-axis double tap upward detection.
  • Tap Y Double Down (digital) – Y-axis double tap downward detection.
  • Tap Z Single Up (digital) – Z-axis single tap upward detection.
  • Tap Z Single Down (digital) – Z-axis single tap downward detection.
  • Tap Z Double Up (digital) – Z-axis double tap upward detection.
  • Tap Z Double Down (digital) – Z-axis double tap downward detection.
  • Sleep Out (digital) – Sleep mode detection output.
  • WakeUp X (clock) – X-axis wake-up event detection output.
  • WakeUp Y (clock) – Y-axis wake-up event detection output.
  • WakeUp Z (clock) – Z-axis wake-up event detection output.
  • Free Fall Out (digital) – Free-fall detection output.
  • Orientation Out – Orientation angle/output.
  • Sensor (I2C) – I2C connection

Categories