GithubHelp home page GithubHelp logo

jposada202020 / micropython_icm20948 Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 98 KB

MicroPython Driver for the TDK ICM20948 Accelerometer/Gyro Sensor

License: MIT License

Python 100.00%
acceleration accelerometer driver gyro gyroscope icm20948 micropython sensor tdk

micropython_icm20948's Introduction

Introduction

micropython

Documentation Status

PyPi Package

Total PyPI downloads

Code Style: Black

MicroPython Driver for the Accelerometer and Gyro ICM20948 Sensor

Installing with mip

To install using mpremote

mpremote mip install github:jposada202020/MicroPython_ICM20948

To install directly using a WIFI capable board

mip.install("github:jposada202020/MicroPython_ICM20948")

Installing Library Examples

If you want to install library examples:

mpremote mip install github:jposada202020/MicroPython_ICM20948/examples.json

To install directly using a WIFI capable board

mip.install("github:jposada202020/MicroPython_ICM20948/examples.json")

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install micropython-icm20948

To install system-wide (this may be required in some cases):

sudo pip3 install micropython-icm20948

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .env/bin/activate
pip3 install micropython-icm20948

micropython_icm20948's People

Contributors

jposada202020 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cinarteker

micropython_icm20948's Issues

EIO error on running on pico

currently trying to run the "simple test" program on a rapi pico with the waveshare 10dof board. their documentation sucks and their class only works by itself in the example program cus of the way they have used globals.

whenever i try and run just a simple test i get the following error. As you can see i have the libraries uploaded to the pico. anythoughts appreciated.

image

SPI

Is this library able to be used with SPI? If I use the same variables, does it matter?

Compass and rotation

Hi

Would you know if this chip can calculate compass angle like most magnetometer and would you have any example code to calculate rotation count? Example if i rotate the gyro on a table? (Example: 2 counter clockwise ration)

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.