# ICM20948 9DOF with pimorini pico lipo?

**URL:** <https://forums.pimoroni.com/t/icm20948-9dof-with-pimorini-pico-lipo/22848>\
**Category:** Support\
**Created:** [August 31, 2023, 10:24pm UTC](https://forums.pimoroni.com/t/icm20948-9dof-with-pimorini-pico-lipo/22848 "2023-08-31T22:24:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![BirdOfParadise](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@BirdOfParadise](https://forums.pimoroni.com/u/BirdOfParadise)\
**Post date:** [August 31, 2023, 10:24pm UTC](https://forums.pimoroni.com/t/icm20948-9dof-with-pimorini-pico-lipo/22848/1 "2023-08-31T22:24:59Z")

</div>

I have ordered a ICM20948 9dof sensor for a project to be used with a pi pico. The description claims it has a python library for rpi computers but also claims it can be used with microcontrollers. However I cannot find any function referenc to use this sensor. Does anyone know where i can find one?

`It's also **Qw/ST compatible*** so it can be plugged into a whole range of different [microcontrollers and HATs](https://shop.pimoroni.com/collections/stemma-qt) with Qwiic or STEMMA QT connectors.`

---

<div class="post-metadata">

**Author:** ![bablokb](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@bablokb](https://forums.pimoroni.com/u/bablokb)\
**Post date:** [September 1, 2023, 5:46am UTC](https://forums.pimoroni.com/t/icm20948-9dof-with-pimorini-pico-lipo/22848/2 "2023-09-01T05:46:31Z")

</div>

The product page links to the python-library, and there you can find the source code. Better, you have an examples directory which shows the typical use.

For Micropython, there is a library available, just google for “icm20948 micropython”. That library is on pypi and has a nice readthedocs documentation. Adafruit has a library for CircuitPython.

---

<div class="post-metadata">

**Author:** ![BirdOfParadise](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@BirdOfParadise](https://forums.pimoroni.com/u/BirdOfParadise)\
**Post date:** [September 1, 2023, 3:14pm UTC](https://forums.pimoroni.com/t/icm20948-9dof-with-pimorini-pico-lipo/22848/3 "2023-09-01T15:14:35Z")

</div>

I belive this is what your talking about: `https://github.com/jposada202020/MicroPython_ICM20948`  
Would this be a case of installing it via `cmd` and then importing within my ide? In addition would this work alongside the tufty2040 running pirate flavour of micropython?

---

<div class="post-metadata">

**Author:** ![bablokb](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@bablokb](https://forums.pimoroni.com/u/bablokb)\
**Post date:** [September 1, 2023, 3:49pm UTC](https://forums.pimoroni.com/t/icm20948-9dof-with-pimorini-pico-lipo/22848/4 "2023-09-01T15:49:24Z")

</div>

Yes, that is also the link I found.

Regarding installation: I can’t help here. Installation is one reason I use CircuitPython whenever I can, it is so simple and no problems with vendor-specific flavors of the base-system what so ever.

When I look at the examples [MicroPython ICM20948 Driver - MicroPython ICM20948](https://micropython-icm20948.readthedocs.io/en/latest/api.html), I see no problem that this additional driver will not work together with Pimoroni’s MicroPython.

---

<div class="post-metadata">

**Author:** ![BirdOfParadise](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@BirdOfParadise](https://forums.pimoroni.com/u/BirdOfParadise)\
**Post date:** [September 1, 2023, 4:23pm UTC](https://forums.pimoroni.com/t/icm20948-9dof-with-pimorini-pico-lipo/22848/5 "2023-09-01T16:23:34Z")

</div>

I agree circuitpython is so easy to use in terms of plugins but I find their dislpay drivers difficult to use therefore try to avoid them as much as possible. I will see if they work and worst case ill learn to work with circuit python. Additionaly if I am correct there is no official support for the tufty on circuit python.

---

<div class="post-metadata">

**Author:** ![bablokb](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@bablokb](https://forums.pimoroni.com/u/bablokb)\
**Post date:** [September 1, 2023, 5:01pm UTC](https://forums.pimoroni.com/t/icm20948-9dof-with-pimorini-pico-lipo/22848/6 "2023-09-01T17:01:17Z")

</div>

Why don’t you give the MicroPython driver a try? If you are happy with how MP handles the display, then it should be the easier route. I think you only have to solve the download and install problem, which probably boils down to copying the driver files into the lib-directory.

Regarding Tufty and CP: yes, this is not officially supported. I created a version, but it is not up to date.
