{"product_id":"2739-altimu-10-v5-gyro-accelerometer-compass-and-altimeter-lsm6ds33-lis3mdl-and-lps25h-carrier","title":"AltIMU-10 v5 Gyro, Accelerometer, Compass, and Altimeter (LSM6DS33, LIS3MDL, and LPS25H Carrier)","description":"\u003cp\u003eThe 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 \u003ca href=\"https:\/\/www.pololu.com\/product\/2738\"\u003eMinIMU-9 v5\u003c\/a\u003e, 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.\u003c\/p\u003e\n\u003cbr\u003e\u003cp class=\"note_warning\"\u003e\u003cstrong\u003eNew version available!\u003c\/strong\u003e We have released the \u003ca href=\"https:\/\/www.pololu.com\/product\/2863\"\u003e\u003cstrong\u003eAltIMU-10 v6\u003c\/strong\u003e\u003c\/a\u003e, which features newer sensor ICs (the LSM6DSO replaces the LSM6DS33 and the LPS22DF replaces the LPS25HB), offering various improvements like reduced noise on the outputs and higher output data rates for the gyro and pressure sensor.  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.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7061.1200.jpg?1a10de37745494f6aa3c28f2dd90d3d1\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id altimu-10 v5 gyro accelerometer compass and altimeter bottom view with dimensions. data-picture-id=\"0J7061\" data-picture-longest_side=\"1309\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7061.250.jpg?1a10de37745494f6aa3c28f2dd90d3d1\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003ch2\u003eOverview\u003c\/h2\u003e\n\u003cp\u003eThe 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 \u003ca href=\"\/file\/0J1087\/LSM6DS33.pdf\"\u003eLSM6DS33 datasheet\u003c\/a\u003e (1MB pdf), \u003ca href=\"\/file\/0J1089\/LIS3MDL.pdf\"\u003eLIS3MDL datasheet\u003c\/a\u003e (2MB pdf), and \u003ca href=\"\/file\/0J761\/LPS25H.pdf\"\u003eLPS25H datasheet\u003c\/a\u003e (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.\u003c\/p\u003e\n\u003cp\u003eCompared to the previous \u003ca href=\"https:\/\/www.pololu.com\/product\/2470\"\u003eAltIMU-10 v4\u003c\/a\u003e, 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.\u003c\/p\u003e\n\u003cp\u003eThe AltIMU-10 v5 is also pin-compatible with the \u003ca href=\"https:\/\/www.pololu.com\/product\/2738\"\u003eMinIMU-9 v5\u003c\/a\u003e 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.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\n\u003ctd style=\"max-width: 500px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7067.1200.jpg?cbe33095fded5dabcf11b32ca9709297\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id comparison of the minimu-9 v5 with altimu-10 v5. data-picture-id=\"0J7067\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7067.500.jpg?cbe33095fded5dabcf11b32ca9709297\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 500px\"\u003e\u003cp\u003eSide-by-side comparison of the MinIMU-9 v5 with the AltIMU-10 v5.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eThe 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.)\u003c\/p\u003e\n\u003cp\u003eThe 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 \u003ca href=\"https:\/\/www.pololu.com\/category\/125\/arduino-compatible\"\u003eArduino\u003c\/a\u003e, see the picture below and the Sample Code section at the bottom of this page.)\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\n\u003ctd style=\"max-width: 450px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J3722.1200.png?392fc30f416748c2c9b571d55ddf6bcc\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id of ahrs orientation calculated from minimu-9 readings. data-picture-id=\"0J3722\" data-picture-longest_side=\"839\" src=\"https:\/\/a.pololu-files.com\/picture\/0J3722.450.jpg?392fc30f416748c2c9b571d55ddf6bcc\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 450px\"\u003e\u003cp\u003eVisualization of AHRS orientation calculated from MinIMU-9 readings.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eThe 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 \u003ca href=\"https:\/\/www.pololu.com\/category\/28\/solderless-breadboards\"\u003esolderless breadboards\u003c\/a\u003e and 0.1″ perfboards.\u003c\/p\u003e\n\u003ch3 class=\"clear\"\u003eSpecifications\u003c\/h3\u003e\n\u003cul\u003e\n\t\u003cli\u003eDimensions: 1.0″ × 0.5″ × 0.1″ (25 mm × 13 mm × 3 mm)\u003c\/li\u003e\n\t\u003cli\u003eWeight without header pins: 0.8 g (0.03 oz)\u003c\/li\u003e\n\t\u003cli\u003eOperating voltage: 2.5 V to 5.5 V\u003c\/li\u003e\n\t\u003cli\u003eSupply current: 5 mA\u003c\/li\u003e\n\t\u003cli\u003eOutput format (I²C):\n\t\u003cul\u003e\n\t\t\u003cli\u003eGyro: one 16-bit reading per axis\u003c\/li\u003e\n\t\t\u003cli\u003eAccelerometer: one 16-bit reading per axis\u003c\/li\u003e\n\t\t\u003cli\u003eMagnetometer: one 16-bit reading per axis\u003c\/li\u003e\n\t\t\u003cli\u003eBarometer: 24-bit pressure reading (4096 LSb\/mbar)\u003c\/li\u003e\n\t\u003c\/ul\u003e\n\u003c\/li\u003e\n\t\u003cli\u003eSensitivity range:\n\t\u003cul\u003e\n\t\t\u003cli\u003eGyro: ±125, ±245, ±500, ±1000, or ±2000°\/s\u003c\/li\u003e\n\t\t\u003cli\u003eAccelerometer: ±2, ±4, ±8, or ±16 g\u003c\/li\u003e\n\t\t\u003cli\u003eMagnetometer:  ±4, ±8, ±12, or ±16 gauss\u003c\/li\u003e\n\t\t\u003cli\u003eBarometer: 260 mbar to 1260 mbar (26 kPa to 126 kPa)\u003c\/li\u003e\n\t\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eIncluded Components\u003c\/h3\u003e\n\u003cp\u003eA 1×6 strip of \u003ca href=\"https:\/\/www.pololu.com\/product\/965\"\u003e0.1″ header pins\u003c\/a\u003e and a 1×5 strip of \u003ca href=\"https:\/\/www.pololu.com\/product\/967\"\u003e0.1″ right-angle header pins\u003c\/a\u003e are included, as shown in the picture below.  You can solder the header strip of your choice to the board for use with \u003ca href=\"https:\/\/www.pololu.com\/category\/70\/crimp-connector-housings\"\u003ecustom cables\u003c\/a\u003e or \u003ca href=\"https:\/\/www.pololu.com\/category\/28\/solderless-breadboards\"\u003esolderless breadboards\u003c\/a\u003e or solder wires directly to the board itself for more compact installations.  The board features two mounting holes that work with #2 or M2 \u003ca href=\"https:\/\/www.pololu.com\/category\/101\/nuts-and-screws\"\u003escrews\u003c\/a\u003e (not included).\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7064.1200.jpg?0e23fed10d261d6a365a94c892a3403f\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id altimu-10 v5 gyro accelerometer compass and altimeter with included optional headers. data-picture-id=\"0J7064\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7064.300.jpg?0e23fed10d261d6a365a94c892a3403f\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003ch2 class=\"clear\"\u003eUsing the AltIMU-10 v5\u003c\/h2\u003e\n\u003ch3\u003eConnections\u003c\/h3\u003e\n\u003cp\u003eA 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.)\u003c\/p\u003e\n\u003ctable class=\"side_by_side_pics\"\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\u003ctd style=\"max-width: 275px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7069.1200.jpg?503f83fc79faeb0b92c0c71b8157c480\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id altimu-10 v5 gyro accelerometer compass and altimeter pinout. data-picture-id=\"0J7069\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7069.275.jpg?503f83fc79faeb0b92c0c71b8157c480\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 275px\"\u003e\u003cp\u003ePololu AltIMU-10 v5 gyro, accelerometer, compass, and altimeter pinout.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\u003ctd style=\"max-width: 275px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7063.1200.jpg?5a177c895a05ac4af1dd07eb3569def6\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id pololu altimu-10 v5 modules in a breadboard. data-picture-id=\"0J7063\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7063.275.jpg?5a177c895a05ac4af1dd07eb3569def6\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 275px\"\u003e\u003cp\u003eTwo Pololu AltIMU-10 v5 modules in a breadboard.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003ch3 class=\"clear\"\u003ePinout\u003c\/h3\u003e\n\u003ctable class=\"specifications center\"\u003e\n\t\u003ctr\u003e\n\t\t\u003cth\u003ePIN\u003c\/th\u003e\n\t\t\u003cth\u003eDescription\u003c\/th\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr class=\"odd\"\u003e\n\t\t\u003ctd\u003eSCL\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:left;\"\u003eLevel-shifted I²C clock line: HIGH is VIN, LOW is 0 V\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003eSDA\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:left;\"\u003eLevel-shifted I²C data line: HIGH is VIN, LOW is 0 V\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr class=\"odd\"\u003e\n\t\t\u003ctd\u003eGND\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:left;\"\u003eThe ground (0 V) connection for your power supply.  Your I²C control source must also share a common ground with this board.\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003eVIN\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:left;\"\u003eThis 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.\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr class=\"odd\"\u003e\n\t\t\u003ctd\u003eVDD\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:left;\"\u003e3.3 V regulator \u003cstrong\u003eoutput\u003c\/strong\u003e 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.  \u003cins\u003eNever supply voltage to VDD when VIN is connected, and never supply more than 3.6 V to VDD.\u003c\/ins\u003e\n\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003eSA0\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:left;\"\u003e3.3V-logic-level input to determine I²C slave addresses of the three ICs (see below).  It is pulled high by default through 10 kΩ resistor. \u003cem\u003eThis pin is not level-shifted and is not 5V-tolerant.\u003c\/em\u003e\n\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp class=\"note\"\u003eThe 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 \u003ca href=\"https:\/\/www.pololu.com\/product\/2736\"\u003eLSM6DS33 carrier\u003c\/a\u003e, \u003ca href=\"https:\/\/www.pololu.com\/product\/2737\"\u003eLIS3MDL carrier\u003c\/a\u003e, and \u003ca href=\"https:\/\/www.pololu.com\/product\/2867\"\u003eLPS25H carrier\u003c\/a\u003e boards.\u003c\/p\u003e\n\u003ch3\u003eSchematic Diagram\u003c\/h3\u003e\n\u003ctable class=\"picture_with_caption center wide\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J7066.1200.png?1fa19e662e13e98e1f7a8e8729d6c1b1\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id diagram of the altimu-10 v5 gyro accelerometer compass and altimeter lis3mdl lps25h carrier data-picture-id=\"0J7066\" data-picture-longest_side=\"960\" src=\"https:\/\/a.pololu-files.com\/picture\/0J7066.600.jpg?1fa19e662e13e98e1f7a8e8729d6c1b1\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eThe 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: \u003ca href=\"\/file\/0J1109\/altimu-10-v5-schematic.pdf\"\u003eAltIMU-10 v5 schematic\u003c\/a\u003e (119k pdf).\u003c\/p\u003e\n\u003ch3\u003eI²C Communication\u003c\/h3\u003e\n\u003cp\u003eThe 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 \u003ca href=\"\/file\/0J1087\/LSM6DS33.pdf\"\u003eLSM6DS33 datasheet\u003c\/a\u003e (1MB pdf), the \u003ca href=\"\/file\/0J1089\/LIS3MDL.pdf\"\u003eLIS3MDL datasheet\u003c\/a\u003e (2MB pdf), and the \u003ca href=\"\/file\/0J761\/LPS25H.pdf\"\u003eLPS25H datasheet\u003c\/a\u003e (1MB pdf).  More detailed information about I²C in general can be found in \u003ca href=\"\/file\/0J435\/UM10204.pdf\"\u003eNXP’s I²C-bus specification\u003c\/a\u003e (1MB pdf).\u003c\/p\u003e\n\u003cp\u003eThe 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:\u003c\/p\u003e\n\u003ctable class=\"specifications center\"\u003e\n\t\u003ctr\u003e\n\t\t\u003cth\u003eSensor\u003c\/th\u003e\n\t\t\u003cth\u003eSlave Address (default)\u003c\/th\u003e\n\t\t\u003cth\u003eSlave Address (SA0 driven low)\u003c\/th\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr class=\"odd\"\u003e\n\t\t\u003ctd style=\"text-align:left;\"\u003eLSM6DS33 (gyro and accelerometer)\u003c\/td\u003e\n\t\t\u003ctd\u003e1101011b\u003c\/td\u003e\n\t\t\u003ctd\u003e1101010b\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style=\"text-align:left;\"\u003eLIS3MDL (magnetometer)\u003c\/td\u003e\n\t\t\u003ctd\u003e0011110b\u003c\/td\u003e\n\t\t\u003ctd\u003e0011100b\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr class=\"odd\"\u003e\n\t\t\u003ctd style=\"text-align:left;\"\u003eLPS25H (barometer)\u003c\/td\u003e\n\t\t\u003ctd\u003e1011101b\u003c\/td\u003e\n\t\t\u003ctd\u003e1011100b\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eAll three chips on the AltIMU-10 v5 are compliant with fast mode (400 kHz) I²C standards as well as with the normal mode.\u003c\/p\u003e\n\u003ch4\u003eSample Code\u003c\/h4\u003e\n\u003cp\u003eWe have written a basic \u003ca href=\"https:\/\/github.com\/pololu\/lsm6-arduino\"\u003eLSM6DS33 Arduino library\u003c\/a\u003e, \u003ca href=\"https:\/\/github.com\/pololu\/lis3mdl-arduino\"\u003eLIS3MDL Arduino library\u003c\/a\u003e, and \u003ca href=\"https:\/\/github.com\/pololu\/lps-arduino\"\u003eLPS25H Arduino library\u003c\/a\u003e that make it easy to interface the AltIMU-10 v5 with an \u003ca href=\"https:\/\/www.pololu.com\/product\/2191\"\u003eArduino\u003c\/a\u003e or Arduino-compatible board like an \u003ca href=\"https:\/\/www.pololu.com\/category\/149\/a-star-programmable-controllers\"\u003eA-Star\u003c\/a\u003e.  They also make it simple to configure the sensors and read the raw gyro, accelerometer, magnetometer, and pressure data.\u003c\/p\u003e\n\u003cp\u003eFor 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 \u003ca href=\"https:\/\/github.com\/pololu\/minimu-9-ahrs-arduino\"\u003ethis Arduino program\u003c\/a\u003e. 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.\u003c\/p\u003e\n\u003ch4\u003eProtocol Hints\u003c\/h4\u003e\n\u003cp\u003eThe 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:\u003c\/p\u003e\n\u003cul\u003e\n\t\u003cli\u003eThe 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.\u003c\/li\u003e\n\t\u003cli\u003eYou 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.\u003c\/li\u003e\n\t\u003cli\u003eThe 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.\u003c\/li\u003e\n\t\u003cli\u003eIn addition to the datasheets, ST provides application notes for the \u003ca href=\"\/file\/0J1088\/LSM6DS33-AN4682.pdf\"\u003eLSM6DS33\u003c\/a\u003e (1MB pdf) and \u003ca href=\"\/file\/0J1090\/LIS3MDL-AN4602.pdf\"\u003eLIS3MDL\u003c\/a\u003e (598k pdf) containing additional information and hints about using them.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eProduct Comparison\u003c\/h2\u003e\n\u003cp\u003eWe carry several inertial measurement and orientation sensors. The table below compares their capabilities:\u003c\/p\u003e\n\u003ctable class=\"reference\"\u003e\n\t\u003ctr\u003e\n\t\t\u003cth rowspan=\"2\"\u003eProduct Name\u003c\/th\u003e\n\t\t\u003cth colspan=\"4\"\u003eSensors\u003c\/th\u003e\n\t\t\u003cth colspan=\"4\"\u003eEstimation\u003c\/th\u003e\n\t\t\u003cth\u003eOther\u003c\/th\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr style=\"text-align:center;\"\u003e\n\t\t\u003ctd\u003eGyros (3x)\u003c\/td\u003e\n\t\t\u003ctd\u003eAccels (3x)\u003c\/td\u003e\n\t\t\u003ctd\u003eMag (3x)\u003c\/td\u003e\n\t\t\u003ctd\u003eAltitude\u003c\/td\u003e\n\t\t\u003ctd\u003eRoll\u003c\/td\u003e\n\t\t\u003ctd\u003ePitch\u003c\/td\u003e\n\t\t\u003ctd\u003eYaw\u003c\/td\u003e\n\t\t\u003ctd\u003eQuaternion\u003c\/td\u003e\n\t\t\u003ctd\u003eEnclosure\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e\u003ca href=\"\/product\/2862\"\u003ePololu MinIMU-9 v6\u003c\/a\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e\u003ca href=\"\/product\/2763\"\u003ePololu AltIMU-10 v6\u003c\/a\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e\u003ca href=\"\/product\/2763\"\u003eRedshift Labs UM7-LT Orientation Sensor\u003c\/a\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e\u003ca href=\"\/product\/2764\"\u003eRedshift Labs UM7 Orientation Sensor\u003c\/a\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\t\u003ctd style=\"text-align:center;\"\u003e\u003cimg src=\"https:\/\/a.pololu-files.com\/assets\/check-fa31fa0963023302eb66fe206c0d1e8cb1135facdac9a4e8f5b5ffcc3c3ea377.png\" title=\"Yes\" alt=\"Yes\"\u003e\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e","brand":"Pololu","offers":[{"title":"2-4 Settimane","offer_id":47696600334681,"sku":"POL-2739","price":51.17,"currency_code":"EUR","in_stock":true},{"title":"1 Giorno","offer_id":47885965328729,"sku":"POL-2739\/A","price":51.17,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J7062.1200.jpg?v=1705454287","url":"https:\/\/xernuqvalzi.pro\/products\/2739-altimu-10-v5-gyro-accelerometer-compass-and-altimeter-lsm6ds33-lis3mdl-and-lps25h-carrier","provider":"Robot Italy","version":"1.0","type":"link"}