Skip to content

Keyaan-07/icm-20948-devboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ICM-20948 Development Board

The ICM-20948 is a low-power 9-axis MEMS motion tracking device that combines a 3-axis gyroscope, a 3-axis accelerometer, and a 3-axis magnetometer. This breakout board makes it easy to interface the ICM-20948 with your microcontroller via IยฒC or SPI, enabling a wide range of motion tracking applications like robotics, wearables, drones, and more.

๐Ÿ“ฆ Features

  • 9-axis sensor:
    • 3-axis Accelerometer (ยฑ2/4/8/16 g)
    • 3-axis Gyroscope (ยฑ250/500/1000/2000 dps)
    • 3-axis Magnetometer (AK09916)
  • Ultra-low power consumption
  • Digital Motion Processor (DMP)
  • Communication Interfaces:
    • IยฒC (up to 400 kHz)
    • SPI (up to 7 MHz)
  • Voltage Regulator: Operates at 1.8โ€“3.3V input
  • Onboard pull-up resistors for IยฒC
  • Compact size: Typically 1"x1"

๐Ÿ“˜ Documentation

๐Ÿ”Œ Pinout

Pin Function
VIN Power supply (1.8Vโ€“3.3V)
GND Ground
SDA IยฒC Data / SPI MOSI
SCL IยฒC Clock
SDO IยฒC Address / SPI MISO
CS SPI Chip Select

๐Ÿš€ Getting Started

Requirements

  • Microcontroller (Arduino, ESP32, Raspberry Pi, STM32, etc.)
  • ICM-20948 Breakout Board
  • Logic level compatibility (1.8Vโ€“3.3V)

Libraries

  • Arduino:

    • SparkFun ICM-20948 Library

    • Install via Library Manager or clone via Git:

      git clone https://github.com/sparkfun/SparkFun_ICM-20948_ArduinoLibrary.git
  • Raspberry Pi (Python):

    • RTIMULib2
    • or write your own IยฒC interface using smbus2

๐Ÿ› ๏ธ Applications

  • Drone flight controllers
  • Wearable fitness devices
  • Gesture recognition
  • Robotics
  • VR/AR head tracking
  • Automotive navigation systems

โš™๏ธ Tips

  • For best magnetometer performance, avoid placing the board near ferromagnetic materials or current-carrying wires.
  • Use DMP features if you want to reduce processing load on your MCU (advanced).
  • Calibration is key for accurate results (especially magnetometer).

๐Ÿ“„ License

This project/documentation is released under the MIT License.

๐Ÿค Contributing

Feel free to open issues, suggest improvements, or contribute code via pull requests.

About

A Tiny Open-Source Development Board for the ICM-20948 9 DoF IMU and Magnetometer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •