Arduino Mega + CMPS10 compass

It is pretty essential to have a tilt compensated compass module on a boat that heels. The CMPS10 compass is an early example which met this requirement. Later versions, the CMPS11, CMPS12 and CMPS14) dropped the PWM model. Also noticed the module requires 3.6v (>3.3v) input. I believe it does not have a gyroscope.

Connections

Description Colour Arduino Mega CMPS10 compass
Power 3v Orange 5v 3.6v - 5v
Ground Black GND GND
i2c Data White 20 Second from top
i2c Clock Blue 21 Third from top

Video

Please click thumbnail image to start the video

Video on Arduino Mega + CMPS10 compass    I2C.png    volts50.png

Photo

Arduino Mega + CMPS10 compass
Arduino Mega + CMPS10 compass
Arduino Mega + CMPS10 compass
Arduino Mega + CMPS10 compass
Arduino Mega + CMPS10 compass

Sketch