I have been making some progress with using this module, which has given me problems in the past. The key thing is to make sure that you run the calibration routine for the Arduino regularly. (Not getting the full 0 to 360 degrees is a sure sign of this.)
I have installed the LSM303 with its own Arduino and 16x2 LCD screen in a "water tight" box:

The watertight box is something of an overkill but it was good 3D printer practise! (It still needs an epoxy resin coating for water-tightness.)
The compass reading goes as an i2c interface to the telemetry (also gives depth and battery voltage) Arduino via a 1m cable. (Still getting some transmission problems with this. Garbage appears on the screen after a few seconds.)
David
I have installed the LSM303 with its own Arduino and 16x2 LCD screen in a "water tight" box:

The watertight box is something of an overkill but it was good 3D printer practise! (It still needs an epoxy resin coating for water-tightness.)
The compass reading goes as an i2c interface to the telemetry (also gives depth and battery voltage) Arduino via a 1m cable. (Still getting some transmission problems with this. Garbage appears on the screen after a few seconds.)
David
» Has Anyone Made a USN DSRV or Japanese One
» What PROGRAM (S) do YOU use/How You use it/What can be don with him
» LEVEL CONTROLLER DIY
» Outstanding. Well built 1/350 scale submarine.
» HMS Resolution bellows type ballast system
» U Class British - ORP Dzik ( built in Barrow)
» 1/150 Academy Type IX B RC Conversion
» I am on the Hunt.