AltIMU-10 v6 Gyro, Accelerometer, Compass, and Altimeter (LSM6DSO, LIS3MDL, and LPS22DF Carrier)

SKU: POLOLU-2863 Brand: Pololu
The AltIMU-10 v6 is an inertial measurement unit (IMU) and altimeter that features the same LSM6DSO gyro and accelerometer and LIS3MDL magnetometer as the...
$51.20 AUD, inc GST
$46.55 AUD, exc GST

In stock, ships same business day if ordered before 2PM
Delivered by Wed, 8th of May

Quantity Discounts:

  • 6-12 $45.15 (exc GST)
  • 12+ $44.22 (exc GST)
- +

2 from local stock, 1 supplier stock; your order will dispatch between Dec 1 to Dec 10. And yes, stock levels and lead times are accurate!

Shipping:

  • $6+ Standard (5+ days*, tracked)
  • $10+ Express (2+ days*, tracked)
  • FREE Pickup (Newcastle only - must order online*)

Shipping costs may increase for heavy products or large orders.

Exact shipping can be calculated on the view cart page.

*Conditions apply, see shipping tab below.

The Pololu AltIMU-10 v6 is a compact (1.0" × 0.5") board that combines ST’s LSM6DSO 3-axis gyroscope and 3-axis accelerometer, LIS3MDL 3-axis magnetometer, and LPS22DF digital barometer to form an inertial measurement unit (IMU) and altimeter; Pololu therefore recommend careful reading of the LSM6DSO datasheet (3MB pdf), LIS3MDL datasheet (2MB pdf), and LPS22DF datasheet (1MB 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.6 V, which can make interfacing difficult for microcontrollers operating at 5 V. The AltIMU-10 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 LSM6DSO, LIS3MDL, and LPS22DF, as shown in the product picture.

Compared to the previous AltIMU-9 v5, the v6 version replaces the LSM6DS33 accelerometer/gyro MEMS sensor with the newer LSM6DSO, which offers various improvements like lower noise and a higher maximum output data rate for the gyro. It also replaces the LPS25HB pressure sensor with the LPS22DF, which features improved accuracy and reduced noise in the output and a much higher maximum output rate. The AltIMU-9 v6 is pin-compatible with the AltIMU-9 v5 and should be able to serve as a replacement with some software changes.

The AltIMU-10 v6 is also pin-compatible with the MinIMU-9 v6 and offers the same functionality augmented by a digital barometer that can be used to obtain pressure and altitude measurements. It includes a second mounting hole and is only 0.2" longer than the MinIMU-9. Any code written for the MinIMU-9 v6 should also work with the AltIMU-10 v6.

Side-by-side comparison of the MinIMU-9 v6 with the AltIMU-10 v6.

The LSM6DSO, LIS3MDL, and LPS22DF have many configurable options, including dynamically selectable sensitivities for the gyro, accelerometer, and magnetometer and selectable resolutions for the barometer. Each sensor also has a choice of output data rates. The three 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 AltIMUs 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 provide all the data needed to make an attitude and heading reference system (AHRS), and readings from the absolute pressure sensor can be easily converted to altitudes, giving you a total of ten independent measurements (sometimes called 10DOF). With an appropriate algorithm, a microcontroller or computer can use the data to calculate the orientation and height of the AltIMU 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.)

Visualization of AHRS orientation calculated from MinIMU-9 readings.

The carrier board includes a low-dropout linear voltage regulator that provides the 3.3 V required by the LSM6DSO, LIS3MDL, and LPS22DF, allowing the module to be powered from a single 2.5 V to 5.5 V supply. The regulator output is available on the VDD pin and can supply almost 150 mA to external devices. The breakout board also includes a circuit that shifts the I²C clock and data lines to the same logic voltage level as the supplied VIN, making it simple to interface the board with 5 V systems. The board’s 0.1" pin spacing makes it easy to use with standard solderless breadboards and 0.1" perfboards.

