SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By nturpin77
#116684
Good Day All

I am interfacing my SFE 5DOF to an Arduino Uno, this much I can do no problem. The problem I am running into is that SFE website states that the unit outputs Pitch Roll but the numbers I am getting dont indicate a valid Pitch Roll. What I need is an angular degree of pitch and roll based on a zero plane. Im guessing that the unit is outputting a gyro rate of turn and not really pitch and roll. Ive been reading around and cant seem to get a clear answer on where to go next.

Any help would be appreciated.
By waltr
#116693
Did you read the "Accelerometer and Gyro Buying Guide"?
The Gyro outputs the Pitch and Roll Rates. These need to be integrated and combined with the accelerometer data the obtain the Pitch and Roll Angle which is what I think you want.

Search the forum for "Kalman filter".