I just tested an HMC6352 digital compass and got some inconsistent results. Although some where a result of tilt (I really should get the title compensation version), I realized most came from a nearby magnet on my desk. If a simple magnet about 30cm from the compass can affect it, what are the effects of electric motors on the compass?
::Pulls out ruler...:: about a 1 food away...
I've never come across that problem before, but it has to be common. You may want to place the sensor directly between 2 motors. Old steel ships used to have two large metal balls on each side of the main compass in order to counteract the magnetic force of the bow and aft of the ship.
Heh, your : P turned into a smiley.
Thanks for the advice, I'll do my best to center it, but I've read that the chip somehow manages to filter out magnetic noise that remains constant on its own... Hopefully it does...
two large metal balls
And my instinct to laugh crudely kicks in.