Skip to main content

A Python library for ICM20602 sensor, Raspberry PI ready

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

icm20602-0.2.3.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file icm20602-0.2.3.tar.gz.

File metadata

  • Download URL: icm20602-0.2.3.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for icm20602-0.2.3.tar.gz
Algorithm Hash digest
SHA256 7df9af322e77b621e583680945dd55ddcee9b7a1b50e701853b0b108eb2f49d5
MD5 06ff70744d1d550043aa80f06daf6ee5
BLAKE2b-256 c4dcd7093e65a9ada8361bba8d80c9b7e37161ef40ca05048edb5b51c6128531

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page