Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wollewald/icm20948_we
An Arduino library for the ICM20948 9-axis accelerometer, gyroscope and magnetometer. It contains many example sketches with lots of comments to make it easy to use.
https://github.com/wollewald/icm20948_we
accelerometer arduino gyroscope i2c icm-20948 icm20948 imu magnetometer spi
Last synced: about 2 months ago
JSON representation
An Arduino library for the ICM20948 9-axis accelerometer, gyroscope and magnetometer. It contains many example sketches with lots of comments to make it easy to use.
- Host: GitHub
- URL: https://github.com/wollewald/icm20948_we
- Owner: wollewald
- License: mit
- Created: 2021-05-13T16:15:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-14T09:56:00.000Z (3 months ago)
- Last Synced: 2024-09-14T20:10:22.635Z (3 months ago)
- Topics: accelerometer, arduino, gyroscope, i2c, icm-20948, icm20948, imu, magnetometer, spi
- Language: C++
- Homepage: https://wolles-elektronikkiste.de/en/icm-20948-9-axis-sensor-part-i
- Size: 1.75 MB
- Stars: 31
- Watchers: 3
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ICM20948_WE
An Arduino library for the ICM-20948 9-axis accelerometer, gyroscope and magnetometer. It contains many example sketches with lots of comments to make it easy to use. It works with I2C and SPI.I have not implemented DMP features and most probably I won't do that in future. That would exceed the time I can invest.
You can find a documentation in my blog:
https://wolles-elektronikkiste.de/icm-20948-9-achsensensor-teil-i (German)
https://wolles-elektronikkiste.de/en/icm-20948-9-axis-sensor-part-i (English)
If you find bugs please inform me. If you like the library it would be great if you could give it a star.
If you are not familiar with the ICM20948 I recommend to work through the example sketches.
When you wire the ICM-20948 you need to consider that VDD is 3.3 volts, but VDDIO is only 1.71-1.95 volts (see data sheet). For a 5V MCU board, I used a level shifter and additional resistors to GND.
Known issue:
* If you upload sketches, the magnetometer occasionally does not respond. If you disconnect from power and then reconnect it will work. For some boards, e.g. ESP32 it is the other way round: uploads work,
but sometimes there are issues after re-powering.