- Out-of-Stock
MinIMU-9 Gyro, Accelerometer, and Compass (L3G4200D and LSM303DLM Carrier)
The Pololu MinIMU-9 is an inertial measurement unit (IMU) that packs an L3G4200D 3-axis gyro and an LSM303DLM 3-axis accelerometer and 3-axis magnetometer onto a tiny 0.9” × 0.6” board. An I2C interface accesses nine independent rotation, acceleration, and magnetic measurements that can be used to calculate the sensor’s absolute orientation. The MinIMU-9 board includes voltage regulators and a level-shifting circuit that allows operation from 2.6 to 5.5 V, and the 0.1” pin spacing makes it easy to use with standard solderless breadboards and 0.1” perfboards.
Discontinuation notice: This board is being replaced by the newer MinIMU-9 v2 L3GD20 and LSM303DLHC carrier, which offers improved magnetic sensing resolution, a wider acceleration measurement range, and gyro measurements that are more resistant to audio noise and vibrations. The new version is also 25% smaller than the original. The MinIMU-9 v2 is pin-compatible with the previous version, but the mounting hole location has changed, and the new ICs have different I˛C addresses and configuration registers, so code written to interface with the MinIMU-9 will need to be modified to work with the MinIMU-9 v2. This original version will be discontinued when stock runs out and is not recommended for new designs.
![]() |
The Pololu MinIMU-9 is a compact (0.9? ? 0.6? ? 0.1?) board that combines ST’s L3G4200D 3-axis gyroscope and LSM303DLM 3-axis accelerometer and 3-axis magnetometer to form an inertial measurement unit (IMU); we therefore recommend careful reading of the L3G4200D datasheet (1MB pdf) and the LSM303DLM datasheet (519k 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 on multiple voltage supplies that make interfacing with 3.3 or 5 V systems challenging. The MinIMU-9 addresses these issues by incorporating additional electronics, including two voltage regulators 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 L3G4200D and LSM303, as shown in the product picture.
The L3G4200D and the LSM303 have many configurable options, including dynamically selectable sensitivities for the gyro, accelerometer, and magnetometer, as well as a choice of output data rates for each sensor. The two ICs can be accessed through a shared I˛C/TWI interface, allowing all three sensors to be addressed individually via a single clock line and a single data line. 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-9 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 two voltage regulators that provide the 1.8 V and 3 V required by the L3G4200D and LSM303, allowing the module to be powered from a single 2.6 – 5.5 V supply. The regulator outputs are available on the 1V8 and 3V pins and can supply almost 150 mA and 300 mA, respectively, 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 3.3 V or 5 V systems, and the board’s 0.1? pin spacing makes it easy to use with standard solderless breadboards and 0.1? perfboards.
A 6?1 strip of 0.1? header pins and a 6?1 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 you can solder wires directly to the board itself for more compact installations.
![]() |
A minimum of four connections are necessary to use the MinIMU-9: VIN, GND, SCL, and SDA. VIN should be connected to a 2.6 – 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.
|
|
| 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.6 – 5.5 V power supply connection. The SCL and SDA level shifters pull the I˛C bus high bits up to this level. |
| 3V | Regulated 3.0 V output. Almost 300 mA is available to power external components. |
| 1V8 | Regulated 1.8 V output. Almost 150 mA is available to power external components. |
| SA0_G | Gyro I˛C slave address least significant bit; pulled high by default. Most applications can leave this pin disconnected. |
| SA0_A | Accelerometer I˛C slave address least significant bit; pulled low by default. Most applications can leave this pin disconnected. |
The data ready and interrupt pins of the L3G4200D and the LSM303DLM are not accessible on the MinIMU-9; if you need these outputs, consider using our L3G4200D carrier and LSM303DLM carrier boards.
![]() |
The above schematic shows the additional components the carrier board incorporates to make the L3G4200D and LSM303 easier to use, including the voltage regulators that allow the board to be powered from a single 2.6 – 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 schematic (36k pdf).
The L3G4200D and LSM303DLM readings can be queried and the devices can be configured through the I˛C bus. The three sensors (the L3G4200D gyro and the LSM303DLM accelerometer and magnetometer) act as slave devices 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.6 – 5.5V). A detailed explanation of the protocols used by each device can be found in the L3G4200D datasheet (1MB pdf) and the LSM303DLM datasheet (519k pdf), and more detailed information about I˛C in general can be found in NXP’s I˛C-bus specification (371k pdf).
The gyro, accelerometer, and magnetometer each have separate slave addresses on the I˛C bus. The gyro and accelerometer’s 7-bit slave addresses have their least significant bit (LSb) determined by the voltage on the SA0_G and SA0_A pins, respectively. The carrier board pulls SA0_G to 1.8 V and SA0_A to ground through 4.7kΩ resistors, setting the gyro’s slave address to 1101001b and the accelerometer’s slave address to 0011000b by default. If the gyro’s selected slave address happens to conflict with some other device on your I˛C bus, you can drive SA0_G low to set the LSb to 0; similarly, you can drive SA0_A high (by connecting it to 1.8 V) to set the LSb of the accelerometer’s slave address to 1. The magnetometer’s slave address is 0011110b and cannot be changed.
In our tests of the MinIMU-9, we were able to communicate with both chips at clock frequencies up to 400 kHz; higher frequencies might work but were not tested. The chips themselves and carrier board do not meet of some requirements to make the devices compliant with I˛C fast mode. They are missing 50 ns spike suppression on the clock and data lines, and additional pull-ups on the clock and data lines might also be necessary to achieve compliant signal timing characteristics.
We have written a basic L3G4200D Arduino library and LSM303 Arduino library that make it easy to interface the MinIMU-9 with an Arduino. The libraries make it simple to configure the sensors and read their 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 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, but picking out the important details can take some time. Here are some pointers for communicating with and configuring the L3G4200D and LSM303DLM that we hope will get you up and running a little bit faster:
We carry several inertial measurement and orientation sensors. The table below compares their capabilities:
| Product Name | Sensors | Estimation | Other | |||||
| Gyros (3x) | Accels (3x) | Mag (3x) | Roll | Pitch | Yaw | Quaternion | Enclosure | |
| Pololu MinIMU-9 v2 |
![]() |
![]() |
![]() |
|||||
| CHR-UM6-LT Orientation Sensor |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
| CHR-UM6 Orientation Sensor |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Wixel Shield for Arduino + Wixel Pair + USB cable |
![]() |
Wixel Pair + USB Cable |
![]() |
Free Elektor magazine December 2011 |
Manufacturer BTC Korporacja sp. z o. o. Lwowska 5 05-120 Legionowo Poland sprzedaz@kamami.pl 22 767 36 20
Responsible person BTC Korporacja sp. z o. o. Lwowska 5 05-120 Legionowo Poland sprzedaz@kamami.pl 22 767 36 20
The fun with marble runs continues with Ugears\' Marble Run Tiered Hoist, the third in a series of Ugears modular marble runs. This unique entrant in our growing collection of entertaining wooden marble runs features a 3-tiered stair lift that raises the marbles to the top for amusement park adventures. This wooden DIY kit is both a 3D puzzle and a fun toy. The Marble Run Tiered Hoist features a fascinating lift, three new track elements, and interesting trap and release mechanisms sprinkled throughout. Turn the hand crank and watch the marbles make their journeys through various obstacles down to the collection tray below. Multiple tracks and elements are packed into a compact space in this well-designed DIY marble run. UGears 70170
No product available!
The Wright brothers got it right. When these talented bicycle mechanics set out to build the world\'s first motor-driven, heavier-than-air airplane, they needed wings that could provide enough lift, yet be light and strong. They went with a biplane design, seen in early hang gliders. Biplanes have two fixed wings, one on top of the other, connected with supporting struts; the bracing permits a lighter wing structure. WWI flyers took to the skies in biplanes, and while the Red Baron is known for his iconic crimson triplane, most of his decorated combat career was spent in biplanes. Advances in aviation technology and materials made the biplane obsolete by the late 1930\'s, however, biplanes remain a fixture and fan favorite at airshows to this day. UGears 70159
No product available!
No product available!
No product available!
No product available!
The Clockwork Universe theory favored by 17th C deists held that the Earth and the heavens, and all their motions, were like a giant clock, with God as the Clockmaker. Newton\'s three laws of motion and the principle of universal gravitation were thought to be sufficient to explain phenomena of any kind, using mechanical conceptions. At Ugears we love mechanical conceptions! And so with a nod to Isaac Newton, we present the Sky Watcher Tourbillon Table Clock, a fascinating combination of imaginative celestial observatory and functional table clock! UGears 70162
No product available!
We know you love car modelling and you love the Ugears Dream Cabriolet, Roadster, and U-9 Grand Prix. Well, make room on the shelf, because a powerful new mechanical model just muscled its way into the Ugears Automotive collection. Introducing the Drift Cobra Racing Car, a beautifully-styled, two-seat convertible—our twist on what may be the most revered sports car of all time: the Shelby Cobra 427. The Cobra 427, produced between 1965-67, had a 7.0 litre 450-510 horsepower engine, did 0-60 mph in just over 4 seconds, and had a top speed of 185 mph. UGears 70161
No product available!
Bring back the romance of train travel in a bygone age with the Steam Express 2.5D picture puzzle from new Ugears collection. This DIY 2.5D wooden picture model shows a classic steam locomotive and passenger carriage from three perspectives, each with mechanical elements. Inspired by the luxury passenger trains of the early 20th century, with its elegance the Steam Express is a beautiful static display piece that comes to life with its moving parts. UGears 70207
No product available!
Next up in the exciting new line of Ugears 2.5D puzzles, Classic Vehicles collection, we present the Zeppelin—the world\'s first commercial aircraft! Inspired by German airships from the early 20th Century, and named after German inventor Count Ferdinand von Zeppelin, this DIY 2.5D wooden airship model has movable elements and comes in its own frame, suitable for hanging on a wall or placing on a desk or shelf. UGears 70208
No product available!
Let\'s talk cars. Because cars are cool, and the coolest of the cool might be the sports coupe: a sleek and stylish two-door car designed for high performance and driving enjoyment. Often built with a low, wide profile, sports coupes typically feature a powerful engine, sport-tuned suspension, aerodynamic design, and other performance-enhancing features that prioritize speed, agility, and handling. You don\'t buy a coupe for its fuel economy or trunk space, you buy it because a) you love to drive, b) you want to make a statement, and c) the cool factor. And nothing is cooler on a car, or makes a bigger statement than gull-wing doors! UGears 70205
No product available!
Imagine the future of space exploration with Ugears\' Manned Mars Rover, an all-terrain planetary explorer with 6x6 all-wheel drive, a cab for two astronauts, spring-driven motor, a swivel between cab and body, and fully-sprung independent suspension. This DIY model space rover has its front centerline pushed forward for better climbing and stability, front wheels that turn for maneuverability, and large diameter wheels to overcome obstacles while navigating the Martian landscape. A ramp folds down in the back, while a top-mounted dish antenna rotates 360° and can swivel up and down to transmit or receive signals to and from the base. UGears 70206
No product available!
The Atlantic Ocean series of U-Fidgets from Ugears features a compass to guide your voyages and three majestic ocean creatures you might encounter along the way. UGears 70201
No product available!
The Pacific Ocean series of U-Fidgets from Ugears features four iconic sea creatures. From denizens of the deep to skimmers of the shallows, these beautiful marine life fidgets remind us we must protect the oceans, use less plastic, stop dumping waste, not let our world destroy theirs. UGears 70200
No product available!
No product available!
Ain\'t no mountain high enough, ain\'t no valley low enough, ain\'t no river wide enough, to keep this jeep from gettin\' through! The Tracked Off-Road Vehicle from Ugears is an eye-poppin\' rock hoppin\', heart-stoppin\' ride. Whatever your 4x4 of choice, whether you use a UTV for hunting or to get around the farm, a sport ATV for thrilling trail adventure, a side-by-side for family trips in the country, a dune buggy for getting to your favorite surf spot, or a truck for work and adventure, just one look at the tracks on this wooden jeep model will trigger your "I want!" reflex. UGears 70204
No product available!
No product available!
MinIMU-9 Gyro, Accelerometer, and Compass (L3G4200D and LSM303DLM Carrier)