STMicroelectronics LSM6DS3 Accelerometer Gyroscope(I2C): Difference between revisions

From Visuino
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 79: Line 79:
== Pins ==
== Pins ==
=== Input 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.
*'''Reset''' (digital) – Reset signal for gyroscope and pedometer.
*'''Clock''' (digital) – Clock input for pedometer synchronization.
*'''Clock''' (digital) – Clock input for pedometer synchronization.
Line 87: Line 89:
*'''Gyroscope Out Y''' (analog) – Y-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.
*'''Gyroscope Out Z''' (analog) – Z-axis angular velocity measurement in dps.
*'''Pedometer Count''' (analog) – Step count output.
*'''Pedometer Count''' (integer) – Step count output.
*'''Pedometer Step''' (digital) – Step detection pulse output.
*'''Pedometer Step''' (digital) – Step detection pulse output.
*'''Pedometer Overflow''' (digital) – Step counter overflow indicator.
*'''Pedometer Overflow''' (digital) – Step counter overflow indicator.
Line 107: Line 109:
*'''Tap Z Double Down''' (digital) – Z-axis double tap downward detection.
*'''Tap Z Double Down''' (digital) – Z-axis double tap downward detection.
*'''Sleep Out''' (digital) – Sleep mode detection output.
*'''Sleep Out''' (digital) – Sleep mode detection output.
*'''WakeUp''' (digital) – Wake-up event 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.
*'''Free Fall Out''' (digital) – Free-fall detection output.
*'''Orientation Out''' (analog) – Orientation angle/output.
*'''Orientation Out''' – Orientation angle/output.
*'''Orientation Sensor''' (digital) – Orientation sensor status/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