GithubHelp home page GithubHelp logo

wollewald / icm20948_we Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 5.0 1.66 MB

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.

Home Page: https://wolles-elektronikkiste.de/en/icm-20948-9-axis-sensor-part-i

License: MIT License

C++ 98.19% C 1.81%
accelerometer arduino gyroscope i2c icm-20948 icm20948 imu magnetometer spi

icm20948_we's People

Contributors

damarxcv avatar wollewald avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

icm20948_we's Issues

Suggestion: Add getGyrOffsets() and getAccOffsets()

Hello,
It could be interesting to add a getGyrOffsets() and a getAccOffsets() methods because I think there is no necessity to compute new offsets every time we power it up.
So, we could save the data computed once and set it in the chip on subsequent power up.

Compass

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

How to find Drift Angle?

Hi,

I am using ICM20948 with ICM20948_WE library and now i am able to get appropriate coordinators of Accelerometer, Gyroscope and Magnetometer one Level of calibration is okay and it's working.

Now i have tried roll,Pitch and Yaw example to find Drift Angle for my skateboard but i am not able to found.

So my issue with Drift Angle can you please give some idea of formula to drive Drift Angle using this all parameter.

I have try with the Vector Formation to drive Angle but i not able to drive this i juse able to drive only heading angle so,

Please suggest me some formula or tutorial for this.

Thanks

DLPF mode and the accelerometer

Hi,

in examples\ICM20948_08_cycle\ICM20948_08_cycle.ino you wrote that you get wrong data if DLPF is applied. That is mostly intended because you NEED to set the acc DLPF to 7, if you want to use the DLPF, every other setting is out of specs. Take a look at ACCEL_DLPFCFG, Tabel 19, Page 65.
And the sample rate divider is intended to work with a "disabled" DLPF (aka 1X AVG) as you can see in the tabel and also not strange. :D

Yaw Calculation

Hi,
I am using ICM20948_07_pitch_and_roll and using that I am getting two rotational values/degrees change.
But When I do rotation on Surface then I do not see any change. How can we calculate Yaw in Example#7 and have rotation changes in all directions?

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.