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 Provenance Actions
icm20602-0.2.3.tar.gz 5.8 kB Without provenance Details for icm20602-0.2.3.tar.gz

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

Security for icm20602 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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