Specifications

  • Dimensions: 1.0" × 0.5" × 0.1" (25 mm × 13 mm × 3 mm)
  • Weight without header pins: 0.8 g (0.03 oz)
  • Operating voltage: 2.5 V to 5.5 V
  • Supply current: 5 mA
  • Output format (I²C):
    • Gyro: one 16-bit reading per axis
    • Accelerometer: one 16-bit reading per axis
    • Magnetometer: one 16-bit reading per axis
    • Barometer: 24-bit pressure reading (4096 LSb/mbar)
  • Sensitivity range:
    • Gyro: ±125, ±250, ±500, ±1000, or ±2000°/s
    • Accelerometer: ±2, ±4, ±8, or ±16 g
    • Magnetometer: ±4, ±8, ±12, or ±16 gauss
    • Barometer: 260 mbar to 1260 mbar (26 kPa to 126 kPa)

Included Components

A 1×6 strip of 0.1" header pins and a 1×5 strip of 0.1" right-angle header pins are included, as shown in the picture below. You can solder the header strip of your choice to the board for use with custom cables or solderless breadboards or solder wires directly to the board itself for more compact installations. The board features two mounting holes that work with #2 or M2 screws (not included).

Using the AltIMU-10 v6

Connections

A minimum of four connections is necessary to use the AltIMU-10: VIN, GND, SCL, and SDA. VIN should be connected to a 2.5 V to 5.5 V source, GND to 0 volts, and SCL and SDA should be connected to an I²C bus operating at the same logic level as VIN. (Alternatively, if you are using the board with a 3.3 V system, you can leave VIN disconnected and bypass the built-in regulator by connecting 3.3 V directly to VDD.)

AltIMU-10 v6 gyro, accelerometer, compass, and altimeter pinout.

Two AltIMU-10 v6 modules in a breadboard.

Pinout

PIN Description
SCL Level-shifted I²C clock line: HIGH is VIN, LOW is 0 V
SDA Level-shifted I²C data line: HIGH is VIN, LOW is 0 V
GND The ground (0 V) connection for your power supply. Your I²C control source must also share a common ground with this board.
VIN This is the main 2.5 V to 5.5 V power supply connection. The SCL and SDA level shifters pull the I²C bus high bits up to this level.
VDD 3.3 V regulator output or low-voltage logic power supply, depending on VIN. When VIN is supplied and greater than 3.3 V, VDD is a regulated 3.3 V output that can supply up to approximately 150 mA to external components. Alternatively, when interfacing with a 2.5 V to 3.3 V system, VIN can be left disconnected and power can be supplied directly to VDD. Never supply voltage to VDD when VIN is connected, and never supply more than 3.6 V to VDD.
SA0 3.3V-logic-level input to determine I²C slave addresses of the three ICs (see below). It is pulled high by default through 10 kO resistor. This pin is not level-shifted and is not 5V-tolerant.

The CS, data ready, and interrupt pins of the LSM6DO, LIS3MDL, and LPS22DF are not accessible on the AltIMU-10 v6. In particular, the absence of the CS pin means that the optional SPI interface of these ICs is not available. If you want these features, consider using Pololu's LSM6DSO carrier, LIS3MDL carrier, and LPS22DF carrier boards.

Schematic Diagram

The above schematic shows the additional components the carrier board incorporates to make the LSM6DSO, LIS3MDL, and LPS22DF easier to use, including the voltage regulator that allows the board to be powered from a single 2.5 V to 5.5 V supply and the level-shifter circuit that allows for I²C communication at the same logic voltage level as VIN. This schematic is also available as a downloadable pdf: AltIMU-10 v6 schematic (107k pdf).

I²C Communication

The LSM6DSO’s gyro and accelerometer, the LIS3MDL’s magnetometer, and the LPS22DF’s barometer can be queried and configured through the I²C bus. Each of the four sensors acts as a slave device on the same I²C bus (i.e. their clock and data lines are tied together to ease communication). Additionally, level shifters on the I²C clock (SCL) and data lines (SDA) enable I²C communication with microcontrollers operating at the same voltage as VIN (2.5 V to 5.5 V). A detailed explanation of the protocols used by each device can be found in the LSM6DSO datasheet (3MB pdf), the LIS3MDL datasheet (2MB pdf), and the LPS22DF datasheet (1MB pdf). More detailed information about I²C in general can be found in NXP’s I²C-bus specification (1MB pdf).

