Image | Item | Location | Available | |
---|---|---|---|---|
AltIMU-10 v5 Gyro, Accelerometer, Compass, and Altimeter (LSM6DS33, LIS3MDL, and LPS25H Carrier) The Pololu AltIMU-10 v5 is an inertial measurement unit (IMU) and altimeter that features the same LSM6DS33 gyro and accelerometer and LIS3MDL magnetometer as the MinIMU-9 v5, and adds an LPS25H digital barometer. An I²C interface accesses ten independent pressure, rotation, acceleration, and magnetic measurements that can be used to calculate the sensor’s altitude and absolute orientation. The board operates from 2.5 to 5.5 V and has a 0.1″ pin spacing. The Pololu AltIMU-10 v5 is a compact (1.0″ × 0.5″) board that combines ST’s LSM6DS33 3-axis gyroscope and 3-axis accelerometer, LIS3MDL 3-axis magnetometer, and LPS25H digital barometer to form an inertial measurement unit (IMU) and altimeter; we therefore recommend careful reading of the LSM6DS33 datasheet (1MB pdf), LIS3MDL datasheet (2MB pdf), and LPS25H 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 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, LIS3MDL, and LPS25H, as shown in the product picture. Compared to the previous AltIMU-10 v4, the v5 version uses newer MEMS sensors that provide some increases in accuracy (lower noise and zero-rate offsets). The AltIMU-10 v5 is pin-compatible with the AltIMU-10 v4, but because it uses different sensor chips, software written for older IMU versions will need to be changed to work with the v5. The AltIMU-10 v5 is also pin-compatible with the MinIMU-9 v5 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 v5. Any code written for the MinIMU-9 v5 should also work with the AltIMU-10 v5. Side-by-side comparison of the MinIMU-9 v5 with the AltIMU-10 v5. The LSM6DS33, LIS3MDL, and LPS25H 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 LSM6DS33, LIS3MDL, and LPS25H, 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) 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, ±245, ±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) Gyro: ±125, ±245, ±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). Connections A minimum of four connections is necessary to use the AltIMU-10 v5: 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.) Pololu AltIMU-10 v5 gyro, accelerometer, compass, and altimeter pinout. Two Pololu AltIMU-10 v5 modules in a breadboard. Pinout The CS, data ready, and interrupt pins of the LSM6DS33, LIS3MDL, and LPS25H are not accessible on the AltIMU-10 v5. 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 our LSM6DS33 carrier, LIS3MDL carrier, and LPS25H carrier boards. Schematic Diagram The above schematic shows the additional components the carrier board incorporates to make the LSM6DS33, LIS3MDL, and LPS25H 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 v5 schematic (119k pdf). I²C Communication The LSM6DS33’s gyro and accelerometer, the LIS3MDL’s magnetometer, and the LPS25H’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 LSM6DS33 datasheet (1MB pdf), the LIS3MDL datasheet (2MB pdf), and the LPS25H datasheet (1MB pdf). More detailed information about I²C in general can be found in NXP’s I²C-bus specification (1MB pdf). The LSM6DS33, LIS3MDL, and LPS25H 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 kΩ resistor. You can drive the pin labeled SA0 low to change the slave address. This allows you to have two AltIMUs (or an AltIMU v5 and a MinIMU v5) connected on the same I²C bus. The following table shows the slave addresses of the sensors: All three chips on the AltIMU-10 v5 are compliant with fast mode (400 kHz) I²C standards as well as with the normal mode. We have written a basic LSM6DS33 Arduino library, LIS3MDL Arduino library, and LPS25H Arduino library that make it easy to interface the AltIMU-10 v5 with an Arduino or 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 v5 into an attitude and heading reference system, or AHRS, with this Arduino program. It uses the data from the AltIMU-10 v5 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. The datasheets provide all the information you need to use the sensors on the AltIMU-10 v5, but picking out the important details can take some time. Here are some pointers for communicating with and configuring the LSM6DS33, LIS3MDL, and LPS25H that we 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 or LPS25H 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 LSM6DS33 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 with the IF_INC field in the CTRL3_C register. In addition to the datasheets, ST provides application notes for the LSM6DS33 (1MB pdf) and LIS3MDL (598k pdf) containing additional information and hints about using them. We carry several inertial measurement and orientation sensors. The table below compares their capabilities: People often buy this product together with: | 2/2 | |||
MinIMU-9 v5 Gyro, Accelerometer, and Compass (LSM6DS33 and LIS3MDL Carrier) The Pololu MinIMU-9 v5 is an inertial measurement unit (IMU) that packs an LSM6DS33 3-axis gyro and 3-axis accelerometer and an LIS3MDL 3-axis magnetometer onto a tiny 0.8″ × 0.5″ board. An I²C interface accesses nine independent rotation, acceleration, and magnetic measurements that can be used to calculate the sensor’s absolute orientation. The MinIMU-9 v5 board includes a voltage regulator and a level-shifting circuit that allow operation from 2.5 to 5.5 V, and the 0.1″ pin spacing makes it easy to use with standard solderless breadboards and 0.1″ perfboards. 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.6 V, which can make interfacing difficult for microcontrollers operating at 5 V. 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. Side-by-side comparison of the MinIMU-9 v5 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.) 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 LSM6DS33 and LIS3MDL, 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: 0.8″ × 0.5″ × 0.1″ (20 mm × 13 mm × 3 mm) Weight without header pins: 0.7 g (0.02 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 Gyro: one 16-bit reading per axis Accelerometer: one 16-bit reading per axis Magnetometer: one 16-bit reading per axis Sensitivity range: Gyro: ±125, ±245, ±500, ±1000, or ±2000°/s Accelerometer: ±2, ±4, ±8, or ±16 g Magnetometer: ±4, ±8, ±12, or ±16 gauss Gyro: ±125, ±245, ±500, ±1000, or ±2000°/s Accelerometer: ±2, ±4, ±8, or ±16 g Magnetometer: ±4, ±8, ±12, or ±16 gauss 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). Connections A minimum of four connections is necessary to use the MinIMU-9 v5: 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.) Pololu MinIMU-9 v5 gyro, accelerometer, and compass pinout. Two Pololu MinIMU-9 v5 modules in a breadboard. Pinout The CS, data ready, and interrupt pins of the LSM6DS33 and LIS3MDL are not accessible on the MinIMU-9 v5. 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 our LSM6DS33 carrier and LIS3MDL carrier boards. Schematic Diagram The above schematic shows the additional components the carrier board incorporates to make the LSM6DS33 and LIS3MDL 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: MinIMU-9 v5 schematic (106k pdf). I²C Communication The LSM6DS33’s gyro and accelerometer and the LIS3MDL’s magnetometer can be queried and configured through the I²C bus. Each of the three 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 LSM6DS33 datasheet (1MB pdf) and the LIS3MDL datasheet (2MB pdf). More detailed information about I²C in general can be found in NXP’s I²C-bus specification (1MB pdf). The LSM6DS33 and LIS3MDL each have separate slave addresses on the I²C bus. The board connects the slave address select pins (SA0 or SA1) of the two ICs together and pulls them both to VDD through a 10 kΩ resistor. You can drive the pin labeled SA0 low to change the slave address. This allows you to have two MinIMUs (or a MinIMU v5 and an AltIMU v5) connected on the same I²C bus. The following table shows the slave addresses of the sensors: Both chips on the MinIMU-9 v5 are compliant with fast mode (400 kHz) I²C standards as well as with the normal mode. We have written a basic LSM6DS33 Arduino library and LIS3MDL Arduino library that make it easy to interface the MinIMU-9 v5 with an Arduino or Arduino-compatible board like an A-Star. They also make it simple to configure the sensors and read the raw gyro, accelerometer, and magnetometer data. For a demonstration of what you can do with this data, you can turn an Arduino connected to a MinIMU-9 v5 into an attitude and heading reference system, or AHRS, with this Arduino program. It uses the data from the MinIMU-9 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. The datasheets provide all the information you need to use the sensors on the MinIMU-9 v5, but picking out the important details can take some time. Here are some pointers for communicating with and configuring the LSM6DS33 and LIS3MDL that we hope will get you up and running a little bit faster: The gyro, accelerometer, and magnetometer 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 LSM6DS33 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 with the IF_INC field in the CTRL3_C register. In addition to the datasheets, ST provides application notes for the LSM6DS33 (1MB pdf) and LIS3MDL (598k pdf) containing additional information and hints about using them. We carry several inertial measurement and orientation sensors. The table below compares their capabilities: People often buy this product together with: | 2/2 | |||
SparkFun Triple Axis Accelerometer Breakout - MMA8452Q This breakout board makes it easy to use the tiny MMA8452Q accelerometer in your project. The MMA8452Q is a smart low-power, three-axis, capacitive MEMS accelerometer with 12 bits of resolution. This accelerometer is packed with embedded functions with flexible user programmable options, configurable to two interrupt pins. Embedded interrupt functions allow for overall power savings relieving the host processor from continuously polling data. The MMA8452Q has user selectable full scales of ±2g/±4g/±8g with high pass filtered data as well as non filtered data available real-time. The device can be configured to generate inertial wake-up interrupt signals from any combination of the configurable embedded functions allowing the MMA8452Q to monitor events and remain in a low power mode during periods of inactivity. This board breaks out the ground, power, I2C and two external interrupt pins. Note: If you are looking for the SparkFun Triple Axis Accelerometer Breakout with headers, it can be found here or in the Recommended Products below. Get Started with the MMA8452Q Breakout Hookup Guide Features 1.95 V to 3.6 V supply voltage 1.6 V to 3.6 V interface voltage ±2g/±4g/±8g dynamically selectable full-scale Output Data Rates (ODR) from 1.56 Hz to 800 Hz 12-bit and 8-bit digital output I2C digital output interface (operates to 2.25 MHz with 4.7 kΩ pullup) Two programmable interrupt pins for six interrupt sources Three embedded channels of motion detection Orientation (Portrait/Landscape) detection with set hysteresis High Pass Filter Data available real-time Current Consumption: 6 μA – 165 μA | 1/1 | |||
MPU-6050 6 DOF Gyro Accelerometer IMU Power supply :3-5v (internal low dropout regulator) Communication modes: standard IIC communications protocol Chip built-in 16bit AD converter, 16-bit data output Gyroscope range: ± 250 500 1000 2000 ° / s | 1/1 | |||
Adafruit LIS3DH Triple-Axis Accelerometer (+-2g/4g/8g/16g) The LIS3DH is a very popular low power triple-axis accelerometer. It's low-cost, but has just about every 'extra' you'd want in an accelerometer: Three axis sensing, 10-bit precision ±2g/±4g/±8g/±16g selectable scaling Both I2C (2 possible addresses) and SPI interface options Interrupt output Multiple data rate options 1 Hz to 5Khz As low as 2uA current draw (just the chip itself, not including any supporting circuitry) Tap, Double-tap, orientation & freefall detection 3 additional ADC inputs you can read over I2C To all that, we've also added: 3.3V regulator + level shifting, so you can safely use with any Arduino or microcontroller without the need for an external level shifter! We kept seeing this accelerometer in teardowns of commercial products and figured that if it's the most-commonly used accelerometer, its worth having a breakout board! This sensor communicates over I2C or SPI (our library code supports both) so you can share it with a bunch of other sensors on the same I2C bus. There's an address selection pin so you can have two accelerometers share an I2C bus. To get you going fast, we spun up a breakout board for this little guy. Since it's a 3V sensor, we add a low-dropout 3.3V regulator and level shifting circuitry on board. That means its perfectly safe for use with 3V or 5V power and logic. It's fully assembled and tested. Comes with a bit of 0.1" standard header in case you want to use it with a breadboard or perfboard. Two 2.5mm (0.1") mounting holes for easy attachment. Check out our tutorial for all sorts of details, including pinouts, assembly, wiring, and more! | 0/3 |