Component guide · Intermediate · 4 min read
ICM-42688-P, ICM-42605, ICM-42670-P, ICM-45686, IIM-42652, IIM-42351

QMI8658A and ASM330LHH 6-Axis IMUs
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The ICM-42688-P is TDK InvenSense's low-noise 6-axis IMU, used in many flight controllers. It pairs a ±16 g accelerometer with a ±2000 °/s gyroscope over SPI or I2C. The ICM-42670 is a lower-power version, the ICM-45686 the newest, and the IIM parts are industrial grades. QST's QMI8658A and ST's automotive ASM330LHH are similar 6-axis chips.
Key specs at a glance
- Sensors
- 3-axis accelerometer and 3-axis gyroscope
- Ranges
- ±2 to ±16 g; ±15.6 to ±2000 °/s (±4000 on ASM330LHH)
- Data rate
- Up to 32 kHz (ICM-42688-P)
- Interface
- SPI up to 24 MHz, I2C (0x68 or 0x69), I3C
- Supply
- 1.71 to 3.6 V (chips); modules 3.3 to 5 V
- Extras
- FIFO, wake on motion, pedometer, tap
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1601N1-ICM42688 6-Axis Gyroscope Accelerometer Module – I2C/SPI/UART Interface₹629
Option 2TDK InvenSense ICM-42688-P LGA-14 6-Axis Accelerometer Gyro₹1,999
Option 3TDK InvenSense ICM-42605 LGA-14 6-Axis Accelerometer Gyro IMU₹1,519
Option 4TDK InvenSense ICM-42670-P LGA-14 6-Axis MEMS Accelerometer Gyro Module₹141
Option 5TDK InvenSense ICM-45686 6-Axis Gyroscope + Accelerometer Sensor Module – I2C/SPI/UART Interface₹709
Option 6TDK InvenSense IIM-42652 LGA-14 6-Axis IMU Sensor – I3CSM, I2C, SPI Interface₹1,369
What the ICM-42688-P, ICM-42670 and ICM-45686 6-axis IMUs is
The TDK ICM-42688-P is a low-noise 6-axis IMU with a 3-axis gyro and accelerometer, used in flight controllers, robots and wearables.
Flight controllers like the ICM-42688-P for its low gyro noise and resistance to vibration. Use SPI when you need high data rates.
The bare LGA chips need a PCB. For prototyping use the 601N1 module or another breakout. The 601N1 module also offers UART output with on-board angle fusion.
ICM-42688-P, ICM-42670 and ICM-45686 6-axis IMUs pinout
The pins on the ICM-42688-P, ICM-42670 and ICM-45686 6-axis IMUs and what each one does.
| Pin | Function |
|---|---|
| VCC | Supply |
| GND | Ground |
| SCL / SCLK | I2C clock or SPI clock |
| SDA / SDI | I2C data or SPI MOSI |
| SDO / AD0 | SPI MISO or I2C address |
| CS | SPI chip select (high for I2C) |
| INT1 / INT2 | Interrupts |
- VCC
- Supply
- GND
- Ground
- SCL / SCLK
- I2C clock or SPI clock
- SDA / SDI
- I2C data or SPI MOSI
- SDO / AD0
- SPI MISO or I2C address
- CS
- SPI chip select (high for I2C)
- INT1 / INT2
- Interrupts
Wiring the ICM-42688-P, ICM-42670 and ICM-45686 6-axis IMUs
Modules with a regulator run from 3.3 V or 5 V. Bare chips (LGA or QFN parts) are 1.8 to 3.6 V only: mount them on a breakout and use a level shifter with 5 V boards.
| ICM-42688-P, ICM-42670 and ICM-45686 6-axis IMUs pin | Arduino Uno | ESP32 |
|---|---|---|
| VCC | 5V (or 3.3V) | 3V3 |
| GND | GND | GND |
| SDA | A4 | GPIO 21 |
| SCL | A5 | GPIO 22 |
- VCC
- Arduino Uno:
- 5V (or 3.3V)
- ESP32:
- 3V3
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- SDA
- Arduino Uno:
- A4
- ESP32:
- GPIO 21
- SCL
- Arduino Uno:
- A5
- ESP32:
- GPIO 22
Example code
Other chips in this guide need their own library (TDK, QST or ST drivers); the wiring is the same.
#include <ICM42688.h>
ICM42688 imu(Wire, 0x68);
void setup() {
Serial.begin(115200);
Wire.begin();
if (imu.begin() < 0) { Serial.println("ICM42688 not found"); while (1); }
}
void loop() {
imu.getAGT();
Serial.printf("acc g %.2f %.2f %.2f gyro dps %.1f %.1f %.1f\n",
imu.accX(), imu.accY(), imu.accZ(), imu.gyrX(), imu.gyrY(), imu.gyrZ());
delay(100);
}Setup and tuning
use SPI for high data rates or I2C for simple projects; VCC is 1.8 to 3.6 V.
use a library such as the ICM42688 Arduino library or the vendor driver.
set gyro and accel full-scale to suit motion, such as ±2000 dps and ±16 g for drones.
use the internal anti-alias filter and output data rate that fit your control loop.
mount rigidly or on soft damping, away from motors.
What you need
Shop this list11 of 13 found in our store · ₹8,127
Generic 601N1-ICM42688 6-Axis Gyroscope Accelerometer Module – I2C/SPI/UART Interface: the part this guide covers601N1-ICM42688 6-Axis Gyroscope Accelerometer Module – I2C/SPI/UART Interface₹629
TDK TDK InvenSense ICM-42688-P LGA-14 6-Axis Accelerometer Gyro: another version this guide coversTDK InvenSense ICM-42688-P LGA-14 6-Axis Accelerometer Gyro₹1,999
TDK TDK InvenSense ICM-42605 LGA-14 6-Axis Accelerometer Gyro IMU: another version this guide coversTDK InvenSense ICM-42605 LGA-14 6-Axis Accelerometer Gyro IMU₹1,519
TDK TDK InvenSense ICM-42670-P LGA-14 6-Axis MEMS Accelerometer Gyro Module: another version this guide coversTDK InvenSense ICM-42670-P LGA-14 6-Axis MEMS Accelerometer Gyro Module₹141
TDK InvenSense ICM-45686 6-Axis Gyroscope + Accelerometer Sensor Module – I2C/SPI/UART Interface: another version this guide coversTDK InvenSense ICM-45686 6-Axis Gyroscope + Accelerometer Sensor Module – I2C/SPI/UART Interface₹709
TDK TDK InvenSense IIM-42652 LGA-14 6-Axis IMU Sensor – I3CSM, I2C, SPI Interface: another version this guide coversTDK InvenSense IIM-42652 LGA-14 6-Axis IMU Sensor – I3CSM, I2C, SPI Interface₹1,369
TDK TDK InvenSense IIM-42351 3-Axis Accelerometer Sensor – LGA-14 Package: another version this guide coversTDK InvenSense IIM-42351 3-Axis Accelerometer Sensor – LGA-14 Package₹169
QST QMI8658A LGA-14 6-Axis IMU Accelerometer Gyro ROHS: another version this guide coversQST QMI8658A LGA-14 6-Axis IMU Accelerometer Gyro ROHS₹135
STMicroelectronics ASM330LHH Automotive 6-Axis IMU Sensor, ±16g Accelerometer, ±4000 dps Gyroscope, SPI/I²C, AEC-Q100: another version this guide coversSTMicroelectronics ASM330LHH Automotive 6-Axis IMU Sensor, ±16g Accelerometer, ±4000 dps Gyroscope, SPI/I²C, AEC-Q100₹899
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389- Uno R3 development board: the controller used in the wiring tableFind this part
GY-521 MPU6050 6-axis module: the classic low-cost IMUGY-521 MPU6050 6-Axis Gyro and Accelerometer Module₹169Closest match, check the specs- BNO085 IMU module: gives ready-made orientationFind this part
Alternatives and when to choose them
Common mistakes to avoid
- Powering it from 5 V.
- Using I2C when fast data is needed.
- Mounting next to motors.
- Expecting heading without a magnetometer.
Frequently asked questions
Why is the ICM-42688 popular in flight controllers?
It has low gyro noise and high data rates, ideal for fast control loops.
Should I use SPI or I2C?
SPI for high rates like 8 kHz; I2C for simple, slow projects.
Is the sensor 5 V tolerant?
No. Use 3.3 V and level shifting for 5 V boards.
Does it have a magnetometer?
No. It is 6-axis; add a separate magnetometer for heading.
Why does my yaw drift?
Gyros drift over time; add a magnetometer or sensor fusion.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


