Skip to content

invensense-imu (Bolder Flight Systems)

  • Software
  • Microcontrollers and firmware tools
  • Driver or SDK

A driver library for the InvenSense MPU-6500 and MPU-9250/9255 inertial measurement units, reading gyroscope, accelerometer and magnetometer data over I2C or SPI.

Made by bolderflight.

Source on GitHub: github.com/bolderflight/invensense-imu (opens in a new tab). Facts read at commit 718e9cb (opens in a new tab).

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE.md (opens in a new tab) (MIT) at commit 718e9cb (opens in a new tab), on 22 Oct 2026.

Commercial use
Yes

What it does

  • Communicates with MPU-6500 and MPU-9250/9255 IMUs over I2C (up to 400 kHz) and SPI.
  • Configures accelerometer, gyro and magnetometer full-scale ranges, sample rate divider and digital low-pass filter.
  • Provides a data ready interrupt and a wake-on-motion interrupt.
  • Returns accelerometer and gyro readings in SI-style units and die temperature.
  • Works with Arduino and CMake build systems, with examples for I2C, SPI, data ready and wake-on-motion.

Written by Robotheca from the project's README (opens in a new tab) at commit 718e9cb.

Getting started

Difficulty
Intermediate
Hardware it needs, as the project states it
Teensy 3.x, 4.x and LC devices are used for testing under Arduino; the CMake build requires one of the listed MCUs (e.g. MK66FX1M0, IMXRT1062_T41) defined at build time.

Maintenance

Status
Active: a commit in the last 90 days
Newest commit
24 Aug 2026 on main
Latest release
None published on GitHub

Checked on GitHub on 22 Oct 2026.

Robots that can run it

No robot on Robotheca is linked to it yet. Links come from a robot's robot.yaml, from its dependency files read as text, or from Robotheca's editors.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.