The LSM6DSO, LIS3MDL, and LPS22DF each have separate slave addresses on the I²C bus. The board connects the slave address select pins (SA0 or SA1) of the three ICs together and pulls them all to VDD through a 10 kO resistor. You can drive the pin labeled SA0 low to change the slave address. This allows you to have two AltIMUs (or an AltIMU v6 and a MinIMU v6) connected on the same I²C bus. The following table shows the slave addresses of the sensors:

Sensor Slave Address (default) Slave Address (SA0 driven low)
LSM6DSO (gyro and accelerometer) 1101011b 1101010b
LIS3MDL (magnetometer) 0011110b 0011100b
LPS22DF (barometer) 1011101b 1011100b

All three chips on the AltIMU-10 v6 are compliant with fast mode (400 kHz) I²C standards as well as with the normal mode.

Sample Code

Pololu have written a basic LSM6 Arduino library, LIS3MDL Arduino library, and LPS Arduino library that make it easy to interface the AltIMU-10 v6 with an Arduino-compatible board like an A-Star. They also make it simple to configure the sensors and read the raw gyro, accelerometer, magnetometer, and pressure data.

For a demonstration of what you can do with this data, you can turn an Arduino connected to a AltIMU-10 v6 into an attitude and heading reference system, or AHRS, with this Arduino program. It uses the data from the AltIMU-10 v6 to calculate estimated roll, pitch, and yaw angles, and you can visualize the output of the AHRS with a 3D test program on your PC (as shown in a screenshot above). This software is based on the work of Jordi Munoz, William Premerlani, Jose Julio, and Doug Weibel.

Protocol Hints

The datasheets provide all the information you need to use the sensors on the AltIMU-10 v6, but picking out the important details can take some time. Here are some pointers for communicating with and configuring the LSM6DSO, LIS3MDL, and LPS22DF that Pololu hope will get you up and running a little bit faster:

  • The gyro, accelerometer, magnetometer, and pressure sensor are all in power-down mode by default. You have to turn them on by setting the correct configuration registers.
  • You can read or write multiple registers in the LIS3MDL with a single I²C command by asserting the most significant bit of the register address to enable address auto-increment.
  • The register address in the LSM6DSO and LPS22DF automatically increments during a multiple byte access, allowing you to read or write multiple registers in a single I²C command. Unlike how some other ST sensors work, the auto-increment is enabled by default; you can turn it off for each chip with a configuration register.
  • In addition to the datasheets, ST provides application notes for the LSM6DSO (2MB pdf), LIS3MDL (598k pdf), and LPS22DF (519k pdf) containing additional information and hints about using them.

Product Comparison

Pololu carry several inertial measurement and orientation sensors. The table below compares their capabilities:

Product Name Sensors Estimation Other
Gyros (3x) Accels (3x) Mag (3x) Altitude Roll Pitch Yaw Quaternion Enclosure
Pololu MinIMU-9 v6 Yes Yes Yes
Pololu AltIMU-10 v6 Yes Yes Yes Yes
Redshift Labs UM7-LT Orientation Sensor Yes Yes Yes Yes Yes Yes Yes
Redshift Labs UM7 Orientation Sensor Yes Yes Yes Yes Yes Yes Yes Yes

Dimensions

Size: 1.0" × 0.5" × 0.1"1
Weight: 0.8 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, ±250, ±500, ±1000, or ±2000°/s (gyro)
±2, ±4, ±8, or ±16 g (accelerometer)
±4, ±8, ±12, or ±16 gauss (magnetometer)
26 kPa to 126 kPa (barometer)2
Supply current: 5 mA

Identifying markings

PCB dev codes: imu08a
Other PCB markings: 0J14124

Notes:

1
Without included optional headers.
2
User-configurable.

File downloads

