Hi I am working on a project that requires that the direction of the compass to be tilt compensated for accuracy. When I bought the compass I also bought a accelerometer/gyro (6 DOF) to be able to do this.
But till now I have no success. I was able to calculate the direction with the compass alone.
Could the problem be that the two devices are not compatible and I should buy one of those 9 DOF modules which comes all included?
To implement a tilt-compensated compass, all you need is a compass and an accelerometer. However, they must be solidly linked, either in the same package or on the same PCB, and you have to know the orientation of all the axes.