camerart
Well-Known Member
Hi P, J and V,
In #13 J said " In #11, The Y values seems to be faulty, if the compass was in the same position between the readings. " As I wasn't sure, so I re-tried, making sure it stayed in the same posisiton.
V, The compass AK8963C puts out 3x2 BYTEs which combine into WORDs, to give the 3-Axis X,Y,Z, needed for 3D operation.
I've just been playing with the Compass and it's READouts. I think the 3xAxis are as shown here:
whe one of the axis is vertical, then it's value doesn't change much, a bit like aiming an iron compass vertically=useless. When an axis is aiming North, then this is when it outputs, stronger value changes, and at right angles to North, then poor values.
Leter in the program, there is a section, that I need reminding about, explaining Octants. These calculations, use the strongest orientation READouts, of each axis.
C
In #13 J said " In #11, The Y values seems to be faulty, if the compass was in the same position between the readings. " As I wasn't sure, so I re-tried, making sure it stayed in the same posisiton.
V, The compass AK8963C puts out 3x2 BYTEs which combine into WORDs, to give the 3-Axis X,Y,Z, needed for 3D operation.
I've just been playing with the Compass and it's READouts. I think the 3xAxis are as shown here:
whe one of the axis is vertical, then it's value doesn't change much, a bit like aiming an iron compass vertically=useless. When an axis is aiming North, then this is when it outputs, stronger value changes, and at right angles to North, then poor values.
Leter in the program, there is a section, that I need reminding about, explaining Octants. These calculations, use the strongest orientation READouts, of each axis.
C