Skip to main content

ICM20602

PyPI License

Python library for the icm-20602 and mpu-6500 IMU comm via spi, suitable for Raspberry Pi

Capable of reading acceleration and gyroscope values, threaded use, calibration, DLPF, smoothing and inclination calculation.

Since ICM-20602 is the successor of MPU-6500, they are register address compatible. This library can be used for both. Be sure to connect the wires correct.

Both IMUs were tested on RaspBerry Pi 5, 2GB, Linux RPLite 6.6.62+rpt-rpi-2712

Installation

pip install icm20602

Dependencies

spidev

Usage

Please check examples/ directory for usage

ToDo

  • Better documentation
  • FIFO Support

License

Copyright (c) 2025 kagankongar (kagan.kongar@gmail.com). Available under the MIT License. For more information, see LICENSE.

Metadata

Release files for icm20602 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for icm20602 0.2.3
File Size Uploaded
icm20602-0.2.3.tar.gz 5.8 kB Details

Release files / icm20602-0.2.3.tar.gz

Download URL icm20602-0.2.3.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7df9af322e77b621e583680945dd55ddcee9b7a1b50e701853b0b108eb2f49d5
BLAKE2b-256 checksum
How to use checksums
c4dcd7093e65a9ada8361bba8d80c9b7e37161ef40ca05048edb5b51c6128531
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.2.3 This release

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page