Gravity: 6 DOF IMU Sensor

SKU: SEN0692

The Gravity: 6 DOF IMU Sensor combines a 3-axis accelerometer and gyroscope for advanced motion detection capabilities, including step counting and tilt detection. It supports both I2C and UART communication, making it versatile for various projects. With open-source Arduino and Python code libraries, this sensor is ideal for enthusiasts looking to integrate comprehensive motion tracking in their applications.

Downloadable Resources

  • Docs
  • Tech Specs
  • 1. Example Code for Arduino-Reading Data via I2C

    This tutorial guides you through initializing a 6 DOF IMU sensor and reading accelerometer and gyroscope data using I2C polling. Ideal for tech enthusiasts looking to enhance their projects with precise motion sensing capabilities.

    2. Usage Example for Host Computer Software

    This guide provides a detailed walkthrough on connecting the 6 DOF IMU sensor to the RainbowLink V2 using host computer software. The process includes hardware and software setup, configuring communication modes, and collecting real-time data such as acceleration and gyroscope values.

    3. Example Code for Arduino-Reading Data via UART and Interrupts

    Explore how to configure a 6 DOF IMU sensor to trigger a hardware interrupt for real-time data acquisition. Learn to read accelerometer and gyroscope data efficiently in the interrupt service routine.

    4. Example Code for Arduino-Reading Accumulated Step Count via I2C

    Explore how to configure a 6 DOF IMU sensor's pedometer with an ESP32-C5 controller, using I2C to read accumulated step counts. This tutorial is ideal for developing projects in robotics or fitness applications. Follow our step-by-step guide to ensure stable readings by polling once per second.

    5. Modbus Register Definitions

    This guide details Modbus Register Definitions, covering both input and holding registers. Learn about function codes and how to read 3-axis acceleration data from a 6DOF IMU sensor.

    Reference

    Specification

    Basic Parameters

    Parameter Value
    Operating Voltage DC 3.3–5 V
    Operating Current 3.1 mA
    Communication Interface I2C / UART
    Interface Type PH2.0-4P (Gravity pin order) / 2.54 mm pin header
    I2C Address 0x4A (default) / 0x4B / 0x4C / 0x4D
    Programmable Interrupt Pins BMI323: 2 channels

    Accelerometer Parameters

    Parameter Value
    Measurement Range ±2 g, ±4 g, ±8 g, ±16 g
    ADC Resolution 16-bit
    Sensitivity ±2 g range: 16384 LSB/g±4 g range: 8192 LSB/g±8 g range: 4096 LSB/g±16 g range: 2048 LSB/g
    Sensitivity Error ±0.5%
    Zero-g Offset ±50 mg
    Output Data Rate (ODR) High Performance / Normal Mode: 12.5 Hz ~ 6400 HzLow Power Mode: 0.78125 Hz ~ 400 Hz

    Gyroscope Parameters

    Parameter Value
    Angular Velocity Range ±125, ±250, ±500, ±1000, ±2000 °/s
    ADC Resolution 16-bit
    Sensitivity ±2000 °/s range: 16.384 LSB/(°/s)±1000 °/s range: 32.768 LSB/(°/s)±500 °/s range: 65.536 LSB/(°/s)±250 °/s range: 131.072 LSB/(°/s)
    Sensitivity Error ±3% (without auto-calibration) / ±0.7% (after auto-calibration)
    Zero-rate Offset ±1 °/s
    Output Data Rate (ODR) High Performance / Normal Mode: 12.5 Hz ~ 6400 HzLow Power Mode: 0.78125 Hz ~ 400 Hz

    Physical Dimensions

    Parameter Value
    PCB Size 32 mm × 27 mm
    Mounting Hole Spacing 20 mm
    Mounting Hole Diameter 3 mm

    Pinout

    SEN0692-Pinout

    Interface Pin Description

    Pin Silkscreen Function Description
    + Positive Power Supply (Input: 3.3–5 V)
    - Negative Power Supply (GND)
    C/R Multifunction Pin: SCL in I2C mode, RXD in UART mode
    D/T Multifunction Pin: SDA in I2C mode, TXD in UART mode
    INT1 BMI323 Interrupt Output Pin 1
    INT2 BMI323 Interrupt Output Pin 2

    I2C Address Setting Switch Description

    I2C Address A0 A1
    0x4A 0 0
    0x4B 1 0
    0x4C 0 1
    0x4D 1 1

    Notes

    • The setting of the I2C/UART Switch is saved when powered off. The new mode takes effect after restarting the device.

    Was this article helpful?

    TOP