Recommended links

  • LSM6 library for Arduino

    An Arduino library for interfacing with the LSM6DSO and LSM6DS33 accelerometer and gyro ICs.

  • LIS3MDL library for Arduino

    An Arduino library for interfacing with the LIS3MDL magnetometer.

  • LPS Arduino library

    This is a library for the Arduino that interfaces with Pololu's LPS22DF, LPS25HB, LPS25H, and LPS331AP pressure/altitude sensor carriers as well as the pressure sensors on the various AltIMU-10 modules, which can be found here. It makes it simple to read the raw pressure data from the sensor, and it provides functions to help calculate altitude based on the measured pressure.

  • MinIMU-9 + Arduino AHRS

    This Arduino program (sketch) allows an Arduino connected to a MinIMU-9 v5 or AltIMU-10 v5 (or older versions of those boards) to function as an attitude and heading reference system, calculating estimated roll, pitch, and yaw angles from sensor readings that can be visualized with a 3D test program on a PC. It is based on the work of Jordi Munoz, William Premerlani, Jose Julio, and Doug Weibel.

    Visualization of AHRS orientation calculated from MinIMU-9 readings.

  • minimu9-ahrs software for Raspberry Pi

    This is a program for reading sensor data from Pololu IMU boards over I²C. It was written for and tested on the Raspberry Pi, but it will probably also work on similar embedded Linux boards that support I²C.

  • Quick and Dirty Compass Calibration in 3d

    A blog post by Michael Shimniok about calibrating the magnetometer in the LSM303DLH and visualizing magnetic distortions. This information can generally be applied to other magnetometers as well.

This product is listed in:

Sensors>IMU

Product Comments

Exact shipping can be calculated on the view cart page (no login required).

Products that weigh more than 0.5 KG may cost more than what's shown (for example, test equipment, machines, >500mL liquids, etc).

We deliver Australia-wide with these options (depends on the final destination - you can get a quote on the view cart page):

  • $3+ for Stamped Mail (typically 10+ business days, not tracked, only available on selected small items)
  • $6+ for Standard Post (typically 6+ business days, tracked)
  • $10+ for Express Post (typically 2+ business days, tracked)
  • Pickup - Free! Only available to customers who live in the Newcastle region (must order online and only pickup after we email to notify you the order is ready). Orders placed after 2PM may not be ready until the following business day.

Non-metro addresses in WA, NT, SA & TAS can take 2+ days in addition to the above information.

Some batteries (such as LiPo) can't be shipped by Air. During checkout, Express Post and International Methods will not be an option if you have that type of battery in your shopping cart.

International Orders - the following rates are for New Zealand and will vary for other countries:

  • $11+ for Pack and Track (3+ days, tracked)
  • $16+ for Express International (2-5 days, tracked)

If you order lots of gear, the postage amount will increase based on the weight of your order.

Our physical address (here's a PDF which includes other key business details):

Unit 18, 132 Garden Grove Parade
Adamstown
NSW, 2289
Australia

Take a look at our customer service page if you have other questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.

Have a product question? We're here to help!

Write Your Own Review

Videos

View All

Guides

Getting Started With Inertial Measurement Units | Exploring Degrees Of Freedom

In this guide, we'll be learning about sensors that measure inertial movement, how they work, how t...
In this guide, we'll be learning about sensors that measure inertial movement, how they work, how t...

The Maker Revolution

The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...
The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...

Getting Hands-on with Sensors

What good is a robot if it can’t interact with the environment around it? Sensors are the back...
What good is a robot if it can’t interact with the environment around it? Sensors are the back...

Projects

Hogwarts Legacy Broom Flight Controller

IntroductionI embarked on this project to enhance my interactive and immersive experience with the ...
IntroductionI embarked on this project to enhance my interactive and immersive experience with the ...

WhyzaGC - Feather ESP32 addon to the MightyOhm Gieger Counter

This project is about adding a wireless Adafruit Feather HUZZAH ESP8266 or ESP32 v2 with Adafruit F...
This project is about adding a wireless Adafruit Feather HUZZAH ESP8266 or ESP32 v2 with Adafruit F...
Feedback

Please continue if you would like to leave feedback for any of these topics:

  • Website features/issues
  • Content errors/improvements
  • Missing products/categories
  • Product assignments to categories
  • Search results relevance

For all other inquiries (orders status, stock levels, etc), please contact our support team for quick assistance.

Note: click continue and a draft email will be opened to edit. If you don't have an email client on your device, then send a message via the chat icon on the bottom left of our website.

Makers love reviews as much as you do, please follow this link to review the products you have purchased.