My team and I have just fired a CanSat and are a bit confused about the data we got from our magnetometer(Mag_data.png). We would assume that it should be constant.
We used the 9 Degrees of Freedom sensor: https://www.sparkfun.com/products/12636
From the sensor we got 3 values, x, y, and z. We used these equations to calculate the raw data to Gauss.
Magnetic Flux Density = sqrt(MagX2 + MagY2 + MagZ2)
Here are some raw sample data:
MagX MagY MagZ
1,100192267 0,993682669 -0,37018952
1,082125309 0,993133335 -0,372142705
1,066866054 0,994903409 -0,371532334
1,047517319 0,995818964 -0,373912778
Could this be caused by noise from the other components, or are we missing something crucial