MinIMU-9 v5 Gyro, Accelerometer, and Compass LSM6DS33 and LIS3MDL Carrier
The Pololu MinIMU-9 v5 is a compact (0.8″×0.5″) board that combines ST’s LSM6DS33 3-axis gyroscope and 3-axis accelerometer and LIS3MDL 3-axis magnetometer to form an inertial measurement unit (IMU); we therefore recommend careful reading of the LSM6DS33 datasheet (1MB pdf) and LIS3MDL datasheet (2MB pdf) before using this product. These sensors are great ICs, but their small packages make them difficult for the typical student or hobbyist to use. They also operate at voltages below 3.6V, which can make interfacing difficult for microcontrollers operating at 5V. The MinIMU-9 v5 addresses these issues by incorporating additional electronics, including a voltage regulator and a level-shifting circuit, while keeping the overall size as compact as possible. The board ships fully populated with its SMD components, including the LSM6DS33 and LIS3MDL, as shown in the product picture.
Compared to the previous MinIMU-9 v3, the v5 version uses newer MEMS sensors that provide some increases in accuracy (lower noise and zero-rate offsets). The MinIMU-9 v5 is pin-compatible with the MinIMU-9 v3, but because it uses different sensor chips, software written for older IMU versions will need to be changed to work with the v5.
The MinIMU-9 v5 is also pin-compatible with the AltIMU-10 v5, which offers the same functionality augmented by a digital barometer that can be used to obtain pressure and altitude measurements. The AltIMU includes a second mounting hole and is 0.2″ longer than the MinIMU. Any code written for the MinIMU-9 v5 should also work with the AltIMU-10 v5.
The LSM6DS33 and LIS3MDL have many configurable options, including dynamically selectable sensitivities for the gyro, accelerometer, and magnetometer. Each sensor also has a choice of output data rates. The two ICs can be accessed through a shared I²C/TWI interface, allowing the sensors to be addressed individually via a single clock line and a single data line. Additionally, a slave address configuration pin allows users to change the sensors’ I²C addresses and have two MinIMUs connected on the same I²C bus. (For additional information, see the I²C Communication section below.)
The nine independent rotation, acceleration, and magnetic readings (sometimes called 9DOF) provide all the data needed to make an attitude and heading reference system (AHRS). With an appropriate algorithm, a microcontroller or computer can use the data to calculate the orientation of the MinIMU board. The gyro can be used to very accurately track rotation on a short timescale, while the accelerometer and compass can help compensate for gyro drift over time by providing an absolute frame of reference. The respective axes of the two chips are aligned on the board to facilitate these sensor fusion calculations. (For an example of such a system using an Arduino, see the picture below and the Sample Code section at the bottom of this page.)
Dimensions
Size: | 0.8″ × 0.5″ × 0.1″1 |
---|---|
Weight: | 0.7 g1 |
General specifications
Interface: | I²C |
---|---|
Minimum operating voltage: | 2.5 V |
Maximum operating voltage: | 5.5 V |
Axes: | pitch (x), roll (y), and yaw (z) |
Measurement range: |
±125, ±245, ±500, ±1000, or ±2000°/s (gyro) ±2, ±4, ±8, or ±16 g (accelerometer) ±4, ±8, ±12, or ±16 gauss (magnetometer)2 |
Supply current: | 5 mA |