How To Properly Set Up A MPU-9250

By robojustin , 23 October 2017

Good afternoon!

I have been reviewing many setups in Arduino for the 9250. I have yet to find a guide on how to properly set up the 9250, including biasing properly to get accurate readings.

As I am new to using an accelerometer, I believe it is necessary to understand exactly how to do this. If anyone knows of a tutorial, guide, or information directly related to the concept of setting up the 9250 up, I would greatly appreciate it.

This is all needed for a project that requires measuring the distance of an item moving first, linearly (vertically). The second portion of the project is to measure circular movement, IE... the combination of X & Y acceleration.

My understanding from the data sheet is that X and Y should produce 0g at rest and Z should produce +1g. The current code I use produces different values. Also, I am seeing mostly negative G. I thought it would have positive and negative acceleration in the why direction, IE... from top to bottom would produce -G due to gravity. If that was not the case I should see positive or negative acceleration constantly, but acceleration should should 0 out at some point when the item changes direction.

Is this a sampling speed error? I know there are a lot of questions here, but looking to get some answers so I can get my head around it.

Thanks everyone!

phpbb Topic ID
36547