# Processing IMU data

**URL:** <https://community.sparkfun.com/t/processing-imu-data/47254>\
**Category:** IMU & Motion\
**Created:** [April 8, 2024, 9:07pm UTC](https://community.sparkfun.com/t/processing-imu-data/47254 "2024-04-08T21:07:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pstapl1](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pstapl1](https://community.sparkfun.com/u/Pstapl1)\
**Post date:** [April 8, 2024, 9:07pm UTC](https://community.sparkfun.com/t/processing-imu-data/47254/1 "2024-04-08T21:07:08Z")

</div>

I’m working with an IMU for the first time and was wondering if anyone already had code to take the data from an IMU and convert it into real time position. I’m using the ISM33 6dof micro imu and the arduino IDE. I’ve taped the imu into a box and found a constant z value when the z is experiencing gravity, but I’m not sure what to do next. Any help is appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![jremington](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/jremington/32/6595_2.png) [@jremington](https://community.sparkfun.com/u/jremington)\
**Post date:** [April 9, 2024, 2:24pm UTC](https://community.sparkfun.com/t/processing-imu-data/47254/2 "2024-04-09T14:24:54Z")

</div>

Consumer grade IMUs are fine for estimating 3D orientation, but It is not possible to use them for estimating velocity or position (dead reckoning) for more than a few seconds at a time. They are too noisy and inaccurate.

As discussed in this article, accurately subtracting the acceleration due to gravity is one of the most serious problems: [https://web.archive.org/web/20180112063 … n-velocity](https://web.archive.org/web/20180112063505/http://www.chrobotics.com/library/accel-position-velocity)
