Qwiic 6DoF - ISM330DHCX Hookup Guide
Hardware Overview
ISM330DHCX 6DoF
The ISM330DHCX is a small, system-in-package from STMicroelectronics featuring a high-performance 3D digital accelerometer and 3D digital gyroscope capable of wide bandwidth, ultra-low noise and a selectable full-scale range of ±2/±4/±8/±16 g. The 3D gyroscope has an angular rate range of ±125/±250/±500/±1000/±2000/±4000 dps and offers superior stability over temperature and time along with ultra-low noise.
|
|
ISM330DHCX on the Qwiic 6DoF 1x1" Breakout | ISM330DHCX on the Qwiic Micro 6DoF Breakout |
The ISM330DHCX can run in four different modes:
Mode 1
This is the default "peripheral only" mode. This mode allows you to use either I2C or SPI. By default, I2C is enabled with an address of 0x6B. By manipulating the associated jumper, you can change the I2C address to 0x6A (cut the power side and close the ground side) or switch to SPI mode (both jumpers open).
Mode 2
This mode enables a secondary I2C port that the 6DoF controls; up to 4 external sensors can be connected to the I2C controller interface of the device. External sensors communicate via the SCX and SDX (PICOX) lines - the SCX jumper will need to be opened.
Modes 3 & 4
In addition to the primary I²C peripheral interface or SPI (3- / 4-wire) serial interface, an auxiliary SPI (3- / 4-wire) serial interface is available for external device connections (i.e. camera module). Mode 3 is available for gyroscope only, Mode 4 is available for both gyroscope and accelerometer.
Qwiic Connectors
Our Qwiic Ecosystem makes sensors pretty much plug and play. There are two Qwiic connectors on the side of the Qwiic 6DoF - ISM330DHCX board and one Qwiic connector on the side of the Qwiic Micro 6DoF to provide power and I2C connectivity simultaneously.
|
|
Qwiic connectors on the Qwiic 6DoF 1x1" Breakout | Qwiic connector on the Qwiic Micro 6DoF Breakout |
GPIO
Power
Ideally, power will be supplied via the Qwiic connectors, but we've also broken out plated through hole pins to supply 3.3V and Ground, should you prefer. Make sure to pay attention to logic levels - supply voltage to this board should range from 1.71 V to 3.6 V.
I2C
For flexibility, we've broken out the I2C functionality as seen below. Primary I2C pins are broken out to SDA and SCL:
Secondary I2C pins are broken out to SDX/PICOX and SCX. These pins are used solely for Mode 2- Sensor Hub Mode - where the 6DoF reads other sensors. You must cut the PICOX and SCX jumpers on the back of the board in order to use this mode.
SPI
Like the I2C functionality, we've also broken out the SPI functionality to PTH pins on either side of the board.
OCS, PICOX, and POCIX
OCS is the enable pin for Modes 3 and 4. POCIX is used for one way communication in Mode 3, PICOX and POCIX are used for 2-way communication in Mode 4.
Interrupt Pins: Qwiic 6DoF - ISM330DHCX
Interrupt generation can be sourced by the gyroscope or accelerometer; for interrupt-generation purposes, the accelerometer/gyroscope sensor has to be set in an active operating mode (not in Power-Down). In addition, the second interrupt pin can also generate signals for the accelerometer and gyroscope, but also for the temperature sensor.
The second interrupt (INT2) can also be configured as an INPUT to the 6DoF. This is primarily used in sensor-hub mode (Mode 2) as a way of signaling that data is ready on one of the attached sensors.
The interrupt generator can be configured to detect:
- Free-fall;
- Wake-up;
- 6D/4D orientation detection;
- Single-tap and double-tap sensing;
- Activity/Inactivity and Motion/Stationary recognition
Interrupt Pin: Micro 6DoF IMU Breakout - ISM330DHCX (Qwiic)
We've broken out a single PTH pin for Interrupt functionality on the Qwiic 6DoF - ISM330DHCX Micro Breakout.
Jumpers
I2C
Like our other Qwiic boards, the Qwiic 6DoF - ISM330DHCX comes equipped with pull-up resistors on the clock and data pins. If you are daisy-chaining multiple Qwiic devices, you will want to cut this jumper; if multiple sensors are connected to the bus with the pull-up resistors enabled, the parallel equivalent resistance will create too strong of a pull-up for the bus to operate correctly. As a general rule of thumb, disable all but one pair of pull-up resistors if multiple devices are connected to the bus. To disable the pull up resistors, use an X-acto knife to cut the joint between the two jumper pads highlighted below.
|
|
I2C Jumper on the Qwiic 6DoF 1x1" Breakout | I2C Jumper on the Qwiic Micro 6DoF Breakout |
LED
If power consumption is an issue, cutting this jumper will disable the Power LED on the front of the board.
|
|
LED Jumper on the Qwiic 6DoF 1x1" Breakout | LED Jumper on the Qwiic Micro 6DoF Breakout |
I2C Address/SPI - Qwiic 6DoF
By default, I2C is enabled with an address of 0x6B. By manipulating this jumper, you can change the I2C address to 0x6A (cut the power side and close the ground side) or switch to SPI mode (both jumpers open).
I2C Address - Qwiic Micro 6DoF
SPI is not available on the Qwiic Micro Breakout, but you can select the I2C address on the back of the board by closing either side of this trace.
Address | ||
---|---|---|
1 | VDD | 0x6B |
0 | GND | 0x6A |
OPEN | SPI Not Supported |
SCX/PICOX
The SCX and PICOX pins are specific to Mode 2 and are used for peripheral communication. By default they are closed - to use Mode 2 you will need to cut both traces to open the jumper.
Board Outline
The Qwiic 6DoF - ISM330DHCX Breakout measures 1" x 1".
The Micro 6DoF IMU Breakout - ISM330DHCX (Qwiic) measures 0.75" x 0.3".